#8E1C82#8E1C82

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

Color values

HEX#8E1C82
RGBrgb(142, 28, 130)
HSLhsl(306, 67%, 33%)
HSVhsv(306, 80%, 56%)
CMYKcmyk(0%, 80.3%, 8.5%, 44.3%)
CIE-LABlab(34.38, 56.58, -30.27)
CIE-LCHlch(34.38, 64.17, 331.86°)
OKLaboklab(45.87% 0.1634 -0.0832)
OKLCHoklch(45.87% 0.183 333)
XYZxyz(15.6000, 8.1944, 21.8748)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1C82 #1C8E28
analogous
#611C8E #8E1C82 #8E1C49
triadic
#8E1C82 #828E1C #1C828E
tetradic
#8E1C82 #8E611C #1C8E28 #1C498E
square
#8E1C82 #8E611C #1C8E28 #1C498E
split-complementary
#8E1C82 #498E1C #1C8E61
monochromatic
#280824 #5B1253 #8E1C82 #C126B1 #DB49CC

Accessibility & contrast

On white

7.96
#8E1C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E1C82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1C82
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1C82#FFFFFF#000000##FFFFFF
##8E1C821.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154785
Deuteranopia (green-blind)
#44567F
Tritanopia (blue-blind)
#95294E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1c82;
/* rgb */ color: rgb(142, 28, 130);
/* oklch */ color: oklch(45.9% 0.183 333.0);
Tailwind
colors: {
  custom: {
    50: '#b367a6',
    500: '#8e1c82',
    950: '#000000',
  },
}
SCSS
$custom: #8e1c82;
$custom-light: #b367a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1c82",
  "rgb": {
    "r": 142,
    "g": 28,
    "b": 130
  },
  "hsl": {
    "h": 306.316,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45874,
    "c": 0.18337,
    "h": 333
  },
  "luminance": 0.08193
}

Semantic roles & 50–950 ramp

primary
#8E1C82
secondary
#49BD55
accent
#EA503E
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1C82

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

Preview Lab → · Contrast checker → · Palette generator →

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