#5A4CD3#5A4CD3
#5A4CD3 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 51.2% C 0.199 H 281.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5A4CD3 |
|---|---|
| RGB | rgb(90, 76, 211) |
| HSL | hsl(246, 61%, 56%) |
| HSV | hsv(246, 64%, 83%) |
| CMYK | cmyk(57.3%, 64%, 0%, 17.3%) |
| CIE-LAB | lab(41.29, 43.13, -67.85) |
| CIE-LCH | lch(41.29, 80.40, 302.44°) |
| OKLab | oklab(51.2% 0.0394 -0.1951) |
| OKLCH | oklch(51.2% 0.199 281.4) |
| XYZ | xyz(18.5551, 12.0445, 62.9624) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.71
Iris
#6258C4
ΔE00 4.13
Warm Blue
#4B57DB
ΔE00 4.24
Purpleish Blue
#6140EF
ΔE00 4.37
Slate Blue
#6A5ACD
ΔE00 4.63
Blue With A Hint Of Purple
#533CC6
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A4CD3 #C5D34C
analogous
#4C82D3 #5A4CD3 #9E4CD3
triadic
#5A4CD3 #D35A4C #4CD35A
tetradic
#5A4CD3 #D34C82 #C5D34C #4CD39E
square
#5A4CD3 #D34C82 #C5D34C #4CD39E
split-complementary
#5A4CD3 #D39E4C #82D34C
monochromatic
#2B2084 #3B2DB5 #5A4CD3 #877DDF #B5AEEB
Accessibility & contrast
On white
6.16
#5A4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5A4CD3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A4CD3
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A4CD3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A4CD3 | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005CD0
Tritanopia (blue-blind)
#136E89
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5a4cd3; /* rgb */ color: rgb(90, 76, 211); /* oklch */ color: oklch(51.2% 0.199 281.4);
Tailwind
colors: {
custom: {
50: '#947fe1',
500: '#5a4cd3',
950: '#000000',
},
}SCSS
$custom: #5a4cd3; $custom-light: #947fe1; $custom-dark: #000000;
JSON
{
"hex": "#5a4cd3",
"rgb": {
"r": 90,
"g": 76,
"b": 211
},
"hsl": {
"h": 246.222,
"s": 60.538,
"l": 56.275
},
"oklch": {
"l": 0.51196,
"c": 0.19908,
"h": 281.4
},
"luminance": 0.12046
}Semantic roles & 50–950 ramp
primary
#5A4CD3
secondary
#D3D9A2
accent
#E444D3
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83