#5F3FD2#5F3FD2
#5F3FD2 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.6% C 0.212 H 285.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3FD2 |
|---|---|
| RGB | rgb(95, 63, 210) |
| HSL | hsl(253, 62%, 54%) |
| HSV | hsv(253, 70%, 82%) |
| CMYK | cmyk(54.8%, 70%, 0%, 17.6%) |
| CIE-LAB | lab(38.97, 50.87, -71.05) |
| CIE-LCH | lch(38.97, 87.39, 305.60°) |
| OKLab | oklab(49.61% 0.0575 -0.2044) |
| OKLCH | oklch(49.61% 0.212 285.7) |
| XYZ | xyz(18.1262, 10.6400, 62.0589) |
| Luminance | 0.1064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.57
Blurple
#5539CC
ΔE00 2.21
Blue With A Hint Of Purple
#533CC6
ΔE00 2.56
Purpley Blue
#5F34E7
ΔE00 3.04
Burple
#6832E3
ΔE00 3.19
Bluish Purple
#703BE7
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3FD2 #B2D23F
analogous
#3F68D2 #5F3FD2 #A83FD2
triadic
#5F3FD2 #D25F3F #3FD25F
tetradic
#5F3FD2 #D23F68 #B2D23F #3FD2A8
square
#5F3FD2 #D23F68 #B2D23F #3FD2A8
split-complementary
#5F3FD2 #D2A83F #68D23F
monochromatic
#311D7A #4528AC #5F3FD2 #8871DE #B2A2E9
Accessibility & contrast
On white
6.71
#5F3FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#5F3FD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3FD2
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3FD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3FD2 | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0057CF
Tritanopia (blue-blind)
#2B6684
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5f3fd2; /* rgb */ color: rgb(95, 63, 210); /* oklch */ color: oklch(49.6% 0.212 285.7);
Tailwind
colors: {
custom: {
50: '#9877e1',
500: '#5f3fd2',
950: '#000000',
},
}SCSS
$custom: #5f3fd2; $custom-light: #9877e1; $custom-dark: #000000;
JSON
{
"hex": "#5f3fd2",
"rgb": {
"r": 95,
"g": 63,
"b": 210
},
"hsl": {
"h": 253.061,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.49606,
"c": 0.21228,
"h": 285.7
},
"luminance": 0.10641
}Semantic roles & 50–950 ramp
primary
#5F3FD2
secondary
#C8D697
accent
#E543C2
background
#FAF7FD
surface
#F3EDFB
border
#CDC8D4
text
#0F0915
muted
#7F7B83