#5E4ABD#5E4ABD

#5E4ABD is a mid, vivid violet. Relative luminance 0.110; OKLCH L 49.4% C 0.173 H 286.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#5E4ABD
RGBrgb(94, 74, 189)
HSLhsl(250, 47%, 52%)
HSVhsv(250, 61%, 74%)
CMYKcmyk(50.3%, 60.8%, 0%, 25.9%)
CIE-LABlab(39.50, 38.28, -57.99)
CIE-LCHlch(39.50, 69.48, 303.43°)
OKLaboklab(49.45% 0.0482 -0.166)
OKLCHoklch(49.45% 0.173 286.2)
XYZxyz(16.2475, 10.9506, 49.3918)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4ABD #A9BD4A
analogous
#4A70BD #5E4ABD #984ABD
triadic
#5E4ABD #BD5E4A #4ABD5E
tetradic
#5E4ABD #BD4A70 #A9BD4A #4ABD98
square
#5E4ABD #BD4A70 #A9BD4A #4ABD98
split-complementary
#5E4ABD #BD984A #70BD4A
monochromatic
#312667 #463694 #5E4ABD #8677CD #AEA4DE

Accessibility & contrast

On white

6.58
#5E4ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5E4ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4ABD
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4ABD#FFFFFF#000000##FFFFFF
##5E4ABD1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#3B657C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e4abd;
/* rgb */ color: rgb(94, 74, 189);
/* oklch */ color: oklch(49.4% 0.173 286.2);
Tailwind
colors: {
  custom: {
    50: '#937dd2',
    500: '#5e4abd',
    950: '#000000',
  },
}
SCSS
$custom: #5e4abd;
$custom-light: #937dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4abd",
  "rgb": {
    "r": 94,
    "g": 74,
    "b": 189
  },
  "hsl": {
    "h": 250.435,
    "s": 46.559,
    "l": 51.569
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.17288,
    "h": 286.2
  },
  "luminance": 0.10951
}

Semantic roles & 50–950 ramp

primary
#5E4ABD
secondary
#C2CB98
accent
#D652BF
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5E4ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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