#8E1882#8E1882

#8E1882 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.187 H 333.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#8E1882
RGBrgb(142, 24, 130)
HSLhsl(306, 71%, 33%)
HSVhsv(306, 83%, 56%)
CMYKcmyk(0%, 83.1%, 8.5%, 44.3%)
CIE-LABlab(34.02, 57.64, -30.84)
CIE-LCHlch(34.02, 65.37, 331.85°)
OKLaboklab(45.61% 0.1665 -0.0848)
OKLCHoklch(45.61% 0.187 333)
XYZxyz(15.5113, 8.0171, 21.8453)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1882 #188E24
analogous
#5F188E #8E1882 #8E1847
triadic
#8E1882 #828E18 #18828E
tetradic
#8E1882 #8E5F18 #188E24 #18478E
square
#8E1882 #8E5F18 #188E24 #18478E
split-complementary
#8E1882 #478E18 #188E5F
monochromatic
#250622 #5A0F52 #8E1882 #C221B2 #DF41CF

Accessibility & contrast

On white

8.07
#8E1882 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8E1882 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1882
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1882#FFFFFF#000000##FFFFFF
##8E18821.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1882;
/* rgb */ color: rgb(142, 24, 130);
/* oklch */ color: oklch(45.6% 0.187 333.0);
Tailwind
colors: {
  custom: {
    50: '#b366a7',
    500: '#8e1882',
    950: '#000000',
  },
}
SCSS
$custom: #8e1882;
$custom-light: #b366a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1882",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 130
  },
  "hsl": {
    "h": 306.102,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.45613,
    "c": 0.18687,
    "h": 333
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#8E1882
secondary
#42C04F
accent
#EE4C3A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1882

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

Preview Lab → · Contrast checker → · Palette generator →

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