#8E2096#8E2096

#8E2096 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.195 H 325.0°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#8E2096
RGBrgb(142, 32, 150)
HSLhsl(296, 65%, 36%)
HSVhsv(296, 79%, 59%)
CMYKcmyk(5.3%, 78.7%, 0%, 41.2%)
CIE-LABlab(35.96, 58.72, -40.09)
CIE-LCHlch(35.96, 71.10, 325.68°)
OKLaboklab(47.37% 0.1597 -0.1117)
OKLCHoklch(47.37% 0.195 325)
XYZxyz(17.1764, 8.9870, 29.6782)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E2096 #289620
analogous
#532096 #8E2096 #962063
triadic
#8E2096 #968E20 #20968E
tetradic
#8E2096 #965320 #289620 #206396
square
#8E2096 #965320 #289620 #206396
split-complementary
#8E2096 #639620 #209653
monochromatic
#2E0A31 #5E1564 #8E2096 #BE2BC8 #D256DB

Accessibility & contrast

On white

7.51
#8E2096 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#8E2096 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E2096
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E2096#FFFFFF#000000##FFFFFF
##8E20961.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#91365B
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8e2096;
/* rgb */ color: rgb(142, 32, 150);
/* oklch */ color: oklch(47.4% 0.195 325.0);
Tailwind
colors: {
  custom: {
    50: '#b369b5',
    500: '#8e2096',
    950: '#000000',
  },
}
SCSS
$custom: #8e2096;
$custom-light: #b369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e2096",
  "rgb": {
    "r": 142,
    "g": 32,
    "b": 150
  },
  "hsl": {
    "h": 295.932,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47374,
    "c": 0.19492,
    "h": 325
  },
  "luminance": 0.08986
}

Semantic roles & 50–950 ramp

primary
#8E2096
secondary
#5BBE53
accent
#E8404B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E2096

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

Preview Lab → · Contrast checker → · Palette generator →

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