#5D4ADC#5D4ADC

#5D4ADC is a mid, highly saturated blue. Relative luminance 0.124; OKLCH L 51.9% C 0.212 H 282.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#5D4ADC
RGBrgb(93, 74, 220)
HSLhsl(248, 68%, 58%)
HSVhsv(248, 66%, 86%)
CMYKcmyk(57.7%, 66.4%, 0%, 13.7%)
CIE-LABlab(41.83, 47.52, -72.11)
CIE-LCHlch(41.83, 86.36, 303.38°)
OKLaboklab(51.88% 0.044 -0.2076)
OKLCHoklch(51.88% 0.212 282)
XYZxyz(19.8772, 12.3907, 69.0405)
Luminance0.1239 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ADC #C9DC4A
analogous
#4A80DC #5D4ADC #A64ADC
triadic
#5D4ADC #DC5D4A #4ADC5D
tetradic
#5D4ADC #DC4A80 #C9DC4A #4ADCA6
square
#5D4ADC #DC4A80 #C9DC4A #4ADCA6
split-complementary
#5D4ADC #DCA64A #80DC4A
monochromatic
#2B1C90 #3A26C3 #5D4ADC #8B7DE6 #B9B1F0

Accessibility & contrast

On white

6.04
#5D4ADC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#5D4ADC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ADC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ADC#FFFFFF#000000##FFFFFF
##5D4ADC1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E1
Deuteranopia (green-blind)
#005DD9
Tritanopia (blue-blind)
#0E708D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5d4adc;
/* rgb */ color: rgb(93, 74, 220);
/* oklch */ color: oklch(51.9% 0.212 282.0);
Tailwind
colors: {
  custom: {
    50: '#977ee8',
    500: '#5d4adc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4adc;
$custom-light: #977ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4adc",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 220
  },
  "hsl": {
    "h": 247.808,
    "s": 67.593,
    "l": 57.647
  },
  "oklch": {
    "l": 0.51876,
    "c": 0.21217,
    "h": 282
  },
  "luminance": 0.12392
}

Semantic roles & 50–950 ramp

primary
#5D4ADC
secondary
#D7DEA4
accent
#EA3DD4
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4ADC

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

Preview Lab → · Contrast checker → · Palette generator →

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