#5A3CC8#5A3CC8
#5A3CC8 is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 47.9% C 0.204 H 285.6°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A3CC8 |
|---|---|
| RGB | rgb(90, 60, 200) |
| HSL | hsl(253, 56%, 51%) |
| HSV | hsv(253, 70%, 78%) |
| CMYK | cmyk(55%, 70%, 0%, 21.6%) |
| CIE-LAB | lab(37.07, 48.79, -68.38) |
| CIE-LCH | lch(37.07, 84.01, 305.51°) |
| OKLab | oklab(47.88% 0.0548 -0.1967) |
| OKLCH | oklch(47.88% 0.204 285.6) |
| XYZ | xyz(16.2545, 9.5746, 55.6240) |
| Luminance | 0.0958 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.05
Blue With A Hint Of Purple
#533CC6
ΔE00 1.07
Bluey Purple
#6241C7
ΔE00 1.69
Ocean Blue
#4F42B5
ΔE00 3.57
Purpley Blue
#5F34E7
ΔE00 4.05
Burple
#6832E3
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A3CC8 #AAC83C
analogous
#3C64C8 #5A3CC8 #A03CC8
triadic
#5A3CC8 #C85A3C #3CC85A
tetradic
#5A3CC8 #C83C64 #AAC83C #3CC8A0
square
#5A3CC8 #C83C64 #AAC83C #3CC8A0
split-complementary
#5A3CC8 #C8A03C #64C83C
monochromatic
#2F1E6B #442C9B #5A3CC8 #826CD5 #AB9BE3
Accessibility & contrast
On white
7.20
#5A3CC8 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.92
#5A3CC8 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5A3CC8
7.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A3CC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A3CC8 | 1.00 | 7.20 | 2.92 | 7.20 |
| #FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#0053C5
Tritanopia (blue-blind)
#28617E
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #5a3cc8; /* rgb */ color: rgb(90, 60, 200); /* oklch */ color: oklch(47.9% 0.204 285.6);
Tailwind
colors: {
custom: {
50: '#9374da',
500: '#5a3cc8',
950: '#000000',
},
}SCSS
$custom: #5a3cc8; $custom-light: #9374da; $custom-dark: #000000;
JSON
{
"hex": "#5a3cc8",
"rgb": {
"r": 90,
"g": 60,
"b": 200
},
"hsl": {
"h": 252.857,
"s": 56,
"l": 50.98
},
"oklch": {
"l": 0.47875,
"c": 0.20419,
"h": 285.6
},
"luminance": 0.09576
}Semantic roles & 50–950 ramp
primary
#5A3CC8
secondary
#C2CF91
accent
#DF49BF
background
#F9F7FD
surface
#F2EDFB
border
#CCC8D4
text
#0E0815
muted
#7E7B83