#5E46BD#5E46BD

#5E46BD is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.8% C 0.178 H 287.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5E46BD
RGBrgb(94, 70, 189)
HSLhsl(252, 47%, 51%)
HSVhsv(252, 63%, 74%)
CMYKcmyk(50.3%, 63%, 0%, 25.9%)
CIE-LABlab(38.61, 40.63, -59.43)
CIE-LCHlch(38.61, 71.99, 304.36°)
OKLaboklab(48.8% 0.0524 -0.1703)
OKLCHoklch(48.8% 0.178 287.1)
XYZxyz(15.9889, 10.4334, 49.3056)
Luminance0.1043 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E46BD #A5BD46
analogous
#4669BD #5E46BD #9946BD
triadic
#5E46BD #BD5E46 #46BD5E
tetradic
#5E46BD #BD4669 #A5BD46 #46BD99
square
#5E46BD #BD4669 #A5BD46 #46BD99
split-complementary
#5E46BD #BD9946 #69BD46
monochromatic
#312465 #473492 #5E46BD #8573CD #ADA0DD

Accessibility & contrast

On white

6.80
#5E46BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E46BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E46BD
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E46BD#FFFFFF#000000##FFFFFF
##5E46BD1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#3C627B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e46bd;
/* rgb */ color: rgb(94, 70, 189);
/* oklch */ color: oklch(48.8% 0.178 287.1);
Tailwind
colors: {
  custom: {
    50: '#937bd2',
    500: '#5e46bd',
    950: '#000000',
  },
}
SCSS
$custom: #5e46bd;
$custom-light: #937bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5e46bd",
  "rgb": {
    "r": 94,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 252.101,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.17816,
    "h": 287.1
  },
  "luminance": 0.10434
}

Semantic roles & 50–950 ramp

primary
#5E46BD
secondary
#BFCA95
accent
#D751BC
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5E46BD

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

Preview Lab → · Contrast checker → · Palette generator →

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