#8E2A9C#8E2A9C

#8E2A9C is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.189 H 322.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8E2A9C
RGBrgb(142, 42, 156)
HSLhsl(293, 58%, 39%)
HSVhsv(293, 73%, 61%)
CMYKcmyk(9%, 73.1%, 0%, 38.8%)
CIE-LABlab(37.50, 56.46, -41.28)
CIE-LCHlch(37.50, 69.94, 323.83°)
OKLaboklab(48.59% 0.1502 -0.1153)
OKLCHoklch(48.59% 0.189 322.5)
XYZxyz(17.9834, 9.8080, 32.3920)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2A9C #389C2A
analogous
#552A9C #8E2A9C #9C2A71
triadic
#8E2A9C #9C8E2A #2A9C8E
tetradic
#8E2A9C #9C552A #389C2A #2A719C
square
#8E2A9C #9C552A #389C2A #2A719C
split-complementary
#8E2A9C #719C2A #2A9C55
monochromatic
#36103C #621D6C #8E2A9C #B839CA #C96AD7

Accessibility & contrast

On white

7.09
#8E2A9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E2A9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2A9C
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2A9C#FFFFFF#000000##FFFFFF
##8E2A9C1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00519F
Deuteranopia (green-blind)
#3B5C99
Tritanopia (blue-blind)
#903F61
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e2a9c;
/* rgb */ color: rgb(142, 42, 156);
/* oklch */ color: oklch(48.6% 0.189 322.5);
Tailwind
colors: {
  custom: {
    50: '#b36eba',
    500: '#8e2a9c',
    950: '#000000',
  },
}
SCSS
$custom: #8e2a9c;
$custom-light: #b36eba;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2a9c",
  "rgb": {
    "r": 142,
    "g": 42,
    "b": 156
  },
  "hsl": {
    "h": 292.632,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48586,
    "c": 0.18935,
    "h": 322.5
  },
  "luminance": 0.09807
}

Semantic roles & 50–950 ramp

primary
#8E2A9C
secondary
#6FBD65
accent
#E1475A
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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