#5D3FD9#5D3FD9
#5D3FD9 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.1% C 0.221 H 284.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3FD9 |
|---|---|
| RGB | rgb(93, 63, 217) |
| HSL | hsl(252, 67%, 55%) |
| HSV | hsv(252, 71%, 85%) |
| CMYK | cmyk(57.1%, 71%, 0%, 14.9%) |
| CIE-LAB | lab(39.40, 52.61, -74.38) |
| CIE-LCH | lch(39.40, 91.11, 305.27°) |
| OKLab | oklab(50.05% 0.0533 -0.2142) |
| OKLCH | oklch(50.05% 0.221 284) |
| XYZ | xyz(18.8123, 10.8907, 66.7430) |
| Luminance | 0.1089 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley Blue
#5F34E7
ΔE00 2.47
Bluey Purple
#6241C7
ΔE00 2.48
Blurple
#5539CC
ΔE00 2.64
Burple
#6832E3
ΔE00 2.91
Purpleish Blue
#6140EF
ΔE00 2.95
Blue With A Hint Of Purple
#533CC6
ΔE00 3.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3FD9 #BBD93F
analogous
#3F6ED9 #5D3FD9 #AA3FD9
triadic
#5D3FD9 #D95D3F #3FD95D
tetradic
#5D3FD9 #D93F6E #BBD93F #3FD9AA
square
#5D3FD9 #D93F6E #BBD93F #3FD9AA
split-complementary
#5D3FD9 #D9AA3F #6ED93F
monochromatic
#2F1A84 #4124B7 #5D3FD9 #8872E3 #B3A5ED
Accessibility & contrast
On white
6.61
#5D3FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#5D3FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D3FD9
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3FD9 | 1.00 | 6.61 | 3.18 | 6.61 |
| #FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061DE
Deuteranopia (green-blind)
#0058D6
Tritanopia (blue-blind)
#196988
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5d3fd9; /* rgb */ color: rgb(93, 63, 217); /* oklch */ color: oklch(50.1% 0.221 284.0);
Tailwind
colors: {
custom: {
50: '#9877e6',
500: '#5d3fd9',
950: '#000000',
},
}SCSS
$custom: #5d3fd9; $custom-light: #9877e6; $custom-dark: #000000;
JSON
{
"hex": "#5d3fd9",
"rgb": {
"r": 93,
"g": 63,
"b": 217
},
"hsl": {
"h": 251.688,
"s": 66.957,
"l": 54.902
},
"oklch": {
"l": 0.50054,
"c": 0.22073,
"h": 284
},
"luminance": 0.10892
}Semantic roles & 50–950 ramp
primary
#5D3FD9
secondary
#CEDA9A
accent
#EA3EC8
background
#FAF7FE
surface
#F3EDFD
border
#CDC8D5
text
#0F0916
muted
#7F7B84