#8E2AA8#8E2AA8

#8E2AA8 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.4% C 0.200 H 318.3°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8E2AA8
RGBrgb(142, 42, 168)
HSLhsl(288, 60%, 41%)
HSVhsv(288, 75%, 66%)
CMYKcmyk(15.5%, 75%, 0%, 34.1%)
CIE-LABlab(38.26, 58.73, -47.27)
CIE-LCHlch(38.26, 75.39, 321.17°)
OKLaboklab(49.38% 0.1492 -0.1328)
OKLCHoklch(49.38% 0.2 318.3)
XYZxyz(19.0502, 10.2347, 38.0102)
Luminance0.1023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AA8 #44A82A
analogous
#4F2AA8 #8E2AA8 #A82A83
triadic
#8E2AA8 #A88E2A #2AA88E
tetradic
#8E2AA8 #A84F2A #44A82A #2A83A8
square
#8E2AA8 #A84F2A #44A82A #2A83A8
split-complementary
#8E2AA8 #83A82A #2AA84F
monochromatic
#3B1246 #651E77 #8E2AA8 #B240CF #C571DB

Accessibility & contrast

On white

6.89
#8E2AA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2AA8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AA8#FFFFFF#000000##FFFFFF
##8E2AA81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#305DA5
Tritanopia (blue-blind)
#8D4467
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2aa8;
/* rgb */ color: rgb(142, 42, 168);
/* oklch */ color: oklch(49.4% 0.200 318.3);
Tailwind
colors: {
  custom: {
    50: '#b36ec2',
    500: '#8e2aa8',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aa8;
$custom-light: #b36ec2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aa8",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 168
  },
  "hsl": {
    "h": 287.619,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49375,
    "c": 0.19977,
    "h": 318.3
  },
  "luminance": 0.10234
}

Semantic roles & 50–950 ramp

primary
#8E2AA8
secondary
#7DC36B
accent
#E34565
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2AA8

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

Preview Lab → · Contrast checker → · Palette generator →

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