#5A4CDE#5A4CDE
#5A4CDE is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.213 H 280.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4CDE |
|---|---|
| RGB | rgb(90, 76, 222) |
| HSL | hsl(246, 69%, 58%) |
| HSV | hsv(246, 66%, 87%) |
| CMYK | cmyk(59.5%, 65.8%, 0%, 12.9%) |
| CIE-LAB | lab(42.18, 46.54, -72.70) |
| CIE-LCH | lch(42.18, 86.32, 302.63°) |
| OKLab | oklab(52.12% 0.0383 -0.2094) |
| OKLCH | oklch(52.12% 0.213 280.4) |
| XYZ | xyz(19.9815, 12.6150, 70.4751) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.39
Warm Blue
#4B57DB
ΔE00 4.05
Bluey Purple
#6241C7
ΔE00 4.57
Bluish Purple
#703BE7
ΔE00 4.87
Iris
#6258C4
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4CDE #D0DE4C
analogous
#4C87DE #5A4CDE #A34CDE
triadic
#5A4CDE #DE5A4C #4CDE5A
tetradic
#5A4CDE #DE4C87 #D0DE4C #4CDEA3
square
#5A4CDE #DE4C87 #D0DE4C #4CDEA3
split-complementary
#5A4CDE #DEA34C #87DE4C
monochromatic
#271B94 #3425C8 #5A4CDE #8A80E8 #B9B3F1
Accessibility & contrast
On white
5.96
#5A4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5A4CDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4CDE
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4CDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4CDE | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#005EDB
Tritanopia (blue-blind)
#00728E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5a4cde; /* rgb */ color: rgb(90, 76, 222); /* oklch */ color: oklch(52.1% 0.213 280.4);
Tailwind
colors: {
custom: {
50: '#967fe9',
500: '#5a4cde',
950: '#000000',
},
}SCSS
$custom: #5a4cde; $custom-light: #967fe9; $custom-dark: #000000;
JSON
{
"hex": "#5a4cde",
"rgb": {
"r": 90,
"g": 76,
"b": 222
},
"hsl": {
"h": 245.753,
"s": 68.868,
"l": 58.431
},
"oklch": {
"l": 0.52118,
"c": 0.21283,
"h": 280.4
},
"luminance": 0.12616
}Semantic roles & 50–950 ramp
primary
#5A4CDE
secondary
#DAE0A6
accent
#EC3CDB
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84