#5D4BDC#5D4BDC

#5D4BDC is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.0% C 0.211 H 281.8°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5D4BDC
RGBrgb(93, 75, 220)
HSLhsl(247, 67%, 58%)
HSVhsv(247, 66%, 86%)
CMYKcmyk(57.7%, 65.9%, 0%, 13.7%)
CIE-LABlab(42.04, 46.95, -71.77)
CIE-LCHlch(42.04, 85.77, 303.19°)
OKLaboklab(52.03% 0.0432 -0.2066)
OKLCHoklch(52.03% 0.211 281.8)
XYZxyz(19.9445, 12.5253, 69.0629)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4BDC #CADC4B
analogous
#4B82DC #5D4BDC #A54BDC
triadic
#5D4BDC #DC5D4B #4BDC5D
tetradic
#5D4BDC #DC4B82 #CADC4B #4BDCA5
square
#5D4BDC #DC4B82 #CADC4B #4BDCA5
split-complementary
#5D4BDC #DCA54B #82DC4B
monochromatic
#2B1C91 #3A26C4 #5D4BDC #8B7EE6 #B9B1F0

Accessibility & contrast

On white

5.99
#5D4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5D4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4BDC
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4BDC#FFFFFF#000000##FFFFFF
##5D4BDC1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#005ED9
Tritanopia (blue-blind)
#0D708D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4bdc;
/* rgb */ color: rgb(93, 75, 220);
/* oklch */ color: oklch(52.0% 0.211 281.8);
Tailwind
colors: {
  custom: {
    50: '#977fe8',
    500: '#5d4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4bdc;
$custom-light: #977fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4bdc",
  "rgb": {
    "r": 93,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 247.448,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52027,
    "c": 0.21102,
    "h": 281.8
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#5D4BDC
secondary
#D7DEA4
accent
#EA3DD5
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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