#8E1D82#8E1D82

#8E1D82 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.9% C 0.182 H 333.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8E1D82
RGBrgb(142, 29, 130)
HSLhsl(306, 66%, 34%)
HSVhsv(306, 80%, 56%)
CMYKcmyk(0%, 79.6%, 8.5%, 44.3%)
CIE-LABlab(34.48, 56.30, -30.11)
CIE-LCHlch(34.48, 63.84, 331.86°)
OKLaboklab(45.95% 0.1626 -0.0827)
OKLCHoklch(45.95% 0.182 333)
XYZxyz(15.6241, 8.2426, 21.8829)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D82 #1D8E29
analogous
#611D8E #8E1D82 #8E1D49
triadic
#8E1D82 #828E1D #1D828E
tetradic
#8E1D82 #8E611D #1D8E29 #1D498E
square
#8E1D82 #8E611D #1D8E29 #1D498E
split-complementary
#8E1D82 #498E1D #1D8E61
monochromatic
#280825 #5B1353 #8E1D82 #C127B1 #DA4BCB

Accessibility & contrast

On white

7.93
#8E1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8E1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D82
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D82#FFFFFF#000000##FFFFFF
##8E1D821.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#45577F
Tritanopia (blue-blind)
#952A4F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1d82;
/* rgb */ color: rgb(142, 29, 130);
/* oklch */ color: oklch(45.9% 0.182 333.0);
Tailwind
colors: {
  custom: {
    50: '#b367a6',
    500: '#8e1d82',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d82;
$custom-light: #b367a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d82",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 306.372,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.45945,
    "c": 0.18242,
    "h": 333
  },
  "luminance": 0.08241
}

Semantic roles & 50–950 ramp

primary
#8E1D82
secondary
#4ABD56
accent
#E9513F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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