#8E2AAB#8E2AAB

#8E2AAB is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.202 H 317.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#8E2AAB
RGBrgb(142, 42, 171)
HSLhsl(287, 61%, 42%)
HSVhsv(287, 75%, 67%)
CMYKcmyk(17%, 75.4%, 0%, 32.9%)
CIE-LABlab(38.46, 59.31, -48.74)
CIE-LCHlch(38.46, 76.77, 320.59°)
OKLaboklab(49.58% 0.1489 -0.1371)
OKLCHoklch(49.58% 0.202 317.3)
XYZxyz(19.3329, 10.3478, 39.4992)
Luminance0.1035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AAB #47AB2A
analogous
#4E2AAB #8E2AAB #AB2A87
triadic
#8E2AAB #AB8E2A #2AAB8E
tetradic
#8E2AAB #AB4E2A #47AB2A #2A87AB
square
#8E2AAB #AB4E2A #47AB2A #2A87AB
split-complementary
#8E2AAB #87AB2A #2AAB4E
monochromatic
#3C1249 #651E7A #8E2AAB #B042D1 #C573DD

Accessibility & contrast

On white

6.84
#8E2AAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8E2AAB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AAB
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AAB#FFFFFF#000000##FFFFFF
##8E2AAB1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#2D5DA8
Tritanopia (blue-blind)
#8D4669
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2aab;
/* rgb */ color: rgb(142, 42, 171);
/* oklch */ color: oklch(49.6% 0.202 317.3);
Tailwind
colors: {
  custom: {
    50: '#b36ec5',
    500: '#8e2aab',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aab;
$custom-light: #b36ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aab",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 286.512,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4958,
    "c": 0.20241,
    "h": 317.3
  },
  "luminance": 0.10347
}

Semantic roles & 50–950 ramp

primary
#8E2AAB
secondary
#80C46D
accent
#E44468
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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