#5D3FD6#5D3FD6
#5D3FD6 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 49.8% C 0.217 H 284.4°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3FD6 |
|---|---|
| RGB | rgb(93, 63, 214) |
| HSL | hsl(252, 65%, 54%) |
| HSV | hsv(252, 71%, 84%) |
| CMYK | cmyk(56.5%, 70.6%, 0%, 16.1%) |
| CIE-LAB | lab(39.13, 51.74, -73.09) |
| CIE-LCH | lch(39.13, 89.55, 305.29°) |
| OKLab | oklab(49.79% 0.0539 -0.2104) |
| OKLCH | oklch(49.79% 0.217 284.4) |
| XYZ | xyz(18.4256, 10.7361, 64.7066) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.13
Blurple
#5539CC
ΔE00 2.35
Purpley Blue
#5F34E7
ΔE00 2.70
Blue With A Hint Of Purple
#533CC6
ΔE00 2.77
Burple
#6832E3
ΔE00 3.06
Purpleish Blue
#6140EF
ΔE00 3.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3FD6 #B8D63F
analogous
#3F6CD6 #5D3FD6 #A93FD6
triadic
#5D3FD6 #D65D3F #3FD65D
tetradic
#5D3FD6 #D63F6C #B8D63F #3FD6A9
square
#5D3FD6 #D63F6C #B8D63F #3FD6A9
split-complementary
#5D3FD6 #D6A93F #6CD63F
monochromatic
#2F1B7F #4226B2 #5D3FD6 #8871E1 #B2A4EC
Accessibility & contrast
On white
6.67
#5D3FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#5D3FD6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D3FD6
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3FD6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3FD6 | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061DA
Deuteranopia (green-blind)
#0057D3
Tritanopia (blue-blind)
#1F6786
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #5d3fd6; /* rgb */ color: rgb(93, 63, 214); /* oklch */ color: oklch(49.8% 0.217 284.4);
Tailwind
colors: {
custom: {
50: '#9777e4',
500: '#5d3fd6',
950: '#000000',
},
}SCSS
$custom: #5d3fd6; $custom-light: #9777e4; $custom-dark: #000000;
JSON
{
"hex": "#5d3fd6",
"rgb": {
"r": 93,
"g": 63,
"b": 214
},
"hsl": {
"h": 251.921,
"s": 64.807,
"l": 54.314
},
"oklch": {
"l": 0.49786,
"c": 0.21721,
"h": 284.4
},
"luminance": 0.10737
}Semantic roles & 50–950 ramp
primary
#5D3FD6
secondary
#CCD898
accent
#E840C6
background
#FAF7FE
surface
#F3EDFC
border
#CDC8D5
text
#0F0916
muted
#7F7B84