#5A4CD9#5A4CD9
#5A4CD9 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.7% C 0.207 H 280.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4CD9 |
|---|---|
| RGB | rgb(90, 76, 217) |
| HSL | hsl(246, 65%, 57%) |
| HSV | hsv(246, 65%, 85%) |
| CMYK | cmyk(58.5%, 65%, 0%, 14.9%) |
| CIE-LAB | lab(41.77, 44.99, -70.51) |
| CIE-LCH | lch(41.77, 83.64, 302.54°) |
| OKLab | oklab(51.7% 0.0388 -0.2029) |
| OKLCH | oklch(51.7% 0.207 280.8) |
| XYZ | xyz(19.3213, 12.3510, 66.9980) |
| Luminance | 0.1235 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.79
Warm Blue
#4B57DB
ΔE00 4.07
Bluey Purple
#6241C7
ΔE00 4.14
Iris
#6258C4
ΔE00 4.51
Slate Blue
#6A5ACD
ΔE00 4.74
Light Indigo
#6D5ACF
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4CD9 #CBD94C
analogous
#4C85D9 #5A4CD9 #A04CD9
triadic
#5A4CD9 #D95A4C #4CD95A
tetradic
#5A4CD9 #D94C85 #CBD94C #4CD9A0
square
#5A4CD9 #D94C85 #CBD94C #4CD9A0
split-complementary
#5A4CD9 #D9A04C #85D94C
monochromatic
#291E8D #3829BF #5A4CD9 #897EE4 #B7B1EE
Accessibility & contrast
On white
6.05
#5A4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#5A4CD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4CD9
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4CD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4CD9 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005DD6
Tritanopia (blue-blind)
#00708C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5a4cd9; /* rgb */ color: rgb(90, 76, 217); /* oklch */ color: oklch(51.7% 0.207 280.8);
Tailwind
colors: {
custom: {
50: '#957fe6',
500: '#5a4cd9',
950: '#000000',
},
}SCSS
$custom: #5a4cd9; $custom-light: #957fe6; $custom-dark: #000000;
JSON
{
"hex": "#5a4cd9",
"rgb": {
"r": 90,
"g": 76,
"b": 217
},
"hsl": {
"h": 245.957,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.51696,
"c": 0.20661,
"h": 280.8
},
"luminance": 0.12352
}Semantic roles & 50–950 ramp
primary
#5A4CD9
secondary
#D7DDA4
accent
#E840D7
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84