#5D4ADB#5D4ADB

#5D4ADB is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.8% C 0.211 H 282.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5D4ADB
RGBrgb(93, 74, 219)
HSLhsl(248, 67%, 57%)
HSVhsv(248, 66%, 86%)
CMYKcmyk(57.5%, 66.2%, 0%, 14.1%)
CIE-LABlab(41.75, 47.21, -71.68)
CIE-LCHlch(41.75, 85.83, 303.37°)
OKLaboklab(51.79% 0.0441 -0.2063)
OKLCHoklch(51.79% 0.211 282.1)
XYZxyz(19.7452, 12.3379, 68.3451)
Luminance0.1234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ADB #C8DB4A
analogous
#4A80DB #5D4ADB #A54ADB
triadic
#5D4ADB #DB5D4A #4ADB5D
tetradic
#5D4ADB #DB4A80 #C8DB4A #4ADBA5
square
#5D4ADB #DB4A80 #C8DB4A #4ADBA5
split-complementary
#5D4ADB #DBA54A #80DB4A
monochromatic
#2B1C8E #3B26C1 #5D4ADB #8B7DE5 #B8B0EF

Accessibility & contrast

On white

6.06
#5D4ADB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D4ADB
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ADB#FFFFFF#000000##FFFFFF
##5D4ADB1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005DD8
Tritanopia (blue-blind)
#116F8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d4adb;
/* rgb */ color: rgb(93, 74, 219);
/* oklch */ color: oklch(51.8% 0.211 282.1);
Tailwind
colors: {
  custom: {
    50: '#977ee7',
    500: '#5d4adb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4adb;
$custom-light: #977ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4adb",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 247.862,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.51791,
    "c": 0.21094,
    "h": 282.1
  },
  "luminance": 0.12339
}

Semantic roles & 50–950 ramp

primary
#5D4ADB
secondary
#D6DEA3
accent
#EA3ED3
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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