#5F3FD8#5F3FD8
#5F3FD8 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.219 H 284.9°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #5F3FD8 |
|---|---|
| RGB | rgb(95, 63, 216) |
| HSL | hsl(253, 66%, 55%) |
| HSV | hsv(253, 71%, 85%) |
| CMYK | cmyk(56%, 70.8%, 0%, 15.3%) |
| CIE-LAB | lab(39.49, 52.61, -73.65) |
| CIE-LCH | lch(39.49, 90.51, 305.54°) |
| OKLab | oklab(50.14% 0.0563 -0.212) |
| OKLCH | oklch(50.14% 0.219 284.9) |
| XYZ | xyz(18.8877, 10.9447, 66.0697) |
| Luminance | 0.1095 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.29
Purpley Blue
#5F34E7
ΔE00 2.51
Blurple
#5539CC
ΔE00 2.69
Burple
#6832E3
ΔE00 2.82
Purpleish Blue
#6140EF
ΔE00 3.01
Blue With A Hint Of Purple
#533CC6
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F3FD8 #B8D83F
analogous
#3F6CD8 #5F3FD8 #AC3FD8
triadic
#5F3FD8 #D85F3F #3FD85F
tetradic
#5F3FD8 #D83F6C #B8D83F #3FD8AC
square
#5F3FD8 #D83F6C #B8D83F #3FD8AC
split-complementary
#5F3FD8 #D8AC3F #6CD83F
monochromatic
#301A82 #4325B5 #5F3FD8 #8972E2 #B4A5ED
Accessibility & contrast
On white
6.58
#5F3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#5F3FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F3FD8
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F3FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F3FD8 | 1.00 | 6.58 | 3.19 | 6.58 |
| #FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061DD
Deuteranopia (green-blind)
#0058D5
Tritanopia (blue-blind)
#236887
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5f3fd8; /* rgb */ color: rgb(95, 63, 216); /* oklch */ color: oklch(50.1% 0.219 284.9);
Tailwind
colors: {
custom: {
50: '#9877e5',
500: '#5f3fd8',
950: '#000000',
},
}SCSS
$custom: #5f3fd8; $custom-light: #9877e5; $custom-dark: #000000;
JSON
{
"hex": "#5f3fd8",
"rgb": {
"r": 95,
"g": 63,
"b": 216
},
"hsl": {
"h": 252.549,
"s": 66.234,
"l": 54.706
},
"oklch": {
"l": 0.50135,
"c": 0.21934,
"h": 284.9
},
"luminance": 0.10946
}Semantic roles & 50–950 ramp
primary
#5F3FD8
secondary
#CCDA99
accent
#E93FC5
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84