#8E2AA9#8E2AA9

#8E2AA9 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.4% C 0.201 H 318.0°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8E2AA9
RGBrgb(142, 42, 169)
HSLhsl(287, 60%, 41%)
HSVhsv(287, 75%, 66%)
CMYKcmyk(16%, 75.1%, 0%, 33.7%)
CIE-LABlab(38.33, 58.92, -47.76)
CIE-LCHlch(38.33, 75.85, 320.97°)
OKLaboklab(49.44% 0.1491 -0.1343)
OKLCHoklch(49.44% 0.201 318)
XYZxyz(19.1437, 10.2722, 38.5028)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AA9 #45A92A
analogous
#4F2AA9 #8E2AA9 #A92A85
triadic
#8E2AA9 #A98E2A #2AA98E
tetradic
#8E2AA9 #A94F2A #45A92A #2A85A9
square
#8E2AA9 #A94F2A #45A92A #2A85A9
split-complementary
#8E2AA9 #85A92A #2AA94F
monochromatic
#3C1247 #651E78 #8E2AA9 #B141D0 #C572DC

Accessibility & contrast

On white

6.88
#8E2AA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8E2AA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AA9
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AA9#FFFFFF#000000##FFFFFF
##8E2AA91.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#2F5DA6
Tritanopia (blue-blind)
#8D4568
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2aa9;
/* rgb */ color: rgb(142, 42, 169);
/* oklch */ color: oklch(49.4% 0.201 318.0);
Tailwind
colors: {
  custom: {
    50: '#b36ec3',
    500: '#8e2aa9',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aa9;
$custom-light: #b36ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aa9",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 287.244,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49443,
    "c": 0.20065,
    "h": 318
  },
  "luminance": 0.10271
}

Semantic roles & 50–950 ramp

primary
#8E2AA9
secondary
#7EC36C
accent
#E34466
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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