#5D4AE6#5D4AE6

#5D4AE6 is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.7% C 0.224 H 281.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5D4AE6
RGBrgb(93, 74, 230)
HSLhsl(247, 76%, 60%)
HSVhsv(247, 68%, 90%)
CMYKcmyk(59.6%, 67.8%, 0%, 9.8%)
CIE-LABlab(42.67, 50.55, -76.44)
CIE-LCHlch(42.67, 91.64, 303.48°)
OKLaboklab(52.74% 0.0426 -0.2202)
OKLCHoklch(52.74% 0.224 281)
XYZxyz(21.2414, 12.9364, 76.2252)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AE6 #D3E64A
analogous
#4A85E6 #5D4AE6 #AB4AE6
triadic
#5D4AE6 #E65D4A #4AE65D
tetradic
#5D4AE6 #E64A85 #D3E64A #4AE6AB
square
#5D4AE6 #E64A85 #D3E64A #4AE6AB
split-complementary
#5D4AE6 #E6AB4A #85E64A
monochromatic
#2716A0 #341DD5 #5D4AE6 #8D80ED #BDB6F5

Accessibility & contrast

On white

5.85
#5D4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5D4AE6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AE6
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AE6#FFFFFF#000000##FFFFFF
##5D4AE61.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007392
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4ae6;
/* rgb */ color: rgb(93, 74, 230);
/* oklch */ color: oklch(52.7% 0.224 281.0);
Tailwind
colors: {
  custom: {
    50: '#997eef',
    500: '#5d4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ae6;
$custom-light: #997eef;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ae6",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 247.308,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52736,
    "c": 0.22431,
    "h": 281
  },
  "luminance": 0.12938
}

Semantic roles & 50–950 ramp

primary
#5D4AE6
secondary
#DDE4A8
accent
#F235DB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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