#5D4EEC#5D4EEC

#5D4EEC is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.8% C 0.227 H 279.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5D4EEC
RGBrgb(93, 78, 236)
HSLhsl(246, 81%, 62%)
HSVhsv(246, 67%, 93%)
CMYKcmyk(60.6%, 66.9%, 0%, 7.5%)
CIE-LABlab(43.99, 50.15, -77.66)
CIE-LCHlch(43.99, 92.45, 302.85°)
OKLaboklab(53.84% 0.0387 -0.2238)
OKLCHoklch(53.84% 0.227 279.8)
XYZxyz(22.3741, 13.8304, 80.8311)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EEC #DDEC4E
analogous
#4E8EEC #5D4EEC #AC4EEC
triadic
#5D4EEC #EC5D4E #4EEC5D
tetradic
#5D4EEC #EC4E8E #DDEC4E #4EECAC
square
#5D4EEC #EC4E8E #DDEC4E #4EECAC
split-complementary
#5D4EEC #ECAC4E #8EEC4E
monochromatic
#2113AD #2C19E4 #5D4EEC #9085F2 #C2BDF8

Accessibility & contrast

On white

5.58
#5D4EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#5D4EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EEC
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EEC#FFFFFF#000000##FFFFFF
##5D4EEC1.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF1
Deuteranopia (green-blind)
#0062E9
Tritanopia (blue-blind)
#007797
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d4eec;
/* rgb */ color: rgb(93, 78, 236);
/* oklch */ color: oklch(53.8% 0.227 279.8);
Tailwind
colors: {
  custom: {
    50: '#9a81f3',
    500: '#5d4eec',
    950: '#000000',
  },
}
SCSS
$custom: #5d4eec;
$custom-light: #9a81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4eec",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 245.696,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.53843,
    "c": 0.22715,
    "h": 279.8
  },
  "luminance": 0.13832
}

Semantic roles & 50–950 ramp

primary
#5D4EEC
secondary
#E3E8AE
accent
#DD09C9
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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