#5A4DCE#5A4DCE
#5A4DCE is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.192 H 281.7°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4DCE |
|---|---|
| RGB | rgb(90, 77, 206) |
| HSL | hsl(246, 57%, 55%) |
| HSV | hsv(246, 63%, 81%) |
| CMYK | cmyk(56.3%, 62.6%, 0%, 19.2%) |
| CIE-LAB | lab(41.12, 40.99, -65.25) |
| CIE-LCH | lch(41.12, 77.06, 302.13°) |
| OKLab | oklab(50.95% 0.0389 -0.1875) |
| OKLCH | oklch(50.95% 0.192 281.7) |
| XYZ | xyz(18.0074, 11.9365, 59.7356) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.64
Bluey Purple
#6241C7
ΔE00 3.71
Warm Blue
#4B57DB
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.40
Blue With A Hint Of Purple
#533CC6
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4DCE #C1CE4D
analogous
#4D80CE #5A4DCE #9B4DCE
triadic
#5A4DCE #CE5A4D #4DCE5A
tetradic
#5A4DCE #CE4D80 #C1CE4D #4DCE9B
square
#5A4DCE #CE4D80 #C1CE4D #4DCE9B
split-complementary
#5A4DCE #CE9B4D #80CE4D
monochromatic
#2C237E #3D30AE #5A4DCE #867DDB #B3ADE8
Accessibility & contrast
On white
6.20
#5A4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5A4DCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4DCE
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4DCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4DCE | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#1D6D86
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5a4dce; /* rgb */ color: rgb(90, 77, 206); /* oklch */ color: oklch(50.9% 0.192 281.7);
Tailwind
colors: {
custom: {
50: '#937fde',
500: '#5a4dce',
950: '#000000',
},
}SCSS
$custom: #5a4dce; $custom-light: #937fde; $custom-dark: #000000;
JSON
{
"hex": "#5a4dce",
"rgb": {
"r": 90,
"g": 77,
"b": 206
},
"hsl": {
"h": 246.047,
"s": 56.828,
"l": 55.49
},
"oklch": {
"l": 0.50949,
"c": 0.1915,
"h": 281.7
},
"luminance": 0.11938
}Semantic roles & 50–950 ramp
primary
#5A4DCE
secondary
#D1D6A1
accent
#E048D1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83