#5D4CDD#5D4CDD
#5D4CDD is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.3% C 0.211 H 281.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5D4CDD |
|---|---|
| RGB | rgb(93, 76, 221) |
| HSL | hsl(247, 68%, 58%) |
| HSV | hsv(247, 66%, 87%) |
| CMYK | cmyk(57.9%, 65.6%, 0%, 13.3%) |
| CIE-LAB | lab(42.33, 46.69, -71.87) |
| CIE-LCH | lch(42.33, 85.70, 303.01°) |
| OKLab | oklab(52.26% 0.0422 -0.2068) |
| OKLCH | oklch(52.26% 0.211 281.5) |
| XYZ | xyz(20.1457, 12.7151, 69.7853) |
| Luminance | 0.1272 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.32
Warm Blue
#4B57DB
ΔE00 4.32
Bluey Purple
#6241C7
ΔE00 4.38
Bluish Purple
#703BE7
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 4.69
Iris
#6258C4
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5D4CDD #CCDD4C
analogous
#4C84DD #5D4CDD #A54CDD
triadic
#5D4CDD #DD5D4C #4CDD5D
tetradic
#5D4CDD #DD4C84 #CCDD4C #4CDDA5
square
#5D4CDD #DD4C84 #CCDD4C #4CDDA5
split-complementary
#5D4CDD #DDA54C #84DD4C
monochromatic
#2A1C93 #3826C6 #5D4CDD #8C7FE7 #BAB3F1
Accessibility & contrast
On white
5.93
#5D4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#5D4CDD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5D4CDD
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5D4CDD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5D4CDD | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#005FDA
Tritanopia (blue-blind)
#09718E
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5d4cdd; /* rgb */ color: rgb(93, 76, 221); /* oklch */ color: oklch(52.3% 0.211 281.5);
Tailwind
colors: {
custom: {
50: '#977fe9',
500: '#5d4cdd',
950: '#000000',
},
}SCSS
$custom: #5d4cdd; $custom-light: #977fe9; $custom-dark: #000000;
JSON
{
"hex": "#5d4cdd",
"rgb": {
"r": 93,
"g": 76,
"b": 221
},
"hsl": {
"h": 247.034,
"s": 68.075,
"l": 58.235
},
"oklch": {
"l": 0.52263,
"c": 0.21109,
"h": 281.5
},
"luminance": 0.12716
}Semantic roles & 50–950 ramp
primary
#5D4CDD
secondary
#D9DFA6
accent
#EB3DD7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84