#5D4EDE#5D4EDE

#5D4EDE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.7% C 0.210 H 281.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5D4EDE
RGBrgb(93, 78, 222)
HSLhsl(246, 69%, 59%)
HSVhsv(246, 65%, 87%)
CMYKcmyk(58.1%, 64.9%, 0%, 12.9%)
CIE-LABlab(42.84, 45.85, -71.61)
CIE-LCHlch(42.84, 85.03, 302.63°)
OKLaboklab(52.65% 0.0404 -0.2061)
OKLCHoklch(52.65% 0.21 281.1)
XYZxyz(20.4193, 13.0485, 70.5357)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4EDE #CFDE4E
analogous
#4E87DE #5D4EDE #A54EDE
triadic
#5D4EDE #DE5D4E #4EDE5D
tetradic
#5D4EDE #DE4E87 #CFDE4E #4EDEA5
square
#5D4EDE #DE4E87 #CFDE4E #4EDEA5
split-complementary
#5D4EDE #DEA54E #87DE4E
monochromatic
#291C96 #3726C9 #5D4EDE #8C82E8 #BBB5F1

Accessibility & contrast

On white

5.82
#5D4EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5D4EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4EDE
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4EDE#FFFFFF#000000##FFFFFF
##5D4EDE1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#0060DB
Tritanopia (blue-blind)
#03738F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4ede;
/* rgb */ color: rgb(93, 78, 222);
/* oklch */ color: oklch(52.7% 0.210 281.1);
Tailwind
colors: {
  custom: {
    50: '#9781e9',
    500: '#5d4ede',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ede;
$custom-light: #9781e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ede",
  "rgb": {
    "r": 93,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 246.25,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.52654,
    "c": 0.21,
    "h": 281.1
  },
  "luminance": 0.1305
}

Semantic roles & 50–950 ramp

primary
#5D4EDE
secondary
#DAE0A8
accent
#EB3CD9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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