#5D4CD9#5D4CD9

#5D4CD9 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 51.9% C 0.206 H 281.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#5D4CD9
RGBrgb(93, 76, 217)
HSLhsl(247, 65%, 57%)
HSVhsv(247, 65%, 85%)
CMYKcmyk(57.1%, 65%, 0%, 14.9%)
CIE-LABlab(42.01, 45.47, -70.11)
CIE-LCHlch(42.01, 83.56, 302.96°)
OKLaboklab(51.93% 0.0427 -0.2017)
OKLCHoklch(51.93% 0.206 281.9)
XYZxyz(19.6191, 12.5045, 67.0120)
Luminance0.1251 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CD9 #C8D94C
analogous
#4C82D9 #5D4CD9 #A34CD9
triadic
#5D4CD9 #D95D4C #4CD95D
tetradic
#5D4CD9 #D94C82 #C8D94C #4CD9A3
square
#5D4CD9 #D94C82 #C8D94C #4CD9A3
split-complementary
#5D4CD9 #D9A34C #82D94C
monochromatic
#2B1E8D #3B29BF #5D4CD9 #8B7EE4 #B8B1EE

Accessibility & contrast

On white

6.00
#5D4CD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5D4CD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CD9
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CD9#FFFFFF#000000##FFFFFF
##5D4CD91.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#005ED6
Tritanopia (blue-blind)
#16708C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4cd9;
/* rgb */ color: rgb(93, 76, 217);
/* oklch */ color: oklch(51.9% 0.206 281.9);
Tailwind
colors: {
  custom: {
    50: '#977fe6',
    500: '#5d4cd9',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cd9;
$custom-light: #977fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cd9",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 217
  },
  "hsl": {
    "h": 247.234,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.20613,
    "h": 281.9
  },
  "luminance": 0.12506
}

Semantic roles & 50–950 ramp

primary
#5D4CD9
secondary
#D6DDA4
accent
#E840D4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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