#8E1482#8E1482

#8E1482 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.4% C 0.190 H 333.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8E1482
RGBrgb(142, 20, 130)
HSLhsl(306, 75%, 32%)
HSVhsv(306, 86%, 56%)
CMYKcmyk(0%, 85.9%, 8.5%, 44.3%)
CIE-LABlab(33.70, 58.57, -31.35)
CIE-LCHlch(33.70, 66.43, 331.84°)
OKLaboklab(45.39% 0.1692 -0.0863)
OKLCHoklch(45.39% 0.19 333)
XYZxyz(15.4349, 7.8642, 21.8198)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1482 #148E20
analogous
#5D148E #8E1482 #8E1445
triadic
#8E1482 #828E14 #14828E
tetradic
#8E1482 #8E5D14 #148E20 #14458E
square
#8E1482 #8E5D14 #148E20 #14458E
split-complementary
#8E1482 #458E14 #148E5D
monochromatic
#230520 #580C51 #8E1482 #C41CB3 #E339D2

Accessibility & contrast

On white

8.16
#8E1482 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8E1482 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1482
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1482#FFFFFF#000000##FFFFFF
##8E14821.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094485
Deuteranopia (green-blind)
#42557F
Tritanopia (blue-blind)
#95254D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1482;
/* rgb */ color: rgb(142, 20, 130);
/* oklch */ color: oklch(45.4% 0.190 333.0);
Tailwind
colors: {
  custom: {
    50: '#b365a7',
    500: '#8e1482',
    950: '#000000',
  },
}
SCSS
$custom: #8e1482;
$custom-light: #b365a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1482",
  "rgb": {
    "r": 142,
    "g": 20,
    "b": 130
  },
  "hsl": {
    "h": 305.902,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45385,
    "c": 0.18996,
    "h": 333
  },
  "luminance": 0.07863
}

Semantic roles & 50–950 ramp

primary
#8E1482
secondary
#3CC249
accent
#F24836
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1482

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

Preview Lab → · Contrast checker → · Palette generator →

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