#8E1A82#8E1A82

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

Color values

HEX#8E1A82
RGBrgb(142, 26, 130)
HSLhsl(306, 69%, 33%)
HSVhsv(306, 82%, 56%)
CMYKcmyk(0%, 81.7%, 8.5%, 44.3%)
CIE-LABlab(34.20, 57.13, -30.56)
CIE-LCHlch(34.20, 64.79, 331.85°)
OKLaboklab(45.74% 0.165 -0.084)
OKLCHoklch(45.74% 0.185 333)
XYZxyz(15.5541, 8.1026, 21.8595)
Luminance0.0810 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1A82 #1A8E26
analogous
#601A8E #8E1A82 #8E1A48
triadic
#8E1A82 #828E1A #1A828E
tetradic
#8E1A82 #8E601A #1A8E26 #1A488E
square
#8E1A82 #8E601A #1A8E26 #1A488E
split-complementary
#8E1A82 #488E1A #1A8E60
monochromatic
#270723 #5A1153 #8E1A82 #C223B1 #DD45CD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8E1A82#FFFFFF#000000##FFFFFF
##8E1A821.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)
#134685
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#95284E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1a82;
/* rgb */ color: rgb(142, 26, 130);
/* oklch */ color: oklch(45.7% 0.185 333.0);
Tailwind
colors: {
  custom: {
    50: '#b366a7',
    500: '#8e1a82',
    950: '#000000',
  },
}
SCSS
$custom: #8e1a82;
$custom-light: #b366a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1a82",
  "rgb": {
    "r": 142,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 306.207,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4574,
    "c": 0.18517,
    "h": 333
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#8E1A82
secondary
#45BE52
accent
#EC4E3C
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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