#5D4ACC#5D4ACC

#5D4ACC is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.5% C 0.192 H 283.8°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5D4ACC
RGBrgb(93, 74, 204)
HSLhsl(249, 56%, 55%)
HSVhsv(249, 64%, 80%)
CMYKcmyk(54.4%, 63.7%, 0%, 20%)
CIE-LABlab(40.55, 42.65, -65.01)
CIE-LCHlch(40.55, 77.75, 303.26°)
OKLaboklab(50.55% 0.0458 -0.1867)
OKLCHoklch(50.55% 0.192 283.8)
XYZxyz(17.8587, 11.5833, 58.4098)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ACC #B9CC4A
analogous
#4A78CC #5D4ACC #9E4ACC
triadic
#5D4ACC #CC5D4A #4ACC5D
tetradic
#5D4ACC #CC4A78 #B9CC4A #4ACC9E
square
#5D4ACC #CC4A78 #B9CC4A #4ACC9E
split-complementary
#5D4ACC #CC9E4A #78CC4A
monochromatic
#2F2279 #4130A9 #5D4ACC #887AD9 #B2A9E7

Accessibility & contrast

On white

6.33
#5D4ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5D4ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ACC
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ACC#FFFFFF#000000##FFFFFF
##5D4ACC1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#005BC9
Tritanopia (blue-blind)
#2B6A84
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4acc;
/* rgb */ color: rgb(93, 74, 204);
/* oklch */ color: oklch(50.5% 0.192 283.8);
Tailwind
colors: {
  custom: {
    50: '#957edc',
    500: '#5d4acc',
    950: '#000000',
  },
}
SCSS
$custom: #5d4acc;
$custom-light: #957edc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4acc",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 204
  },
  "hsl": {
    "h": 248.769,
    "s": 56.034,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.19225,
    "h": 283.8
  },
  "luminance": 0.11584
}

Semantic roles & 50–950 ramp

primary
#5D4ACC
secondary
#CCD49D
accent
#DF48C9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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