#8E1E82#8E1E82

#8E1E82 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.181 H 333.0°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8E1E82
RGBrgb(142, 30, 130)
HSLhsl(306, 65%, 34%)
HSVhsv(306, 79%, 56%)
CMYKcmyk(0%, 78.9%, 8.5%, 44.3%)
CIE-LABlab(34.58, 56.01, -29.95)
CIE-LCHlch(34.58, 63.51, 331.86°)
OKLaboklab(46.02% 0.1617 -0.0823)
OKLCHoklch(46.02% 0.181 333)
XYZxyz(15.6490, 8.2924, 21.8912)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E82 #1E8E2A
analogous
#621E8E #8E1E82 #8E1E4A
triadic
#8E1E82 #828E1E #1E828E
tetradic
#8E1E82 #8E621E #1E8E2A #1E4A8E
square
#8E1E82 #8E621E #1E8E2A #1E4A8E
split-complementary
#8E1E82 #4A8E1E #1E8E62
monochromatic
#290925 #5B1354 #8E1E82 #C129B0 #D94DCA

Accessibility & contrast

On white

7.90
#8E1E82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E1E82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E82
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E82#FFFFFF#000000##FFFFFF
##8E1E821.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8e1e82;
/* rgb */ color: rgb(142, 30, 130);
/* oklch */ color: oklch(46.0% 0.181 333.0);
Tailwind
colors: {
  custom: {
    50: '#b368a6',
    500: '#8e1e82',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e82;
$custom-light: #b368a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e82",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 130
  },
  "hsl": {
    "h": 306.429,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.46018,
    "c": 0.18146,
    "h": 333
  },
  "luminance": 0.08291
}

Semantic roles & 50–950 ramp

primary
#8E1E82
secondary
#4CBC58
accent
#E85240
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1E82

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

Preview Lab → · Contrast checker → · Palette generator →

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