#5D4CD6#5D4CD6

#5D4CD6 is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.7% C 0.202 H 282.3°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#5D4CD6
RGBrgb(93, 76, 214)
HSLhsl(247, 63%, 57%)
HSVhsv(247, 64%, 84%)
CMYKcmyk(56.5%, 64.5%, 0%, 16.1%)
CIE-LABlab(41.77, 44.55, -68.78)
CIE-LCHlch(41.77, 81.95, 302.93°)
OKLaboklab(51.68% 0.043 -0.1978)
OKLCHoklch(51.68% 0.202 282.3)
XYZxyz(19.2325, 12.3498, 64.9756)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CD6 #C5D64C
analogous
#4C80D6 #5D4CD6 #A24CD6
triadic
#5D4CD6 #D65D4C #4CD65D
tetradic
#5D4CD6 #D64C80 #C5D64C #4CD6A2
square
#5D4CD6 #D64C80 #C5D64C #4CD6A2
split-complementary
#5D4CD6 #D6A24C #80D64C
monochromatic
#2C1F88 #3C2BBA #5D4CD6 #8A7EE1 #B7B0ED

Accessibility & contrast

On white

6.05
#5D4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5D4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CD6
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CD6#FFFFFF#000000##FFFFFF
##5D4CD61.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#1C6F8A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4cd6;
/* rgb */ color: rgb(93, 76, 214);
/* oklch */ color: oklch(51.7% 0.202 282.3);
Tailwind
colors: {
  custom: {
    50: '#967fe4',
    500: '#5d4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cd6;
$custom-light: #967fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cd6",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 247.391,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.51679,
    "c": 0.2024,
    "h": 282.3
  },
  "luminance": 0.12351
}

Semantic roles & 50–950 ramp

primary
#5D4CD6
secondary
#D4DBA3
accent
#E642D2
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5D4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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