#8E2BAA#8E2BAA

#8E2BAA is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.200 H 317.6°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8E2BAA
RGBrgb(142, 43, 170)
HSLhsl(287, 60%, 42%)
HSVhsv(287, 75%, 67%)
CMYKcmyk(16.5%, 74.7%, 0%, 33.3%)
CIE-LABlab(38.52, 58.76, -48.05)
CIE-LCHlch(38.52, 75.90, 320.72°)
OKLaboklab(49.6% 0.1481 -0.1351)
OKLCHoklch(49.6% 0.2 317.6)
XYZxyz(19.2739, 10.3817, 39.0110)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2BAA #47AA2B
analogous
#4F2BAA #8E2BAA #AA2B87
triadic
#8E2BAA #AA8E2B #2BAA8E
tetradic
#8E2BAA #AA4F2B #47AA2B #2B87AA
square
#8E2BAA #AA4F2B #47AA2B #2B87AA
split-complementary
#8E2BAA #87AA2B #2BAA4F
monochromatic
#3C1248 #651F79 #8E2BAA #B043CF #C574DC

Accessibility & contrast

On white

6.83
#8E2BAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#8E2BAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E2BAA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2BAA#FFFFFF#000000##FFFFFF
##8E2BAA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055AE
Deuteranopia (green-blind)
#2F5EA7
Tritanopia (blue-blind)
#8D4669
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e2baa;
/* rgb */ color: rgb(142, 43, 170);
/* oklch */ color: oklch(49.6% 0.200 317.6);
Tailwind
colors: {
  custom: {
    50: '#b36fc4',
    500: '#8e2baa',
    950: '#000000',
  },
}
SCSS
$custom: #8e2baa;
$custom-light: #b36fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2baa",
  "rgb": {
    "r": 142,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 286.772,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49601,
    "c": 0.20045,
    "h": 317.6
  },
  "luminance": 0.10381
}

Semantic roles & 50–950 ramp

primary
#8E2BAA
secondary
#80C36E
accent
#E34568
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8E2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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