#5D4ECE#5D4ECE

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

Color values

HEX#5D4ECE
RGBrgb(93, 78, 206)
HSLhsl(247, 57%, 56%)
HSVhsv(247, 62%, 81%)
CMYKcmyk(54.9%, 62.1%, 0%, 19.2%)
CIE-LABlab(41.58, 40.92, -64.48)
CIE-LCHlch(41.58, 76.37, 302.40°)
OKLaboklab(51.35% 0.0418 -0.1851)
OKLCHoklch(51.35% 0.19 282.7)
XYZxyz(18.3757, 12.2311, 59.7731)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ECE #BFCE4E
analogous
#4E7FCE #5D4ECE #9D4ECE
triadic
#5D4ECE #CE5D4E #4ECE5D
tetradic
#5D4ECE #CE4E7F #BFCE4E #4ECE9D
square
#5D4ECE #CE4E7F #BFCE4E #4ECE9D
split-complementary
#5D4ECE #CE9D4E #7FCE4E
monochromatic
#2E237F #3F30AE #5D4ECE #897EDB #B5AEE9

Accessibility & contrast

On white

6.09
#5D4ECE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5D4ECE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ECE
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ECE#FFFFFF#000000##FFFFFF
##5D4ECE1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#286D87
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4ece;
/* rgb */ color: rgb(93, 78, 206);
/* oklch */ color: oklch(51.3% 0.190 282.7);
Tailwind
colors: {
  custom: {
    50: '#9580de',
    500: '#5d4ece',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ece;
$custom-light: #9580de;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ece",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 206
  },
  "hsl": {
    "h": 247.031,
    "s": 56.637,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5135,
    "c": 0.18981,
    "h": 282.7
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#5D4ECE
secondary
#D0D7A1
accent
#E048CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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