#5D4DE6#5D4DE6

#5D4DE6 is a mid, highly saturated blue. Relative luminance 0.133; OKLCH L 53.2% C 0.221 H 280.5°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5D4DE6
RGBrgb(93, 77, 230)
HSLhsl(246, 75%, 60%)
HSVhsv(246, 67%, 90%)
CMYKcmyk(59.6%, 66.5%, 0%, 9.8%)
CIE-LABlab(43.28, 48.88, -75.43)
CIE-LCHlch(43.28, 89.88, 302.94°)
OKLaboklab(53.18% 0.0403 -0.2173)
OKLCHoklch(53.18% 0.221 280.5)
XYZxyz(21.4465, 13.3465, 76.2936)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4DE6 #D6E64D
analogous
#4D89E6 #5D4DE6 #AA4DE6
triadic
#5D4DE6 #E65D4D #4DE65D
tetradic
#5D4DE6 #E64D89 #D6E64D #4DE6AA
square
#5D4DE6 #E64D89 #D6E64D #4DE6AA
split-complementary
#5D4DE6 #E6AA4D #89E64D
monochromatic
#2517A2 #321ED8 #5D4DE6 #8E83EE #BFB8F5

Accessibility & contrast

On white

5.72
#5D4DE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5D4DE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4DE6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4DE6#FFFFFF#000000##FFFFFF
##5D4DE61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#007593
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4de6;
/* rgb */ color: rgb(93, 77, 230);
/* oklch */ color: oklch(53.2% 0.221 280.5);
Tailwind
colors: {
  custom: {
    50: '#9980ef',
    500: '#5d4de6',
    950: '#000000',
  },
}
SCSS
$custom: #5d4de6;
$custom-light: #9980ef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4de6",
  "rgb": {
    "r": 93,
    "g": 77,
    "b": 230
  },
  "hsl": {
    "h": 246.275,
    "s": 75.369,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53178,
    "c": 0.22098,
    "h": 280.5
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#5D4DE6
secondary
#DFE5AA
accent
#D80EC2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4DE6

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

Preview Lab → · Contrast checker → · Palette generator →

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