#8E2D99#8E2D99

#8E2D99 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.183 H 323.5°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#8E2D99
RGBrgb(142, 45, 153)
HSLhsl(294, 55%, 39%)
HSVhsv(294, 71%, 60%)
CMYKcmyk(7.2%, 70.6%, 0%, 40%)
CIE-LABlab(37.71, 54.77, -39.11)
CIE-LCHlch(37.71, 67.30, 324.47°)
OKLaboklab(48.68% 0.1472 -0.109)
OKLCHoklch(48.68% 0.183 323.5)
XYZxyz(17.8430, 9.9285, 31.1074)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2D99 #38992D
analogous
#582D99 #8E2D99 #992D6E
triadic
#8E2D99 #998E2D #2D998E
tetradic
#8E2D99 #99582D #38992D #2D6E99
square
#8E2D99 #99582D #38992D #2D6E99
split-complementary
#8E2D99 #6E992D #2D9958
monochromatic
#36113A #621F6A #8E2D99 #B83DC6 #C96CD4

Accessibility & contrast

On white

7.03
#8E2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8E2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2D99
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2D99#FFFFFF#000000##FFFFFF
##8E2D991.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C519C
Deuteranopia (green-blind)
#3F5D96
Tritanopia (blue-blind)
#903F60
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8e2d99;
/* rgb */ color: rgb(142, 45, 153);
/* oklch */ color: oklch(48.7% 0.183 323.5);
Tailwind
colors: {
  custom: {
    50: '#b26fb7',
    500: '#8e2d99',
    950: '#000000',
  },
}
SCSS
$custom: #8e2d99;
$custom-light: #b26fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2d99",
  "rgb": {
    "r": 142,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 293.889,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48684,
    "c": 0.18317,
    "h": 323.5
  },
  "luminance": 0.09927
}

Semantic roles & 50–950 ramp

primary
#8E2D99
secondary
#6FBB67
accent
#DE4A59
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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