#5C3ED6#5C3ED6
#5C3ED6 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.218 H 284.1°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5C3ED6 |
|---|---|
| RGB | rgb(92, 62, 214) |
| HSL | hsl(252, 65%, 54%) |
| HSV | hsv(252, 71%, 84%) |
| CMYK | cmyk(57%, 71%, 0%, 16.1%) |
| CIE-LAB | lab(38.85, 52.12, -73.55) |
| CIE-LCH | lch(38.85, 90.15, 305.32°) |
| OKLab | oklab(49.57% 0.0533 -0.2118) |
| OKLCH | oklch(49.57% 0.218 284.1) |
| XYZ | xyz(18.2701, 10.5745, 64.6836) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 2.13
Bluey Purple
#6241C7
ΔE00 2.20
Purpley Blue
#5F34E7
ΔE00 2.60
Blue With A Hint Of Purple
#533CC6
ΔE00 2.62
Burple
#6832E3
ΔE00 2.99
Purpleish Blue
#6140EF
ΔE00 3.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C3ED6 #B8D63E
analogous
#3E6CD6 #5C3ED6 #A83ED6
triadic
#5C3ED6 #D65C3E #3ED65C
tetradic
#5C3ED6 #D63E6C #B8D63E #3ED6A8
square
#5C3ED6 #D63E6C #B8D63E #3ED6A8
split-complementary
#5C3ED6 #D6A83E #6CD63E
monochromatic
#2F1B7F #4126B1 #5C3ED6 #8770E1 #B1A3EB
Accessibility & contrast
On white
6.74
#5C3ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#5C3ED6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5C3ED6
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C3ED6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C3ED6 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060DA
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#1A6786
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #5c3ed6; /* rgb */ color: rgb(92, 62, 214); /* oklch */ color: oklch(49.6% 0.218 284.1);
Tailwind
colors: {
custom: {
50: '#9776e4',
500: '#5c3ed6',
950: '#000000',
},
}SCSS
$custom: #5c3ed6; $custom-light: #9776e4; $custom-dark: #000000;
JSON
{
"hex": "#5c3ed6",
"rgb": {
"r": 92,
"g": 62,
"b": 214
},
"hsl": {
"h": 251.842,
"s": 64.957,
"l": 54.118
},
"oklch": {
"l": 0.49566,
"c": 0.21839,
"h": 284.1
},
"luminance": 0.10576
}Semantic roles & 50–950 ramp
primary
#5C3ED6
secondary
#CBD898
accent
#E840C7
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84