#5D3FC2#5D3FC2
#5D3FC2 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.193 H 287.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3FC2 |
|---|---|
| RGB | rgb(93, 63, 194) |
| HSL | hsl(254, 52%, 50%) |
| HSV | hsv(254, 68%, 76%) |
| CMYK | cmyk(52.1%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(37.44, 45.89, -64.27) |
| CIE-LCH | lch(37.44, 78.97, 305.53°) |
| OKLab | oklab(48.05% 0.0574 -0.1845) |
| OKLCH | oklch(48.05% 0.193 287.3) |
| XYZ | xyz(16.0264, 9.7764, 52.0711) |
| Luminance | 0.0978 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.17
Blue With A Hint Of Purple
#533CC6
ΔE00 1.71
Blurple
#5539CC
ΔE00 2.14
Ocean Blue
#4F42B5
ΔE00 3.07
Burple
#6832E3
ΔE00 4.88
Purpley Blue
#5F34E7
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3FC2 #A4C23F
analogous
#3F63C2 #5D3FC2 #9E3FC2
triadic
#5D3FC2 #C25D3F #3FC25D
tetradic
#5D3FC2 #C23F63 #A4C23F #3FC29E
square
#5D3FC2 #C23F63 #A4C23F #3FC29E
split-complementary
#5D3FC2 #C29E3F #63C23F
monochromatic
#302066 #462F95 #5D3FC2 #846DD1 #AB9CE0
Accessibility & contrast
On white
7.11
#5D3FC2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#5D3FC2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D3FC2
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3FC2 | 1.00 | 7.11 | 2.96 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#0054BF
Tritanopia (blue-blind)
#36607B
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5d3fc2; /* rgb */ color: rgb(93, 63, 194); /* oklch */ color: oklch(48.1% 0.193 287.3);
Tailwind
colors: {
custom: {
50: '#9476d5',
500: '#5d3fc2',
950: '#000000',
},
}SCSS
$custom: #5d3fc2; $custom-light: #9476d5; $custom-dark: #000000;
JSON
{
"hex": "#5d3fc2",
"rgb": {
"r": 93,
"g": 63,
"b": 194
},
"hsl": {
"h": 253.74,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.48052,
"c": 0.19323,
"h": 287.3
},
"luminance": 0.09777
}Semantic roles & 50–950 ramp
primary
#5D3FC2
secondary
#BECC91
accent
#DB4DBB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83