#8E2AA1#8E2AA1

#8E2AA1 is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.194 H 320.7°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#8E2AA1
RGBrgb(142, 42, 161)
HSLhsl(290, 59%, 40%)
HSVhsv(290, 74%, 63%)
CMYKcmyk(11.8%, 73.9%, 0%, 36.9%)
CIE-LABlab(37.81, 57.39, -43.80)
CIE-LCHlch(37.81, 72.19, 322.65°)
OKLaboklab(48.91% 0.1499 -0.1226)
OKLCHoklch(48.91% 0.194 320.7)
XYZxyz(18.4156, 9.9809, 34.6678)
Luminance0.0998 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2AA1 #3DA12A
analogous
#522AA1 #8E2AA1 #A12A79
triadic
#8E2AA1 #A18E2A #2AA18E
tetradic
#8E2AA1 #A1522A #3DA12A #2A79A1
square
#8E2AA1 #A1522A #3DA12A #2A79A1
split-complementary
#8E2AA1 #79A12A #2AA152
monochromatic
#381140 #631D70 #8E2AA1 #B53CCC #C86DD9

Accessibility & contrast

On white

7.01
#8E2AA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#8E2AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2AA1
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2AA1#FFFFFF#000000##FFFFFF
##8E2AA11.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#375C9E
Tritanopia (blue-blind)
#8F4163
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2aa1;
/* rgb */ color: rgb(142, 42, 161);
/* oklch */ color: oklch(48.9% 0.194 320.7);
Tailwind
colors: {
  custom: {
    50: '#b36ebd',
    500: '#8e2aa1',
    950: '#000000',
  },
}
SCSS
$custom: #8e2aa1;
$custom-light: #b36ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2aa1",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 161
  },
  "hsl": {
    "h": 290.42,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.48909,
    "c": 0.19367,
    "h": 320.7
  },
  "luminance": 0.0998
}

Semantic roles & 50–950 ramp

primary
#8E2AA1
secondary
#75C067
accent
#E2465F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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