#5D4ECC#5D4ECC
#5D4ECC is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.2% C 0.187 H 283.0°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4ECC |
|---|---|
| RGB | rgb(93, 78, 204) |
| HSL | hsl(247, 55%, 55%) |
| HSV | hsv(247, 62%, 80%) |
| CMYK | cmyk(54.4%, 61.8%, 0%, 20%) |
| CIE-LAB | lab(41.43, 40.30, -63.58) |
| CIE-LCH | lch(41.43, 75.28, 302.37°) |
| OKLab | oklab(51.19% 0.042 -0.1825) |
| OKLCH | oklch(51.19% 0.187 283) |
| XYZ | xyz(18.1343, 12.1345, 58.5017) |
| Luminance | 0.1214 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.21
Bluey Purple
#6241C7
ΔE00 3.72
Slate Blue
#6A5ACD
ΔE00 3.96
Light Indigo
#6D5ACF
ΔE00 4.26
Warm Blue
#4B57DB
ΔE00 4.45
Blue With A Hint Of Purple
#533CC6
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4ECC #BDCC4E
analogous
#4E7ECC #5D4ECC #9C4ECC
triadic
#5D4ECC #CC5D4E #4ECC5D
tetradic
#5D4ECC #CC4E7E #BDCC4E #4ECC9C
square
#5D4ECC #CC4E7E #BDCC4E #4ECC9C
split-complementary
#5D4ECC #CC9C4E #7ECC4E
monochromatic
#2E247C #4031AB #5D4ECC #887EDA #B4ADE7
Accessibility & contrast
On white
6.13
#5D4ECC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#5D4ECC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4ECC
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4ECC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4ECC | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#2A6D86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5d4ecc; /* rgb */ color: rgb(93, 78, 204); /* oklch */ color: oklch(51.2% 0.187 283.0);
Tailwind
colors: {
custom: {
50: '#9480dc',
500: '#5d4ecc',
950: '#000000',
},
}SCSS
$custom: #5d4ecc; $custom-light: #9480dc; $custom-dark: #000000;
JSON
{
"hex": "#5d4ecc",
"rgb": {
"r": 93,
"g": 78,
"b": 204
},
"hsl": {
"h": 247.143,
"s": 55.263,
"l": 55.294
},
"oklch": {
"l": 0.51191,
"c": 0.18723,
"h": 283
},
"luminance": 0.12136
}Semantic roles & 50–950 ramp
primary
#5D4ECC
secondary
#CFD5A1
accent
#DF49CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83