#5D4CD4#5D4CD4

#5D4CD4 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.5% C 0.200 H 282.5°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5D4CD4
RGBrgb(93, 76, 212)
HSLhsl(248, 61%, 56%)
HSVhsv(248, 64%, 83%)
CMYKcmyk(56.1%, 64.2%, 0%, 16.9%)
CIE-LABlab(41.61, 43.93, -67.89)
CIE-LCHlch(41.61, 80.87, 302.91°)
OKLaboklab(51.52% 0.0432 -0.1952)
OKLCHoklch(51.52% 0.2 282.5)
XYZxyz(18.9786, 12.2483, 63.6387)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CD4 #C3D44C
analogous
#4C7FD4 #5D4CD4 #A14CD4
triadic
#5D4CD4 #D45D4C #4CD45D
tetradic
#5D4CD4 #D44C7F #C3D44C #4CD4A1
square
#5D4CD4 #D44C7F #C3D44C #4CD4A1
split-complementary
#5D4CD4 #D4A14C #7FD44C
monochromatic
#2D2086 #3D2CB7 #5D4CD4 #8A7DE0 #B6AFEC

Accessibility & contrast

On white

6.09
#5D4CD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5D4CD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CD4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CD4#FFFFFF#000000##FFFFFF
##5D4CD41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D8
Deuteranopia (green-blind)
#005DD1
Tritanopia (blue-blind)
#206E89
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4cd4;
/* rgb */ color: rgb(93, 76, 212);
/* oklch */ color: oklch(51.5% 0.200 282.5);
Tailwind
colors: {
  custom: {
    50: '#967fe2',
    500: '#5d4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #5d4cd4;
$custom-light: #967fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4cd4",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 247.5,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.51515,
    "c": 0.19989,
    "h": 282.5
  },
  "luminance": 0.1225
}

Semantic roles & 50–950 ramp

primary
#5D4CD4
secondary
#D3DAA2
accent
#E443D0
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A15
muted
#7E7C84

Preview Lab

Preview with #5D4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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