#8E2C91#8E2C91

#8E2C91 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.178 H 326.7°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8E2C91
RGBrgb(142, 44, 145)
HSLhsl(298, 53%, 37%)
HSVhsv(298, 70%, 57%)
CMYKcmyk(2.1%, 69.7%, 0%, 43.1%)
CIE-LABlab(37.11, 53.71, -35.20)
CIE-LCHlch(37.11, 64.22, 326.75°)
OKLaboklab(48.1% 0.1483 -0.0976)
OKLCHoklch(48.1% 0.178 326.7)
XYZxyz(17.1665, 9.5976, 27.7309)
Luminance0.0960 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2C91 #2F912C
analogous
#5C2C91 #8E2C91 #912C62
triadic
#8E2C91 #918E2C #2C918E
tetradic
#8E2C91 #915C2C #2F912C #2C6291
square
#8E2C91 #915C2C #2F912C #2C6291
split-complementary
#8E2C91 #62912C #2C915C
monochromatic
#321033 #601E62 #8E2C91 #BC3AC0 #CE67D1

Accessibility & contrast

On white

7.19
#8E2C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8E2C91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2C91
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2C91#FFFFFF#000000##FFFFFF
##8E2C911.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194F94
Deuteranopia (green-blind)
#435C8E
Tritanopia (blue-blind)
#923B5B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2c91;
/* rgb */ color: rgb(142, 44, 145);
/* oklch */ color: oklch(48.1% 0.178 326.7);
Tailwind
colors: {
  custom: {
    50: '#b26eb2',
    500: '#8e2c91',
    950: '#000000',
  },
}
SCSS
$custom: #8e2c91;
$custom-light: #b26eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2c91",
  "rgb": {
    "r": 142,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 298.218,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48101,
    "c": 0.17756,
    "h": 326.7
  },
  "luminance": 0.09596
}

Semantic roles & 50–950 ramp

primary
#8E2C91
secondary
#64B762
accent
#DD4B4F
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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