#5D4DDE#5D4DDE

#5D4DDE is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.5% C 0.211 H 281.3°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#5D4DDE
RGBrgb(93, 77, 222)
HSLhsl(247, 69%, 59%)
HSVhsv(247, 65%, 87%)
CMYKcmyk(58.1%, 65.3%, 0%, 12.9%)
CIE-LABlab(42.62, 46.43, -71.96)
CIE-LCHlch(42.62, 85.64, 302.83°)
OKLaboklab(52.5% 0.0412 -0.2071)
OKLCHoklch(52.5% 0.211 281.3)
XYZxyz(20.3488, 12.9075, 70.5122)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DDE #CEDE4D
analogous
#4D85DE #5D4DDE #A54DDE
triadic
#5D4DDE #DE5D4D #4DDE5D
tetradic
#5D4DDE #DE4D85 #CEDE4D #4DDEA5
square
#5D4DDE #DE4D85 #CEDE4D #4DDEA5
split-complementary
#5D4DDE #DEA54D #85DE4D
monochromatic
#291C95 #3725C9 #5D4DDE #8C81E8 #BBB4F1

Accessibility & contrast

On white

5.86
#5D4DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5D4DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DDE
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DDE#FFFFFF#000000##FFFFFF
##5D4DDE1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE3
Deuteranopia (green-blind)
#005FDB
Tritanopia (blue-blind)
#04728F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4dde;
/* rgb */ color: rgb(93, 77, 222);
/* oklch */ color: oklch(52.5% 0.211 281.3);
Tailwind
colors: {
  custom: {
    50: '#9780e9',
    500: '#5d4dde',
    950: '#000000',
  },
}
SCSS
$custom: #5d4dde;
$custom-light: #9780e9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4dde",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 246.621,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.525,
    "c": 0.21117,
    "h": 281.3
  },
  "luminance": 0.12909
}

Semantic roles & 50–950 ramp

primary
#5D4DDE
secondary
#DAE0A7
accent
#EC3CD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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