#8E2999#8E2999

#8E2999 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.188 H 323.6°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8E2999
RGBrgb(142, 41, 153)
HSLhsl(294, 58%, 38%)
HSVhsv(294, 73%, 60%)
CMYKcmyk(7.2%, 73.2%, 0%, 40%)
CIE-LABlab(37.18, 56.27, -39.96)
CIE-LCHlch(37.18, 69.02, 324.62°)
OKLaboklab(48.31% 0.1513 -0.1114)
OKLCHoklch(48.31% 0.188 323.6)
XYZxyz(17.6975, 9.6376, 31.0589)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2999 #349929
analogous
#562999 #8E2999 #99296C
triadic
#8E2999 #998E29 #29998E
tetradic
#8E2999 #995629 #349929 #296C99
square
#8E2999 #995629 #349929 #296C99
split-complementary
#8E2999 #6C9929 #299956
monochromatic
#340F38 #611C69 #8E2999 #BB36C9 #CB66D6

Accessibility & contrast

On white

7.17
#8E2999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8E2999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2999
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2999#FFFFFF#000000##FFFFFF
##8E29991.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509C
Deuteranopia (green-blind)
#3C5B96
Tritanopia (blue-blind)
#903D5F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8e2999;
/* rgb */ color: rgb(142, 41, 153);
/* oklch */ color: oklch(48.3% 0.188 323.6);
Tailwind
colors: {
  custom: {
    50: '#b36db7',
    500: '#8e2999',
    950: '#000000',
  },
}
SCSS
$custom: #8e2999;
$custom-light: #b36db7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2999",
  "rgb": {
    "r": 142,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 294.107,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.48305,
    "c": 0.18793,
    "h": 323.6
  },
  "luminance": 0.09637
}

Semantic roles & 50–950 ramp

primary
#8E2999
secondary
#6ABC62
accent
#E14756
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2999

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

Preview Lab → · Contrast checker → · Palette generator →

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