#8E1982#8E1982

#8E1982 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.186 H 333.0°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8E1982
RGBrgb(142, 25, 130)
HSLhsl(306, 70%, 33%)
HSVhsv(306, 82%, 56%)
CMYKcmyk(0%, 82.4%, 8.5%, 44.3%)
CIE-LABlab(34.11, 57.39, -30.71)
CIE-LCHlch(34.11, 65.09, 331.85°)
OKLaboklab(45.68% 0.1658 -0.0844)
OKLCHoklch(45.68% 0.186 333)
XYZxyz(15.5323, 8.0591, 21.8523)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1982 #198E25
analogous
#60198E #8E1982 #8E1947
triadic
#8E1982 #828E19 #19828E
tetradic
#8E1982 #8E6019 #198E25 #19478E
square
#8E1982 #8E6019 #198E25 #19478E
split-complementary
#8E1982 #478E19 #198E60
monochromatic
#260723 #5A1052 #8E1982 #C222B2 #DE43CE

Accessibility & contrast

On white

8.04
#8E1982 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8E1982 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1982
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1982#FFFFFF#000000##FFFFFF
##8E19821.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114685
Deuteranopia (green-blind)
#43567F
Tritanopia (blue-blind)
#95284E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1982;
/* rgb */ color: rgb(142, 25, 130);
/* oklch */ color: oklch(45.7% 0.186 333.0);
Tailwind
colors: {
  custom: {
    50: '#b366a7',
    500: '#8e1982',
    950: '#000000',
  },
}
SCSS
$custom: #8e1982;
$custom-light: #b366a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1982",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 130
  },
  "hsl": {
    "h": 306.154,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45675,
    "c": 0.18604,
    "h": 333
  },
  "luminance": 0.08058
}

Semantic roles & 50–950 ramp

primary
#8E1982
secondary
#44BF50
accent
#ED4D3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1982

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

Preview Lab → · Contrast checker → · Palette generator →

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