#B542CD Hex Code
Magenta Color Codes
#B542CD
Click to copy
Color Information
Name:Magenta
Luminance:0.181
Web Safe:No
Background Preview
Sample Text
#B542CD as text color
This shows how the color appears on different backgrounds
Color Formats
HEX
#B542CD
Hexadecimal color code
RGB
rgb(181, 66, 205)
Red, Green, Blue values (0-255)
HSL
hsl(290, 58%, 53%)
Hue, Saturation, Lightness
HSV
hsv(290, 68%, 80%)
Hue, Saturation, Value
CMYK
cmyk(12%, 68%, 0%, 20%)
Cyan, Magenta, Yellow, Key (Black)
LAB
lab(49.65, 64.94, -50.38)
Lightness, A (green-red), B (blue-yellow)
Accessibility Information
Contrast Ratios
White BackgroundAA
Aa
Ratio: 4.54:175/100
Black BackgroundAA
Aa
Ratio: 4.63:175/100
Gray Backgroundfail
Aa
Ratio: 1.15:119/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