#5A3FC3#5A3FC3
#5A3FC3 is a mid, vivid violet. Relative luminance 0.097; OKLCH L 47.9% C 0.195 H 285.8°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5A3FC3 |
|---|---|
| RGB | rgb(90, 63, 195) |
| HSL | hsl(252, 52%, 51%) |
| HSV | hsv(252, 68%, 76%) |
| CMYK | cmyk(53.8%, 67.7%, 0%, 23.5%) |
| CIE-LAB | lab(37.24, 45.68, -65.19) |
| CIE-LCH | lch(37.24, 79.60, 305.02°) |
| OKLab | oklab(47.87% 0.0531 -0.1873) |
| OKLCH | oklch(47.87% 0.195 285.8) |
| XYZ | xyz(15.8413, 9.6679, 52.6506) |
| Luminance | 0.0967 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.27
Bluey Purple
#6241C7
ΔE00 1.46
Blurple
#5539CC
ΔE00 1.86
Ocean Blue
#4F42B5
ΔE00 2.82
Purpley Blue
#5F34E7
ΔE00 4.85
Burple
#6832E3
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A3FC3 #A8C33F
analogous
#3F66C3 #5A3FC3 #9C3FC3
triadic
#5A3FC3 #C35A3F #3FC35A
tetradic
#5A3FC3 #C33F66 #A8C33F #3FC39C
square
#5A3FC3 #C33F66 #A8C33F #3FC39C
split-complementary
#5A3FC3 #C39C3F #66C33F
monochromatic
#2F2067 #442F96 #5A3FC3 #826ED2 #AA9CE0
Accessibility & contrast
On white
7.16
#5A3FC3 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.93
#5A3FC3 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A3FC3
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A3FC3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A3FC3 | 1.00 | 7.16 | 2.93 | 7.16 |
| #FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0054C0
Tritanopia (blue-blind)
#2E617C
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #5a3fc3; /* rgb */ color: rgb(90, 63, 195); /* oklch */ color: oklch(47.9% 0.195 285.8);
Tailwind
colors: {
custom: {
50: '#9376d6',
500: '#5a3fc3',
950: '#000000',
},
}SCSS
$custom: #5a3fc3; $custom-light: #9376d6; $custom-dark: #000000;
JSON
{
"hex": "#5a3fc3",
"rgb": {
"r": 90,
"g": 63,
"b": 195
},
"hsl": {
"h": 252.273,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.47868,
"c": 0.19469,
"h": 285.8
},
"luminance": 0.09669
}Semantic roles & 50–950 ramp
primary
#5A3FC3
secondary
#C0CC92
accent
#DC4CBE
background
#F9F7FD
surface
#F2EDFA
border
#CCC8D3
text
#0E0914
muted
#7E7B83