#8E46D1#8E46D1

#8E46D1 is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.206 H 304.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8E46D1
RGBrgb(142, 70, 209)
HSLhsl(271, 60%, 55%)
HSVhsv(271, 67%, 82%)
CMYKcmyk(32.1%, 66.5%, 0%, 18%)
CIE-LABlab(45.27, 55.64, -60.00)
CIE-LCHlch(45.27, 81.82, 312.84°)
OKLaboklab(55.26% 0.1157 -0.1703)
OKLCHoklch(55.26% 0.206 304.2)
XYZxyz(24.8515, 14.7346, 61.8441)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E46D1 #89D146
analogous
#4946D1 #8E46D1 #D146CF
triadic
#8E46D1 #D18E46 #46D18E
tetradic
#8E46D1 #D14946 #89D146 #46CFD1
square
#8E46D1 #D14946 #89D146 #46CFD1
split-complementary
#8E46D1 #CFD146 #46D149
monochromatic
#501F7D #6F2BAE #8E46D1 #AC77DD #CAA8E9

Accessibility & contrast

On white

5.32
#8E46D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8E46D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E46D1
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E46D1#FFFFFF#000000##FFFFFF
##8E46D11.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D5
Deuteranopia (green-blind)
#136BCE
Tritanopia (blue-blind)
#816586
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8e46d1;
/* rgb */ color: rgb(142, 70, 209);
/* oklch */ color: oklch(55.3% 0.206 304.2);
Tailwind
colors: {
  custom: {
    50: '#b47ee0',
    500: '#8e46d1',
    950: '#000000',
  },
}
SCSS
$custom: #8e46d1;
$custom-light: #b47ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e46d1",
  "rgb": {
    "r": 142,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 271.079,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55255,
    "c": 0.2059,
    "h": 304.2
  },
  "luminance": 0.14735
}

Semantic roles & 50–950 ramp

primary
#8E46D1
secondary
#B8D79C
accent
#E34491
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8E46D1

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

Preview Lab → · Contrast checker → · Palette generator →

#8E46D1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva