#5D4AE7#5D4AE7

#5D4AE7 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.8% C 0.226 H 280.9°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5D4AE7
RGBrgb(93, 74, 231)
HSLhsl(247, 77%, 60%)
HSVhsv(247, 68%, 91%)
CMYKcmyk(59.7%, 68%, 0%, 9.4%)
CIE-LABlab(42.75, 50.85, -76.86)
CIE-LCHlch(42.75, 92.16, 303.49°)
OKLaboklab(52.82% 0.0425 -0.2215)
OKLCHoklch(52.82% 0.226 280.9)
XYZxyz(21.3822, 12.9927, 76.9669)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4AE7 #D4E74A
analogous
#4A86E7 #5D4AE7 #AB4AE7
triadic
#5D4AE7 #E75D4A #4AE75D
tetradic
#5D4AE7 #E74A86 #D4E74A #4AE7AB
square
#5D4AE7 #E74A86 #D4E74A #4AE7AB
split-complementary
#5D4AE7 #E7AB4A #86E74A
monochromatic
#2615A1 #331DD7 #5D4AE7 #8D80EE #BEB6F5

Accessibility & contrast

On white

5.84
#5D4AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5D4AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4AE7
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4AE7#FFFFFF#000000##FFFFFF
##5D4AE71.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#005FE4
Tritanopia (blue-blind)
#007493
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4ae7;
/* rgb */ color: rgb(93, 74, 231);
/* oklch */ color: oklch(52.8% 0.226 280.9);
Tailwind
colors: {
  custom: {
    50: '#997ef0',
    500: '#5d4ae7',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ae7;
$custom-light: #997ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ae7",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 247.261,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.22551,
    "h": 280.9
  },
  "luminance": 0.12994
}

Semantic roles & 50–950 ramp

primary
#5D4AE7
secondary
#DDE5A8
accent
#F335DC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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