#5E4EAC#5E4EAC

#5E4EAC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 48.9% C 0.145 H 287.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#5E4EAC
RGBrgb(94, 78, 172)
HSLhsl(250, 38%, 49%)
HSVhsv(250, 55%, 67%)
CMYKcmyk(45.3%, 54.7%, 0%, 32.5%)
CIE-LABlab(39.25, 30.75, -48.37)
CIE-LCHlch(39.25, 57.31, 302.44°)
OKLaboklab(48.89% 0.0438 -0.1377)
OKLCHoklch(48.89% 0.145 287.6)
XYZxyz(14.7847, 10.8064, 40.3286)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E4EAC #9CAC4E
analogous
#4E6DAC #5E4EAC #8D4EAC
triadic
#5E4EAC #AC5E4E #4EAC5E
tetradic
#5E4EAC #AC4E6D #9CAC4E #4EAC8D
square
#5E4EAC #AC4E6D #9CAC4E #4EAC8D
split-complementary
#5E4EAC #AC8D4E #6DAC4E
monochromatic
#302858 #473B82 #5E4EAC #8376C1 #A9A0D4

Accessibility & contrast

On white

6.64
#5E4EAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5E4EAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E4EAC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E4EAC#FFFFFF#000000##FFFFFF
##5E4EAC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FAF
Deuteranopia (green-blind)
#1E5AAA
Tritanopia (blue-blind)
#466275
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5e4eac;
/* rgb */ color: rgb(94, 78, 172);
/* oklch */ color: oklch(48.9% 0.145 287.6);
Tailwind
colors: {
  custom: {
    50: '#9180c5',
    500: '#5e4eac',
    950: '#000000',
  },
}
SCSS
$custom: #5e4eac;
$custom-light: #9180c5;
$custom-dark: #000000;
JSON
{
  "hex": "#5e4eac",
  "rgb": {
    "r": 94,
    "g": 78,
    "b": 172
  },
  "hsl": {
    "h": 250.213,
    "s": 37.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48891,
    "c": 0.14452,
    "h": 287.6
  },
  "luminance": 0.10807
}

Semantic roles & 50–950 ramp

primary
#5E4EAC
secondary
#BAC195
accent
#CE5ABA
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0A13
muted
#7E7C82

Preview Lab

Preview with #5E4EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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