#8E1984#8E1984

#8E1984 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.187 H 332.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#8E1984
RGBrgb(142, 25, 132)
HSLhsl(305, 70%, 33%)
HSVhsv(305, 82%, 56%)
CMYKcmyk(0%, 82.4%, 7%, 44.3%)
CIE-LABlab(34.22, 57.70, -31.78)
CIE-LCHlch(34.22, 65.87, 331.16°)
OKLaboklab(45.79% 0.1658 -0.0875)
OKLCHoklch(45.79% 0.187 332.2)
XYZxyz(15.6679, 8.1133, 22.5662)
Luminance0.0811 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1984 #198E23
analogous
#5D198E #8E1984 #8E194A
triadic
#8E1984 #848E19 #19848E
tetradic
#8E1984 #8E5D19 #198E23 #194A8E
square
#8E1984 #8E5D19 #198E23 #194A8E
split-complementary
#8E1984 #4A8E19 #198E5D
monochromatic
#260723 #5A1054 #8E1984 #C222B4 #DE43D1

Accessibility & contrast

On white

8.01
#8E1984 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8E1984 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1984
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1984#FFFFFF#000000##FFFFFF
##8E19841.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4687
Deuteranopia (green-blind)
#425681
Tritanopia (blue-blind)
#94294F
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1984;
/* rgb */ color: rgb(142, 25, 132);
/* oklch */ color: oklch(45.8% 0.187 332.2);
Tailwind
colors: {
  custom: {
    50: '#b366a8',
    500: '#8e1984',
    950: '#000000',
  },
}
SCSS
$custom: #8e1984;
$custom-light: #b366a8;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1984",
  "rgb": {
    "r": 142,
    "g": 25,
    "b": 132
  },
  "hsl": {
    "h": 305.128,
    "s": 70.06,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.18748,
    "h": 332.2
  },
  "luminance": 0.08112
}

Semantic roles & 50–950 ramp

primary
#8E1984
secondary
#44BF4E
accent
#ED4A3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1984

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

Preview Lab → · Contrast checker → · Palette generator →

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