#5D4CD5#5D4CD5

#5D4CD5 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.6% C 0.201 H 282.4°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5D4CD5
RGBrgb(93, 76, 213)
HSLhsl(247, 62%, 57%)
HSVhsv(247, 64%, 84%)
CMYKcmyk(56.3%, 64.3%, 0%, 16.5%)
CIE-LABlab(41.69, 44.24, -68.34)
CIE-LCHlch(41.69, 81.41, 302.92°)
OKLaboklab(51.6% 0.0431 -0.1965)
OKLCHoklch(51.6% 0.201 282.4)
XYZxyz(19.1052, 12.2989, 64.3051)
Luminance0.1230 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CD5 #C4D54C
analogous
#4C80D5 #5D4CD5 #A24CD5
triadic
#5D4CD5 #D55D4C #4CD55D
tetradic
#5D4CD5 #D54C80 #C4D54C #4CD5A2
square
#5D4CD5 #D54C80 #C4D54C #4CD5A2
split-complementary
#5D4CD5 #D5A24C #80D54C
monochromatic
#2C2087 #3D2BB9 #5D4CD5 #8A7EE1 #B7AFEC

Accessibility & contrast

On white

6.07
#5D4CD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5D4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CD5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CD5#FFFFFF#000000##FFFFFF
##5D4CD51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#1E6E8A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4cd5;
/* rgb */ color: rgb(93, 76, 213);
/* oklch */ color: oklch(51.6% 0.201 282.4);
Tailwind
colors: {
  custom: {
    50: '#967fe3',
    500: '#5d4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cd5;
$custom-light: #967fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cd5",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 247.445,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51597,
    "c": 0.20114,
    "h": 282.4
  },
  "luminance": 0.123
}

Semantic roles & 50–950 ramp

primary
#5D4CD5
secondary
#D3DAA2
accent
#E543D1
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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