#5D4ECD#5D4ECD

#5D4ECD is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.3% C 0.189 H 282.8°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5D4ECD
RGBrgb(93, 78, 205)
HSLhsl(247, 56%, 55%)
HSVhsv(247, 62%, 80%)
CMYKcmyk(54.6%, 62%, 0%, 19.6%)
CIE-LABlab(41.50, 40.61, -64.03)
CIE-LCHlch(41.50, 75.83, 302.39°)
OKLaboklab(51.27% 0.0419 -0.1838)
OKLCHoklch(51.27% 0.189 282.8)
XYZxyz(18.2547, 12.1826, 59.1353)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ECD #BECD4E
analogous
#4E7ECD #5D4ECD #9D4ECD
triadic
#5D4ECD #CD5D4E #4ECD5D
tetradic
#5D4ECD #CD4E7E #BECD4E #4ECD9D
square
#5D4ECD #CD4E7E #BECD4E #4ECD9D
split-complementary
#5D4ECD #CD9D4E #7ECD4E
monochromatic
#2E237D #4031AD #5D4ECD #897EDA #B4ADE8

Accessibility & contrast

On white

6.11
#5D4ECD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5D4ECD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ECD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ECD#FFFFFF#000000##FFFFFF
##5D4ECD1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005ECA
Tritanopia (blue-blind)
#296D86
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4ecd;
/* rgb */ color: rgb(93, 78, 205);
/* oklch */ color: oklch(51.3% 0.189 282.8);
Tailwind
colors: {
  custom: {
    50: '#9580dd',
    500: '#5d4ecd',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ecd;
$custom-light: #9580dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ecd",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 205
  },
  "hsl": {
    "h": 247.087,
    "s": 55.947,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5127,
    "c": 0.18853,
    "h": 282.8
  },
  "luminance": 0.12184
}

Semantic roles & 50–950 ramp

primary
#5D4ECD
secondary
#D0D6A1
accent
#DF49CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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