#5D3FC3#5D3FC3
#5D3FC3 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.1% C 0.194 H 287.1°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #5D3FC3 |
|---|---|
| RGB | rgb(93, 63, 195) |
| HSL | hsl(254, 52%, 51%) |
| HSV | hsv(254, 68%, 76%) |
| CMYK | cmyk(52.3%, 67.7%, 0%, 23.5%) |
| CIE-LAB | lab(37.52, 46.18, -64.72) |
| CIE-LCH | lch(37.52, 79.51, 305.51°) |
| OKLab | oklab(48.14% 0.0572 -0.1858) |
| OKLCH | oklch(48.14% 0.194 287.1) |
| XYZ | xyz(16.1391, 9.8215, 52.6645) |
| Luminance | 0.0982 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.09
Blue With A Hint Of Purple
#533CC6
ΔE00 1.67
Blurple
#5539CC
ΔE00 2.07
Ocean Blue
#4F42B5
ΔE00 3.15
Burple
#6832E3
ΔE00 4.76
Purpley Blue
#5F34E7
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D3FC3 #A5C33F
analogous
#3F63C3 #5D3FC3 #9F3FC3
triadic
#5D3FC3 #C35D3F #3FC35D
tetradic
#5D3FC3 #C33F63 #A5C33F #3FC39F
square
#5D3FC3 #C33F63 #A5C33F #3FC39F
split-complementary
#5D3FC3 #C39F3F #63C33F
monochromatic
#302067 #462F96 #5D3FC3 #846ED2 #AC9CE0
Accessibility & contrast
On white
7.08
#5D3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#5D3FC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5D3FC3
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D3FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D3FC3 | 1.00 | 7.08 | 2.96 | 7.08 |
| #FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0055C0
Tritanopia (blue-blind)
#35607C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5d3fc3; /* rgb */ color: rgb(93, 63, 195); /* oklch */ color: oklch(48.1% 0.194 287.1);
Tailwind
colors: {
custom: {
50: '#9476d6',
500: '#5d3fc3',
950: '#000000',
},
}SCSS
$custom: #5d3fc3; $custom-light: #9476d6; $custom-dark: #000000;
JSON
{
"hex": "#5d3fc3",
"rgb": {
"r": 93,
"g": 63,
"b": 195
},
"hsl": {
"h": 253.636,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.48137,
"c": 0.19445,
"h": 287.1
},
"luminance": 0.09822
}Semantic roles & 50–950 ramp
primary
#5D3FC3
secondary
#BFCC92
accent
#DC4CBB
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83