#8E2DA1#8E2DA1

#8E2DA1 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.190 H 320.6°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8E2DA1
RGBrgb(142, 45, 161)
HSLhsl(290, 56%, 40%)
HSVhsv(290, 72%, 63%)
CMYKcmyk(11.8%, 72%, 0%, 36.9%)
CIE-LABlab(38.20, 56.27, -43.17)
CIE-LCHlch(38.20, 70.92, 322.51°)
OKLaboklab(49.19% 0.1469 -0.1208)
OKLCHoklch(49.19% 0.19 320.6)
XYZxyz(18.5260, 10.2017, 34.7046)
Luminance0.1020 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2DA1 #40A12D
analogous
#542DA1 #8E2DA1 #A12D7A
triadic
#8E2DA1 #A18E2D #2DA18E
tetradic
#8E2DA1 #A1542D #40A12D #2D7AA1
square
#8E2DA1 #A1542D #40A12D #2D7AA1
split-complementary
#8E2DA1 #7AA12D #2DA154
monochromatic
#3A1241 #642071 #8E2DA1 #B441CA #C771D7

Accessibility & contrast

On white

6.91
#8E2DA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8E2DA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2DA1
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2DA1#FFFFFF#000000##FFFFFF
##8E2DA11.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e2da1;
/* rgb */ color: rgb(142, 45, 161);
/* oklch */ color: oklch(49.2% 0.190 320.6);
Tailwind
colors: {
  custom: {
    50: '#b36fbd',
    500: '#8e2da1',
    950: '#000000',
  },
}
SCSS
$custom: #8e2da1;
$custom-light: #b36fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2da1",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 161
  },
  "hsl": {
    "h": 290.172,
    "s": 56.311,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4919,
    "c": 0.1902,
    "h": 320.6
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#8E2DA1
secondary
#79BF6B
accent
#E04861
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8E2DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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