#5D4CE5#5D4CE5

#5D4CE5 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.221 H 280.7°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#5D4CE5
RGBrgb(93, 76, 229)
HSLhsl(247, 75%, 60%)
HSVhsv(247, 67%, 90%)
CMYKcmyk(59.4%, 66.8%, 0%, 10.2%)
CIE-LABlab(42.99, 49.13, -75.34)
CIE-LCHlch(42.99, 89.94, 303.11°)
OKLaboklab(52.94% 0.0412 -0.217)
OKLCHoklch(52.94% 0.221 280.7)
XYZxyz(21.2370, 13.1517, 75.5330)
Luminance0.1315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4CE5 #D4E54C
analogous
#4C87E5 #5D4CE5 #AA4CE5
triadic
#5D4CE5 #E55D4C #4CE55D
tetradic
#5D4CE5 #E54C87 #D4E54C #4CE5AA
square
#5D4CE5 #E54C87 #D4E54C #4CE5AA
split-complementary
#5D4CE5 #E5AA4C #87E54C
monochromatic
#26179F #331FD5 #5D4CE5 #8D81ED #BEB7F5

Accessibility & contrast

On white

5.78
#5D4CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#5D4CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4CE5
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4CE5#FFFFFF#000000##FFFFFF
##5D4CE51.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0060E2
Tritanopia (blue-blind)
#007492
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d4ce5;
/* rgb */ color: rgb(93, 76, 229);
/* oklch */ color: oklch(52.9% 0.221 280.7);
Tailwind
colors: {
  custom: {
    50: '#997fee',
    500: '#5d4ce5',
    950: '#000000',
  },
}
SCSS
$custom: #5d4ce5;
$custom-light: #997fee;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4ce5",
  "rgb": {
    "r": 93,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 246.667,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.52943,
    "c": 0.22088,
    "h": 280.7
  },
  "luminance": 0.13153
}

Semantic roles & 50–950 ramp

primary
#5D4CE5
secondary
#DDE4A9
accent
#F137DD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5D4CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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