#5D4CE4#5D4CE4

#5D4CE4 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.9% C 0.220 H 280.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5D4CE4
RGBrgb(93, 76, 228)
HSLhsl(247, 74%, 60%)
HSVhsv(247, 67%, 89%)
CMYKcmyk(59.2%, 66.7%, 0%, 10.6%)
CIE-LABlab(42.91, 48.83, -74.91)
CIE-LCHlch(42.91, 89.42, 303.10°)
OKLaboklab(52.86% 0.0413 -0.2157)
OKLCHoklch(52.86% 0.22 280.8)
XYZxyz(21.0978, 13.0960, 74.7998)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CE4 #D3E44C
analogous
#4C87E4 #5D4CE4 #A94CE4
triadic
#5D4CE4 #E45D4C #4CE45D
tetradic
#5D4CE4 #E44C87 #D3E44C #4CE4A9
square
#5D4CE4 #E44C87 #D3E44C #4CE4A9
split-complementary
#5D4CE4 #E4A94C #87E44C
monochromatic
#27189E #3420D3 #5D4CE4 #8D81EC #BDB6F4

Accessibility & contrast

On white

5.80
#5D4CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#5D4CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CE4
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CE4#FFFFFF#000000##FFFFFF
##5D4CE41.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0060E1
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d4ce4;
/* rgb */ color: rgb(93, 76, 228);
/* oklch */ color: oklch(52.9% 0.220 280.8);
Tailwind
colors: {
  custom: {
    50: '#987fee',
    500: '#5d4ce4',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ce4;
$custom-light: #987fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ce4",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 246.711,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.21967,
    "h": 280.8
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#5D4CE4
secondary
#DDE3A8
accent
#F037DC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5D4CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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