#5733C9#5733C9
#5733C9 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.5% C 0.215 H 285.5°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5733C9 |
|---|---|
| RGB | rgb(87, 51, 201) |
| HSL | hsl(254, 60%, 49%) |
| HSV | hsv(254, 75%, 79%) |
| CMYK | cmyk(56.7%, 74.6%, 0%, 21.2%) |
| CIE-LAB | lab(35.22, 53.29, -72.01) |
| CIE-LCH | lch(35.22, 89.58, 306.50°) |
| OKLab | oklab(46.53% 0.0574 -0.2073) |
| OKLCH | oklch(46.53% 0.215 285.5) |
| XYZ | xyz(15.6537, 8.6100, 56.0841) |
| Luminance | 0.0861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.42
Blue With A Hint Of Purple
#533CC6
ΔE00 2.09
Purple Blue
#5D21D0
ΔE00 2.96
Bluey Purple
#6241C7
ΔE00 3.50
Purpley Blue
#5F34E7
ΔE00 4.12
Burple
#6832E3
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5733C9 #A5C933
analogous
#335AC9 #5733C9 #A233C9
triadic
#5733C9 #C95733 #33C957
tetradic
#5733C9 #C9335A #A5C933 #33C9A2
square
#5733C9 #C9335A #A5C933 #33C9A2
split-complementary
#5733C9 #C9A233 #5AC933
monochromatic
#2D1A67 #422798 #5733C9 #7E62D7 #A693E4
Accessibility & contrast
On white
7.71
#5733C9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.72
#5733C9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5733C9
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5733C9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5733C9 | 1.00 | 7.71 | 2.72 | 7.71 |
| #FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057CD
Deuteranopia (green-blind)
#004EC6
Tritanopia (blue-blind)
#1E5D7C
Achromatopsia (no color)
#535353
Design tokens & code
CSS
--color: #5733c9; /* rgb */ color: rgb(87, 51, 201); /* oklch */ color: oklch(46.5% 0.215 285.5);
Tailwind
colors: {
custom: {
50: '#936fdb',
500: '#5733c9',
950: '#000000',
},
}SCSS
$custom: #5733c9; $custom-light: #936fdb; $custom-dark: #000000;
JSON
{
"hex": "#5733c9",
"rgb": {
"r": 87,
"g": 51,
"b": 201
},
"hsl": {
"h": 254.4,
"s": 59.524,
"l": 49.412
},
"oklch": {
"l": 0.46527,
"c": 0.21513,
"h": 285.5
},
"luminance": 0.08611
}Semantic roles & 50–950 ramp
primary
#5733C9
secondary
#BECF89
accent
#E345BD
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0815
muted
#7E7B83