#5F3FD3#5F3FD3
#5F3FD3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.7% C 0.213 H 285.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3FD3 |
|---|---|
| RGB | rgb(95, 63, 211) |
| HSL | hsl(253, 63%, 54%) |
| HSV | hsv(253, 70%, 83%) |
| CMYK | cmyk(55%, 70.1%, 0%, 17.3%) |
| CIE-LAB | lab(39.05, 51.16, -71.49) |
| CIE-LCH | lch(39.05, 87.91, 305.59°) |
| OKLab | oklab(49.69% 0.0573 -0.2056) |
| OKLCH | oklch(49.69% 0.213 285.6) |
| XYZ | xyz(18.2511, 10.6900, 62.7171) |
| Luminance | 0.1069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.69
Blurple
#5539CC
ΔE00 2.28
Blue With A Hint Of Purple
#533CC6
ΔE00 2.65
Purpley Blue
#5F34E7
ΔE00 2.94
Burple
#6832E3
ΔE00 3.12
Bluish Purple
#703BE7
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3FD3 #B3D33F
analogous
#3F69D3 #5F3FD3 #A93FD3
triadic
#5F3FD3 #D35F3F #3FD35F
tetradic
#5F3FD3 #D33F69 #B3D33F #3FD3A9
square
#5F3FD3 #D33F69 #B3D33F #3FD3A9
split-complementary
#5F3FD3 #D3A93F #69D33F
monochromatic
#311C7B #4528AD #5F3FD3 #8871DE #B2A3EA
Accessibility & contrast
On white
6.69
#5F3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#5F3FD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3FD3
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3FD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3FD3 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0057D0
Tritanopia (blue-blind)
#2A6685
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5f3fd3; /* rgb */ color: rgb(95, 63, 211); /* oklch */ color: oklch(49.7% 0.213 285.6);
Tailwind
colors: {
custom: {
50: '#9877e2',
500: '#5f3fd3',
950: '#000000',
},
}SCSS
$custom: #5f3fd3; $custom-light: #9877e2; $custom-dark: #000000;
JSON
{
"hex": "#5f3fd3",
"rgb": {
"r": 95,
"g": 63,
"b": 211
},
"hsl": {
"h": 252.973,
"s": 62.712,
"l": 53.725
},
"oklch": {
"l": 0.49694,
"c": 0.21346,
"h": 285.6
},
"luminance": 0.10691
}Semantic roles & 50–950 ramp
primary
#5F3FD3
secondary
#C9D797
accent
#E642C2
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0915
muted
#7F7B84