#5D4DDC#5D4DDC

#5D4DDC is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.3% C 0.209 H 281.5°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#5D4DDC
RGBrgb(93, 77, 220)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 65%, 86%)
CMYKcmyk(57.7%, 65%, 0%, 13.7%)
CIE-LABlab(42.46, 45.81, -71.08)
CIE-LCHlch(42.46, 84.57, 302.80°)
OKLaboklab(52.33% 0.0415 -0.2045)
OKLCHoklch(52.33% 0.209 281.5)
XYZxyz(20.0823, 12.8009, 69.1088)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DDC #CCDC4D
analogous
#4D84DC #5D4DDC #A44DDC
triadic
#5D4DDC #DC5D4D #4DDC5D
tetradic
#5D4DDC #DC4D84 #CCDC4D #4DDCA4
square
#5D4DDC #DC4D84 #CCDC4D #4DDCA4
split-complementary
#5D4DDC #DCA44D #84DC4D
monochromatic
#2A1D92 #3827C5 #5D4DDC #8C80E6 #BAB3F0

Accessibility & contrast

On white

5.90
#5D4DDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5D4DDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DDC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DDC#FFFFFF#000000##FFFFFF
##5D4DDC1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#005FD9
Tritanopia (blue-blind)
#0C718E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d4ddc;
/* rgb */ color: rgb(93, 77, 220);
/* oklch */ color: oklch(52.3% 0.209 281.5);
Tailwind
colors: {
  custom: {
    50: '#9780e8',
    500: '#5d4ddc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ddc;
$custom-light: #9780e8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ddc",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 220
  },
  "hsl": {
    "h": 246.713,
    "s": 67.136,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52333,
    "c": 0.20869,
    "h": 281.5
  },
  "luminance": 0.12802
}

Semantic roles & 50–950 ramp

primary
#5D4DDC
secondary
#D9DFA6
accent
#EA3ED7
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4DDC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5D4DDC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva