#5D4FCA#5D4FCA
#5D4FCA is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.183 H 283.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4FCA |
|---|---|
| RGB | rgb(93, 79, 202) |
| HSL | hsl(247, 54%, 55%) |
| HSV | hsv(247, 61%, 79%) |
| CMYK | cmyk(54%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(41.50, 39.10, -62.30) |
| CIE-LCH | lch(41.50, 73.55, 302.11°) |
| OKLab | oklab(51.2% 0.0411 -0.1787) |
| OKLCH | oklch(51.2% 0.183 283) |
| XYZ | xyz(17.9676, 12.1823, 57.2703) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.87
Slate Blue
#6A5ACD
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 3.95
Light Indigo
#6D5ACF
ΔE00 4.10
Warm Blue
#4B57DB
ΔE00 4.40
Ocean Blue
#4F42B5
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4FCA #BCCA4F
analogous
#4F7FCA #5D4FCA #9A4FCA
triadic
#5D4FCA #CA5D4F #4FCA5D
tetradic
#5D4FCA #CA4F7F #BCCA4F #4FCA9A
square
#5D4FCA #CA4F7F #BCCA4F #4FCA9A
split-complementary
#5D4FCA #CA9A4F #7FCA4F
monochromatic
#2E257A #4033A9 #5D4FCA #887ED8 #B4ADE6
Accessibility & contrast
On white
6.11
#5D4FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5D4FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4FCA
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4FCA | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#2D6C85
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5d4fca; /* rgb */ color: rgb(93, 79, 202); /* oklch */ color: oklch(51.2% 0.183 283.0);
Tailwind
colors: {
custom: {
50: '#9481db',
500: '#5d4fca',
950: '#000000',
},
}SCSS
$custom: #5d4fca; $custom-light: #9481db; $custom-dark: #000000;
JSON
{
"hex": "#5d4fca",
"rgb": {
"r": 93,
"g": 79,
"b": 202
},
"hsl": {
"h": 246.829,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.51199,
"c": 0.18338,
"h": 283
},
"luminance": 0.12183
}Semantic roles & 50–950 ramp
primary
#5D4FCA
secondary
#CED4A1
accent
#DD4BCC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83