#5E3FC6#5E3FC6
#5E3FC6 is a mid, vivid violet. Relative luminance 0.100; OKLCH L 48.5% C 0.198 H 287.1°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).
Color values
| HEX | #5E3FC6 |
|---|---|
| RGB | rgb(94, 63, 198) |
| HSL | hsl(254, 54%, 51%) |
| HSV | hsv(254, 68%, 78%) |
| CMYK | cmyk(52.5%, 68.2%, 0%, 22.4%) |
| CIE-LAB | lab(37.86, 47.23, -65.91) |
| CIE-LCH | lch(37.86, 81.08, 305.63°) |
| OKLab | oklab(48.48% 0.0581 -0.1893) |
| OKLCH | oklch(48.48% 0.198 287.1) |
| XYZ | xyz(16.5836, 10.0111, 54.4736) |
| Luminance | 0.1001 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 0.80
Blue With A Hint Of Purple
#533CC6
ΔE00 1.77
Blurple
#5539CC
ΔE00 1.97
Ocean Blue
#4F42B5
ΔE00 3.52
Burple
#6832E3
ΔE00 4.37
Purpley Blue
#5F34E7
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E3FC6 #A7C63F
analogous
#3F63C6 #5E3FC6 #A13FC6
triadic
#5E3FC6 #C65E3F #3FC65E
tetradic
#5E3FC6 #C63F63 #A7C63F #3FC6A1
square
#5E3FC6 #C63F63 #A7C63F #3FC6A1
split-complementary
#5E3FC6 #C6A13F #63C63F
monochromatic
#31206B #472E9A #5E3FC6 #866ED4 #AD9DE2
Accessibility & contrast
On white
6.99
#5E3FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.00
#5E3FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E3FC6
6.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E3FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E3FC6 | 1.00 | 6.99 | 3.00 | 6.99 |
| #FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CCA
Deuteranopia (green-blind)
#0055C3
Tritanopia (blue-blind)
#35627D
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #5e3fc6; /* rgb */ color: rgb(94, 63, 198); /* oklch */ color: oklch(48.5% 0.198 287.1);
Tailwind
colors: {
custom: {
50: '#9576d8',
500: '#5e3fc6',
950: '#000000',
},
}SCSS
$custom: #5e3fc6; $custom-light: #9576d8; $custom-dark: #000000;
JSON
{
"hex": "#5e3fc6",
"rgb": {
"r": 94,
"g": 63,
"b": 198
},
"hsl": {
"h": 253.778,
"s": 54.217,
"l": 51.176
},
"oklch": {
"l": 0.48482,
"c": 0.19803,
"h": 287.1
},
"luminance": 0.10012
}Semantic roles & 50–950 ramp
primary
#5E3FC6
secondary
#C1CE93
accent
#DE4ABC
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0915
muted
#7E7B83