#8E1A9F#8E1A9F

#8E1A9F is a mid, highly saturated purple. Relative luminance 0.090; OKLCH L 47.6% C 0.207 H 322.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#8E1A9F
RGBrgb(142, 26, 159)
HSLhsl(292, 72%, 36%)
HSVhsv(292, 84%, 62%)
CMYKcmyk(10.7%, 83.6%, 0%, 37.6%)
CIE-LABlab(35.97, 61.95, -45.54)
CIE-LCHlch(35.97, 76.88, 323.68°)
OKLaboklab(47.57% 0.1633 -0.1276)
OKLCHoklch(47.57% 0.207 322)
XYZxyz(17.7821, 8.9938, 33.5935)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A9F #2B9F1A
analogous
#4C1A9F #8E1A9F #9F1A6E
triadic
#8E1A9F #9F8E1A #1A9F8E
tetradic
#8E1A9F #9F4C1A #2B9F1A #1A6E9F
square
#8E1A9F #9F4C1A #2B9F1A #1A6E9F
split-complementary
#8E1A9F #6E9F1A #1A9F4C
monochromatic
#300936 #5F116A #8E1A9F #BD23D4 #D051E3

Accessibility & contrast

On white

7.50
#8E1A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E1A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1A9F
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1A9F#FFFFFF#000000##FFFFFF
##8E1A9F1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA2
Deuteranopia (green-blind)
#30599C
Tritanopia (blue-blind)
#90385F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e1a9f;
/* rgb */ color: rgb(142, 26, 159);
/* oklch */ color: oklch(47.6% 0.207 322.0);
Tailwind
colors: {
  custom: {
    50: '#b368bc',
    500: '#8e1a9f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a9f;
$custom-light: #b368bc;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a9f",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 292.331,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47568,
    "c": 0.20722,
    "h": 322
  },
  "luminance": 0.08993
}

Semantic roles & 50–950 ramp

primary
#8E1A9F
secondary
#5FC550
accent
#EF3950
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120712
muted
#817A81

Preview Lab

Preview with #8E1A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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