#8E2AA5#8E2AA5

#8E2AA5 is a mid, vivid purple. Relative luminance 0.101; OKLCH L 49.2% C 0.197 H 319.3°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8E2AA5
RGBrgb(142, 42, 165)
HSLhsl(289, 59%, 41%)
HSVhsv(289, 75%, 65%)
CMYKcmyk(13.9%, 74.5%, 0%, 35.3%)
CIE-LABlab(38.06, 58.15, -45.79)
CIE-LCHlch(38.06, 74.02, 321.78°)
OKLaboklab(49.17% 0.1495 -0.1285)
OKLCHoklch(49.17% 0.197 319.3)
XYZxyz(18.7739, 10.1242, 36.5553)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AA5 #41A52A
analogous
#502AA5 #8E2AA5 #A52A7F
triadic
#8E2AA5 #A58E2A #2AA58E
tetradic
#8E2AA5 #A5502A #41A52A #2A7FA5
square
#8E2AA5 #A5502A #41A52A #2A7FA5
split-complementary
#8E2AA5 #7FA52A #2AA550
monochromatic
#3A1143 #641E74 #8E2AA5 #B33ECE #C66FDA

Accessibility & contrast

On white

6.94
#8E2AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8E2AA5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AA5#FFFFFF#000000##FFFFFF
##8E2AA51.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#335DA2
Tritanopia (blue-blind)
#8E4366
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2aa5;
/* rgb */ color: rgb(142, 42, 165);
/* oklch */ color: oklch(49.2% 0.197 319.3);
Tailwind
colors: {
  custom: {
    50: '#b36ec0',
    500: '#8e2aa5',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aa5;
$custom-light: #b36ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aa5",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 165
  },
  "hsl": {
    "h": 288.78,
    "s": 59.42,
    "l": 40.588
  },
  "oklch": {
    "l": 0.49174,
    "c": 0.19715,
    "h": 319.3
  },
  "luminance": 0.10123
}

Semantic roles & 50–950 ramp

primary
#8E2AA5
secondary
#7AC169
accent
#E34563
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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