#5A4CD7#5A4CD7
#5A4CD7 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.5% C 0.204 H 281.0°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4CD7 |
|---|---|
| RGB | rgb(90, 76, 215) |
| HSL | hsl(246, 63%, 57%) |
| HSV | hsv(246, 65%, 84%) |
| CMYK | cmyk(58.1%, 64.7%, 0%, 15.7%) |
| CIE-LAB | lab(41.61, 44.37, -69.63) |
| CIE-LCH | lch(41.61, 82.56, 302.51°) |
| OKLab | oklab(51.53% 0.039 -0.2003) |
| OKLCH | oklch(51.53% 0.204 281) |
| XYZ | xyz(19.0628, 12.2475, 65.6363) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.97
Bluey Purple
#6241C7
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 4.11
Iris
#6258C4
ΔE00 4.38
Slate Blue
#6A5ACD
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4CD7 #C9D74C
analogous
#4C84D7 #5A4CD7 #9F4CD7
triadic
#5A4CD7 #D75A4C #4CD75A
tetradic
#5A4CD7 #D74C84 #C9D74C #4CD79F
square
#5A4CD7 #D74C84 #C9D74C #4CD79F
split-complementary
#5A4CD7 #D79F4C #84D74C
monochromatic
#2A1F8A #392ABC #5A4CD7 #887EE2 #B6B0ED
Accessibility & contrast
On white
6.09
#5A4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#5A4CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4CD7
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4CD7 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067DB
Deuteranopia (green-blind)
#005DD4
Tritanopia (blue-blind)
#046F8B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5a4cd7; /* rgb */ color: rgb(90, 76, 215); /* oklch */ color: oklch(51.5% 0.204 281.0);
Tailwind
colors: {
custom: {
50: '#957fe4',
500: '#5a4cd7',
950: '#000000',
},
}SCSS
$custom: #5a4cd7; $custom-light: #957fe4; $custom-dark: #000000;
JSON
{
"hex": "#5a4cd7",
"rgb": {
"r": 90,
"g": 76,
"b": 215
},
"hsl": {
"h": 246.043,
"s": 63.47,
"l": 57.059
},
"oklch": {
"l": 0.51528,
"c": 0.20412,
"h": 281
},
"luminance": 0.12249
}Semantic roles & 50–950 ramp
primary
#5A4CD7
secondary
#D6DCA3
accent
#E641D6
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84