#5D4CD3#5D4CD3

#5D4CD3 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.4% C 0.199 H 282.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5D4CD3
RGBrgb(93, 76, 211)
HSLhsl(248, 61%, 56%)
HSVhsv(248, 64%, 83%)
CMYKcmyk(55.9%, 64%, 0%, 17.3%)
CIE-LABlab(41.53, 43.63, -67.45)
CIE-LCHlch(41.53, 80.33, 302.90°)
OKLaboklab(51.43% 0.0433 -0.1939)
OKLCHoklch(51.43% 0.199 282.6)
XYZxyz(18.8529, 12.1980, 62.9764)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CD3 #C2D34C
analogous
#4C7FD3 #5D4CD3 #A14CD3
triadic
#5D4CD3 #D35D4C #4CD35D
tetradic
#5D4CD3 #D34C7F #C2D34C #4CD3A1
square
#5D4CD3 #D34C7F #C2D34C #4CD3A1
split-complementary
#5D4CD3 #D3A14C #7FD34C
monochromatic
#2D2084 #3E2DB5 #5D4CD3 #897DDF #B6AEEB

Accessibility & contrast

On white

6.11
#5D4CD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5D4CD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CD3
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CD3#FFFFFF#000000##FFFFFF
##5D4CD31.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D7
Deuteranopia (green-blind)
#005DD0
Tritanopia (blue-blind)
#216E89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4cd3;
/* rgb */ color: rgb(93, 76, 211);
/* oklch */ color: oklch(51.4% 0.199 282.6);
Tailwind
colors: {
  custom: {
    50: '#967fe1',
    500: '#5d4cd3',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cd3;
$custom-light: #967fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cd3",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 211
  },
  "hsl": {
    "h": 247.556,
    "s": 60.538,
    "l": 56.275
  },
  "oklch": {
    "l": 0.51433,
    "c": 0.19863,
    "h": 282.6
  },
  "luminance": 0.12199
}

Semantic roles & 50–950 ramp

primary
#5D4CD3
secondary
#D2D9A2
accent
#E444D0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4CD3

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

Preview Lab → · Contrast checker → · Palette generator →

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