#8E1BA0#8E1BA0

#8E1BA0 is a mid, highly saturated purple. Relative luminance 0.091; OKLCH L 47.7% C 0.207 H 321.6°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8E1BA0
RGBrgb(142, 27, 160)
HSLhsl(292, 71%, 37%)
HSVhsv(292, 83%, 63%)
CMYKcmyk(11.2%, 83.1%, 0%, 37.3%)
CIE-LABlab(36.13, 61.87, -45.89)
CIE-LCHlch(36.13, 77.04, 323.43°)
OKLaboklab(47.7% 0.1624 -0.1287)
OKLCHoklch(47.7% 0.207 321.6)
XYZxyz(17.8917, 9.0738, 34.0599)
Luminance0.0907 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1BA0 #2DA01B
analogous
#4C1BA0 #8E1BA0 #A01B70
triadic
#8E1BA0 #A08E1B #1BA08E
tetradic
#8E1BA0 #A04C1B #2DA01B #1B70A0
square
#8E1BA0 #A04C1B #2DA01B #1B70A0
split-complementary
#8E1BA0 #70A01B #1BA04C
monochromatic
#310937 #60126C #8E1BA0 #BC24D4 #CF53E2

Accessibility & contrast

On white

7.46
#8E1BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8E1BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1BA0
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1BA0#FFFFFF#000000##FFFFFF
##8E1BA01.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA3
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#8F395F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e1ba0;
/* rgb */ color: rgb(142, 27, 160);
/* oklch */ color: oklch(47.7% 0.207 321.6);
Tailwind
colors: {
  custom: {
    50: '#b368bd',
    500: '#8e1ba0',
    950: '#000000',
  },
}
SCSS
$custom: #8e1ba0;
$custom-light: #b368bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1ba0",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 160
  },
  "hsl": {
    "h": 291.88,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.47698,
    "c": 0.20724,
    "h": 321.6
  },
  "luminance": 0.09073
}

Semantic roles & 50–950 ramp

primary
#8E1BA0
secondary
#61C552
accent
#EE3A52
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8E1BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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