#8E2AAC#8E2AAC

#8E2AAC is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.203 H 317.0°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#8E2AAC
RGBrgb(142, 42, 172)
HSLhsl(286, 61%, 42%)
HSVhsv(286, 76%, 67%)
CMYKcmyk(17.4%, 75.6%, 0%, 32.5%)
CIE-LABlab(38.53, 59.51, -49.23)
CIE-LCHlch(38.53, 77.23, 320.40°)
OKLaboklab(49.65% 0.1487 -0.1386)
OKLCHoklch(49.65% 0.203 317)
XYZxyz(19.4286, 10.3861, 40.0030)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AAC #48AC2A
analogous
#4D2AAC #8E2AAC #AC2A89
triadic
#8E2AAC #AC8E2A #2AAC8E
tetradic
#8E2AAC #AC4D2A #48AC2A #2A89AC
square
#8E2AAC #AC4D2A #48AC2A #2A89AC
split-complementary
#8E2AAC #89AC2A #2AAC4D
monochromatic
#3D124A #651E7B #8E2AAC #B042D1 #C573DD

Accessibility & contrast

On white

6.82
#8E2AAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8E2AAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AAC
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AAC#FFFFFF#000000##FFFFFF
##8E2AAC1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#2C5EA9
Tritanopia (blue-blind)
#8C4669
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2aac;
/* rgb */ color: rgb(142, 42, 172);
/* oklch */ color: oklch(49.6% 0.203 317.0);
Tailwind
colors: {
  custom: {
    50: '#b36ec5',
    500: '#8e2aac',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aac;
$custom-light: #b36ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aac",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 286.154,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49649,
    "c": 0.20329,
    "h": 317
  },
  "luminance": 0.10385
}

Semantic roles & 50–950 ramp

primary
#8E2AAC
secondary
#82C46D
accent
#E44469
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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