#8E2AA4#8E2AA4

#8E2AA4 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.1% C 0.196 H 319.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#8E2AA4
RGBrgb(142, 42, 164)
HSLhsl(289, 59%, 40%)
HSVhsv(289, 74%, 64%)
CMYKcmyk(13.4%, 74.4%, 0%, 35.7%)
CIE-LABlab(38.00, 57.96, -45.29)
CIE-LCHlch(38.00, 73.56, 322.00°)
OKLaboklab(49.11% 0.1496 -0.127)
OKLCHoklch(49.11% 0.196 319.7)
XYZxyz(18.6833, 10.0880, 36.0778)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AA4 #40A42A
analogous
#512AA4 #8E2AA4 #A42A7D
triadic
#8E2AA4 #A48E2A #2AA48E
tetradic
#8E2AA4 #A4512A #40A42A #2A7DA4
square
#8E2AA4 #A4512A #40A42A #2A7DA4
split-complementary
#8E2AA4 #7DA42A #2AA451
monochromatic
#3A1143 #641E73 #8E2AA4 #B43ECD #C76EDA

Accessibility & contrast

On white

6.96
#8E2AA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8E2AA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AA4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AA4#FFFFFF#000000##FFFFFF
##8E2AA41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#345DA1
Tritanopia (blue-blind)
#8E4265
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2aa4;
/* rgb */ color: rgb(142, 42, 164);
/* oklch */ color: oklch(49.1% 0.196 319.7);
Tailwind
colors: {
  custom: {
    50: '#b36ec0',
    500: '#8e2aa4',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aa4;
$custom-light: #b36ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aa4",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 289.18,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49107,
    "c": 0.19627,
    "h": 319.7
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#8E2AA4
secondary
#79C169
accent
#E24562
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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