#8E2AA0#8E2AA0

#8E2AA0 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.193 H 321.1°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8E2AA0
RGBrgb(142, 42, 160)
HSLhsl(291, 58%, 40%)
HSVhsv(291, 74%, 63%)
CMYKcmyk(11.2%, 73.8%, 0%, 37.3%)
CIE-LABlab(37.74, 57.20, -43.30)
CIE-LCHlch(37.74, 71.74, 322.88°)
OKLaboklab(48.84% 0.15 -0.1212)
OKLCHoklch(48.84% 0.193 321.1)
XYZxyz(18.3277, 9.9458, 34.2052)
Luminance0.0994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AA0 #3CA02A
analogous
#532AA0 #8E2AA0 #A02A77
triadic
#8E2AA0 #A08E2A #2AA08E
tetradic
#8E2AA0 #A0532A #3CA02A #2A77A0
square
#8E2AA0 #A0532A #3CA02A #2A77A0
split-complementary
#8E2AA0 #77A02A #2AA053
monochromatic
#38113F #631D70 #8E2AA0 #B63CCC #C86CD8

Accessibility & contrast

On white

7.03
#8E2AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E2AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2AA0
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AA0#FFFFFF#000000##FFFFFF
##8E2AA01.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#385C9D
Tritanopia (blue-blind)
#8F4163
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2aa0;
/* rgb */ color: rgb(142, 42, 160);
/* oklch */ color: oklch(48.8% 0.193 321.1);
Tailwind
colors: {
  custom: {
    50: '#b36ebd',
    500: '#8e2aa0',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aa0;
$custom-light: #b36ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aa0",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 290.847,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.48844,
    "c": 0.19279,
    "h": 321.1
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#8E2AA0
secondary
#74BF67
accent
#E2465E
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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