#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
RGBrgb(93, 76, 221)
HSLhsl(247, 68%, 58%)
HSVhsv(247, 66%, 87%)
CMYKcmyk(57.9%, 65.6%, 0%, 13.3%)
CIE-LABlab(42.33, 46.69, -71.87)
CIE-LCHlch(42.33, 85.70, 303.01°)
OKLaboklab(52.26% 0.0422 -0.2068)
OKLCHoklch(52.26% 0.211 281.5)
XYZxyz(20.1457, 12.7151, 69.7853)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##5D4CDD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.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

Preview Lab

Preview with #5D4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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