#5A4CD2#5A4CD2
#5A4CD2 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.1% C 0.198 H 281.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4CD2 |
|---|---|
| RGB | rgb(90, 76, 210) |
| HSL | hsl(246, 60%, 56%) |
| HSV | hsv(246, 64%, 82%) |
| CMYK | cmyk(57.1%, 63.8%, 0%, 17.6%) |
| CIE-LAB | lab(41.21, 42.82, -67.41) |
| CIE-LCH | lch(41.21, 79.86, 302.42°) |
| OKLab | oklab(51.11% 0.0395 -0.1938) |
| OKLCH | oklch(51.11% 0.198 281.5) |
| XYZ | xyz(18.4301, 11.9945, 62.3043) |
| Luminance | 0.1200 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.65
Iris
#6258C4
ΔE00 4.07
Warm Blue
#4B57DB
ΔE00 4.28
Purpleish Blue
#6140EF
ΔE00 4.47
Blue With A Hint Of Purple
#533CC6
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4CD2 #C4D24C
analogous
#4C81D2 #5A4CD2 #9D4CD2
triadic
#5A4CD2 #D25A4C #4CD25A
tetradic
#5A4CD2 #D24C81 #C4D24C #4CD29D
square
#5A4CD2 #D24C81 #C4D24C #4CD29D
split-complementary
#5A4CD2 #D29D4C #81D24C
monochromatic
#2B2183 #3B2DB4 #5A4CD2 #877DDE #B4AEEB
Accessibility & contrast
On white
6.18
#5A4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#5A4CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4CD2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4CD2 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#156D88
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5a4cd2; /* rgb */ color: rgb(90, 76, 210); /* oklch */ color: oklch(51.1% 0.198 281.5);
Tailwind
colors: {
custom: {
50: '#947fe1',
500: '#5a4cd2',
950: '#000000',
},
}SCSS
$custom: #5a4cd2; $custom-light: #947fe1; $custom-dark: #000000;
JSON
{
"hex": "#5a4cd2",
"rgb": {
"r": 90,
"g": 76,
"b": 210
},
"hsl": {
"h": 246.269,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.51114,
"c": 0.19782,
"h": 281.5
},
"luminance": 0.11996
}Semantic roles & 50–950 ramp
primary
#5A4CD2
secondary
#D3D9A1
accent
#E345D2
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83