#5732C6#5732C6
#5732C6 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.1% C 0.213 H 286.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #5732C6 |
|---|---|
| RGB | rgb(87, 50, 198) |
| HSL | hsl(255, 60%, 49%) |
| HSV | hsv(255, 75%, 78%) |
| CMYK | cmyk(56.1%, 74.7%, 0%, 22.4%) |
| CIE-LAB | lab(34.77, 52.93, -71.00) |
| CIE-LCH | lch(34.77, 88.56, 306.70°) |
| OKLab | oklab(46.12% 0.0588 -0.2044) |
| OKLCH | oklch(46.12% 0.213 286.1) |
| XYZ | xyz(15.2611, 8.3838, 54.2292) |
| Luminance | 0.0838 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.81
Blue With A Hint Of Purple
#533CC6
ΔE00 2.31
Purple Blue
#5D21D0
ΔE00 2.86
Bluey Purple
#6241C7
ΔE00 3.74
Purpley Blue
#5F34E7
ΔE00 4.55
Burple
#6832E3
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5732C6 #A1C632
analogous
#3257C6 #5732C6 #A132C6
triadic
#5732C6 #C65732 #32C657
tetradic
#5732C6 #C63257 #A1C632 #32C6A1
square
#5732C6 #C63257 #A1C632 #32C6A1
split-complementary
#5732C6 #C6A132 #57C632
monochromatic
#2C1964 #422695 #5732C6 #7D5FD7 #A490E3
Accessibility & contrast
On white
7.84
#5732C6 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.68
#5732C6 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5732C6
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5732C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5732C6 | 1.00 | 7.84 | 2.68 | 7.84 |
| #FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#004DC3
Tritanopia (blue-blind)
#225B7A
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5732c6; /* rgb */ color: rgb(87, 50, 198); /* oklch */ color: oklch(46.1% 0.213 286.1);
Tailwind
colors: {
custom: {
50: '#926ed9',
500: '#5732c6',
950: '#000000',
},
}SCSS
$custom: #5732c6; $custom-light: #926ed9; $custom-dark: #000000;
JSON
{
"hex": "#5732c6",
"rgb": {
"r": 87,
"g": 50,
"b": 198
},
"hsl": {
"h": 255,
"s": 59.677,
"l": 48.627
},
"oklch": {
"l": 0.46124,
"c": 0.21269,
"h": 286.1
},
"luminance": 0.08385
}Semantic roles & 50–950 ramp
primary
#5732C6
secondary
#BCCD86
accent
#E345BB
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83