#5736CD#5736CD
#5736CD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.3% C 0.217 H 284.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5736CD |
|---|---|
| RGB | rgb(87, 54, 205) |
| HSL | hsl(253, 60%, 51%) |
| HSV | hsv(253, 74%, 80%) |
| CMYK | cmyk(57.6%, 73.7%, 0%, 19.6%) |
| CIE-LAB | lab(36.12, 52.94, -72.86) |
| CIE-LCH | lch(36.12, 90.06, 306.00°) |
| OKLab | oklab(47.27% 0.0542 -0.2098) |
| OKLCH | oklch(47.27% 0.217 284.5) |
| XYZ | xyz(16.2657, 9.0713, 58.6396) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 0.71
Blue With A Hint Of Purple
#533CC6
ΔE00 1.67
Bluey Purple
#6241C7
ΔE00 2.98
Purpley Blue
#5F34E7
ΔE00 3.49
Purple Blue
#5D21D0
ΔE00 3.52
Burple
#6832E3
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5736CD #ACCD36
analogous
#3660CD #5736CD #A336CD
triadic
#5736CD #CD5736 #36CD57
tetradic
#5736CD #CD3660 #ACCD36 #36CDA3
square
#5736CD #CD3660 #ACCD36 #36CDA3
split-complementary
#5736CD #CDA336 #60CD36
monochromatic
#2D1B6D #41279E #5736CD #8067D9 #A998E5
Accessibility & contrast
On white
7.46
#5736CD on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#5736CD on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5736CD
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5736CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5736CD | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059D1
Deuteranopia (green-blind)
#0050CA
Tritanopia (blue-blind)
#15607F
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #5736cd; /* rgb */ color: rgb(87, 54, 205); /* oklch */ color: oklch(47.3% 0.217 284.5);
Tailwind
colors: {
custom: {
50: '#9371dd',
500: '#5736cd',
950: '#000000',
},
}SCSS
$custom: #5736cd; $custom-light: #9371dd; $custom-dark: #000000;
JSON
{
"hex": "#5736cd",
"rgb": {
"r": 87,
"g": 54,
"b": 205
},
"hsl": {
"h": 253.113,
"s": 60.159,
"l": 50.784
},
"oklch": {
"l": 0.47273,
"c": 0.21674,
"h": 284.5
},
"luminance": 0.09072
}Semantic roles & 50–950 ramp
primary
#5736CD
secondary
#C2D18E
accent
#E344C1
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83