#8E2CA1#8E2CA1

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

Color values

HEX#8E2CA1
RGBrgb(142, 44, 161)
HSLhsl(290, 57%, 40%)
HSVhsv(290, 73%, 63%)
CMYKcmyk(11.8%, 72.7%, 0%, 36.9%)
CIE-LABlab(38.07, 56.65, -43.38)
CIE-LCHlch(38.07, 71.35, 322.56°)
OKLaboklab(49.1% 0.1479 -0.1214)
OKLCHoklch(49.1% 0.191 320.6)
XYZxyz(18.4883, 10.1263, 34.6920)
Luminance0.1013 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2CA1 #3FA12C
analogous
#532CA1 #8E2CA1 #A12C7A
triadic
#8E2CA1 #A18E2C #2CA18E
tetradic
#8E2CA1 #A1532C #3FA12C #2C7AA1
square
#8E2CA1 #A1532C #3FA12C #2C7AA1
split-complementary
#8E2CA1 #7AA12C #2CA153
monochromatic
#391241 #641F71 #8E2CA1 #B440CB #C770D8

Accessibility & contrast

On white

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

On black

3.03
#8E2CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8E2CA1#FFFFFF#000000##FFFFFF
##8E2CA11.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A4
Deuteranopia (green-blind)
#385D9E
Tritanopia (blue-blind)
#8F4264
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e2ca1;
/* rgb */ color: rgb(142, 44, 161);
/* oklch */ color: oklch(49.1% 0.191 320.6);
Tailwind
colors: {
  custom: {
    50: '#b36fbd',
    500: '#8e2ca1',
    950: '#000000',
  },
}
SCSS
$custom: #8e2ca1;
$custom-light: #b36fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2ca1",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 161
  },
  "hsl": {
    "h": 290.256,
    "s": 57.073,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49095,
    "c": 0.19137,
    "h": 320.6
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#8E2CA1
secondary
#78BF6A
accent
#E04760
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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