#5D4CCD#5D4CCD

#5D4CCD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.9% C 0.191 H 283.3°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#5D4CCD
RGBrgb(93, 76, 205)
HSLhsl(248, 56%, 55%)
HSVhsv(248, 63%, 80%)
CMYKcmyk(54.6%, 62.9%, 0%, 19.6%)
CIE-LABlab(41.06, 41.79, -64.75)
CIE-LCHlch(41.06, 77.07, 302.84°)
OKLaboklab(50.95% 0.0438 -0.1859)
OKLCHoklch(50.95% 0.191 283.3)
XYZxyz(18.1147, 11.9027, 59.0887)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CCD #BCCD4C
analogous
#4C7BCD #5D4CCD #9E4CCD
triadic
#5D4CCD #CD5D4C #4CCD5D
tetradic
#5D4CCD #CD4C7B #BCCD4C #4CCD9E
square
#5D4CCD #CD4C7B #BCCD4C #4CCD9E
split-complementary
#5D4CCD #CD9E4C #7BCD4C
monochromatic
#2E237C #4030AC #5D4CCD #887CDA #B4ACE8

Accessibility & contrast

On white

6.21
#5D4CCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#5D4CCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CCD
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CCD#FFFFFF#000000##FFFFFF
##5D4CCD1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#005CCA
Tritanopia (blue-blind)
#2A6C85
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5d4ccd;
/* rgb */ color: rgb(93, 76, 205);
/* oklch */ color: oklch(50.9% 0.191 283.3);
Tailwind
colors: {
  custom: {
    50: '#957fdd',
    500: '#5d4ccd',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ccd;
$custom-light: #957fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ccd",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 205
  },
  "hsl": {
    "h": 247.907,
    "s": 56.332,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50946,
    "c": 0.19103,
    "h": 283.3
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#5D4CCD
secondary
#CED59F
accent
#E048CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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