#8E2E8A#8E2E8A

#8E2E8A is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.169 H 329.6°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#8E2E8A
RGBrgb(142, 46, 138)
HSLhsl(303, 51%, 37%)
HSVhsv(303, 68%, 56%)
CMYKcmyk(0%, 67.6%, 2.8%, 44.3%)
CIE-LABlab(37.01, 51.68, -31.08)
CIE-LCHlch(37.01, 60.31, 328.98°)
OKLaboklab(47.9% 0.1458 -0.0857)
OKLCHoklch(47.9% 0.169 329.6)
XYZxyz(16.7196, 9.5410, 25.0008)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2E8A #2E8E32
analogous
#622E8E #8E2E8A #8E2E5A
triadic
#8E2E8A #8A8E2E #2E8A8E
tetradic
#8E2E8A #8E622E #2E8E32 #2E5A8E
square
#8E2E8A #8E622E #2E8E32 #2E5A8E
split-complementary
#8E2E8A #5A8E2E #2E8E62
monochromatic
#321030 #601F5D #8E2E8A #BC3DB7 #CE68CA

Accessibility & contrast

On white

7.22
#8E2E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#8E2E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2E8A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2E8A#FFFFFF#000000##FFFFFF
##8E2E8A1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#485C87
Tritanopia (blue-blind)
#933A58
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2e8a;
/* rgb */ color: rgb(142, 46, 138);
/* oklch */ color: oklch(47.9% 0.169 329.6);
Tailwind
colors: {
  custom: {
    50: '#b26fac',
    500: '#8e2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #8e2e8a;
$custom-light: #b26fac;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2e8a",
  "rgb": {
    "r": 142,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 302.5,
    "s": 51.064,
    "l": 36.863
  },
  "oklch": {
    "l": 0.479,
    "c": 0.16912,
    "h": 329.6
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#8E2E8A
secondary
#63B566
accent
#DB534D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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