#5936C3#5936C3
#5936C3 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.5% C 0.205 H 286.8°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5936C3 |
|---|---|
| RGB | rgb(89, 54, 195) |
| HSL | hsl(255, 57%, 49%) |
| HSV | hsv(255, 72%, 76%) |
| CMYK | cmyk(54.4%, 72.3%, 0%, 23.5%) |
| CIE-LAB | lab(35.40, 50.35, -68.20) |
| CIE-LCH | lch(35.40, 84.77, 306.44°) |
| OKLab | oklab(46.53% 0.0594 -0.1961) |
| OKLCH | oklch(46.53% 0.205 286.8) |
| XYZ | xyz(15.2864, 8.7015, 52.4933) |
| Luminance | 0.0870 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.55
Blue With A Hint Of Purple
#533CC6
ΔE00 1.75
Bluey Purple
#6241C7
ΔE00 2.96
Purple Blue
#5D21D0
ΔE00 3.66
Ocean Blue
#4F42B5
ΔE00 3.97
Burple
#6832E3
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5936C3 #A0C336
analogous
#3659C3 #5936C3 #A036C3
triadic
#5936C3 #C35936 #36C359
tetradic
#5936C3 #C33659 #A0C336 #36C3A0
square
#5936C3 #C33659 #A0C336 #36C3A0
split-complementary
#5936C3 #C3A036 #59C336
monochromatic
#2D1B63 #432993 #5936C3 #7F63D4 #A692E1
Accessibility & contrast
On white
7.66
#5936C3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.74
#5936C3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5936C3
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5936C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5936C3 | 1.00 | 7.66 | 2.74 | 7.66 |
| #FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C7
Deuteranopia (green-blind)
#004FC0
Tritanopia (blue-blind)
#2C5C79
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5936c3; /* rgb */ color: rgb(89, 54, 195); /* oklch */ color: oklch(46.5% 0.205 286.8);
Tailwind
colors: {
custom: {
50: '#9370d6',
500: '#5936c3',
950: '#000000',
},
}SCSS
$custom: #5936c3; $custom-light: #9370d6; $custom-dark: #000000;
JSON
{
"hex": "#5936c3",
"rgb": {
"r": 89,
"g": 54,
"b": 195
},
"hsl": {
"h": 254.894,
"s": 56.627,
"l": 48.824
},
"oklch": {
"l": 0.46534,
"c": 0.20494,
"h": 286.8
},
"luminance": 0.08702
}Semantic roles & 50–950 ramp
primary
#5936C3
secondary
#BBCC89
accent
#E048BA
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83