#8E2A9B#8E2A9B

#8E2A9B is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.188 H 322.9°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8E2A9B
RGBrgb(142, 42, 155)
HSLhsl(293, 57%, 39%)
HSVhsv(293, 73%, 61%)
CMYKcmyk(8.4%, 72.9%, 0%, 39.2%)
CIE-LABlab(37.43, 56.27, -40.77)
CIE-LCHlch(37.43, 69.49, 324.08°)
OKLaboklab(48.52% 0.1503 -0.1138)
OKLCHoklch(48.52% 0.188 322.9)
XYZxyz(17.8991, 9.7743, 31.9478)
Luminance0.0977 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A9B #379B2A
analogous
#552A9B #8E2A9B #9B2A6F
triadic
#8E2A9B #9B8E2A #2A9B8E
tetradic
#8E2A9B #9B552A #379B2A #2A6F9B
square
#8E2A9B #9B552A #379B2A #2A6F9B
split-complementary
#8E2A9B #6F9B2A #2A9B55
monochromatic
#36103B #621D6B #8E2A9B #B939C9 #CA69D6

Accessibility & contrast

On white

7.11
#8E2A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8E2A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A9B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A9B#FFFFFF#000000##FFFFFF
##8E2A9B1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519E
Deuteranopia (green-blind)
#3C5C98
Tritanopia (blue-blind)
#903E60
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2a9b;
/* rgb */ color: rgb(142, 42, 155);
/* oklch */ color: oklch(48.5% 0.188 322.9);
Tailwind
colors: {
  custom: {
    50: '#b36eb9',
    500: '#8e2a9b',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a9b;
$custom-light: #b36eb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a9b",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 293.097,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48523,
    "c": 0.18848,
    "h": 322.9
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#8E2A9B
secondary
#6EBD64
accent
#E14759
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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