#5D4ACA#5D4ACA

#5D4ACA is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.4% C 0.190 H 284.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5D4ACA
RGBrgb(93, 74, 202)
HSLhsl(249, 55%, 54%)
HSVhsv(249, 63%, 79%)
CMYKcmyk(54%, 63.4%, 0%, 20.8%)
CIE-LABlab(40.39, 42.04, -64.11)
CIE-LCHlch(40.39, 76.66, 303.25°)
OKLaboklab(50.39% 0.046 -0.184)
OKLCHoklch(50.39% 0.19 284)
XYZxyz(17.6204, 11.4880, 57.1546)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4ACA #B7CA4A
analogous
#4A77CA #5D4ACA #9D4ACA
triadic
#5D4ACA #CA5D4A #4ACA5D
tetradic
#5D4ACA #CA4A77 #B7CA4A #4ACA9D
square
#5D4ACA #CA4A77 #B7CA4A #4ACA9D
split-complementary
#5D4ACA #CA9D4A #77CA4A
monochromatic
#2F2377 #4231A6 #5D4ACA #8779D8 #B2A9E6

Accessibility & contrast

On white

6.37
#5D4ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D4ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4ACA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4ACA#FFFFFF#000000##FFFFFF
##5D4ACA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#005BC7
Tritanopia (blue-blind)
#2D6983
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d4aca;
/* rgb */ color: rgb(93, 74, 202);
/* oklch */ color: oklch(50.4% 0.190 284.0);
Tailwind
colors: {
  custom: {
    50: '#947edb',
    500: '#5d4aca',
    950: '#000000',
  },
}
SCSS
$custom: #5d4aca;
$custom-light: #947edb;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4aca",
  "rgb": {
    "r": 93,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 248.906,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.50386,
    "c": 0.18971,
    "h": 284
  },
  "luminance": 0.11489
}

Semantic roles & 50–950 ramp

primary
#5D4ACA
secondary
#CBD39D
accent
#DE4AC8
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5D4ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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