#D56CEF Hex Code
Magenta Color Codes
#D56CEF
Click to copy
Color Information
Name:Magenta
Luminance:0.311
Web Safe:No
Background Preview
Sample Text
#D56CEF as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#D56CEF
Hexadecimal color code
RGB
rgb(213, 108, 239)
Red, Green, Blue values (0-255)
HSL
hsl(288, 80%, 68%)
Hue, Saturation, Lightness
HSV
hsv(288, 55%, 94%)
Hue, Saturation, Value
CMYK
cmyk(11%, 55%, 0%, 6%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(62.59, 60.46, -48.73)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White Backgroundfail
Aa
Ratio: 2.91:148/100
Black BackgroundAAA
Aa
Ratio: 7.22:1100/100
Gray Backgroundfail
Aa
Ratio: 1.36:123/100
WCAG Guidelines
AAAContrast ratio of 7:1 or higher (Enhanced)
AAContrast ratio of 4.5:1 or higher (Standard)
FAILContrast ratio below 4.5:1 (Not recommended)
Color Harmonies