#5D4ECB#5D4ECB

#5D4ECB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.186 H 283.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5D4ECB
RGBrgb(93, 78, 203)
HSLhsl(247, 55%, 55%)
HSVhsv(247, 62%, 80%)
CMYKcmyk(54.2%, 61.6%, 0%, 20.4%)
CIE-LABlab(41.35, 40.00, -63.12)
CIE-LCHlch(41.35, 74.73, 302.36°)
OKLaboklab(51.11% 0.042 -0.1811)
OKLCHoklch(51.11% 0.186 283.1)
XYZxyz(18.0148, 12.0867, 57.8720)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ECB #BCCB4E
analogous
#4E7DCB #5D4ECB #9B4ECB
triadic
#5D4ECB #CB5D4E #4ECB5D
tetradic
#5D4ECB #CB4E7D #BCCB4E #4ECB9B
square
#5D4ECB #CB4E7D #BCCB4E #4ECB9B
split-complementary
#5D4ECB #CB9B4E #7DCB4E
monochromatic
#2E247B #4032AA #5D4ECB #887DD9 #B4ADE7

Accessibility & contrast

On white

6.14
#5D4ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5D4ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ECB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ECB#FFFFFF#000000##FFFFFF
##5D4ECB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005DC8
Tritanopia (blue-blind)
#2C6C85
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4ecb;
/* rgb */ color: rgb(93, 78, 203);
/* oklch */ color: oklch(51.1% 0.186 283.1);
Tailwind
colors: {
  custom: {
    50: '#9480dc',
    500: '#5d4ecb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ecb;
$custom-light: #9480dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ecb",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 203
  },
  "hsl": {
    "h": 247.2,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.18595,
    "h": 283.1
  },
  "luminance": 0.12088
}

Semantic roles & 50–950 ramp

primary
#5D4ECB
secondary
#CED5A0
accent
#DE4ACC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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