#8E1082#8E1082

#8E1082 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.2% C 0.193 H 333.0°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#8E1082
RGBrgb(142, 16, 130)
HSLhsl(306, 80%, 31%)
HSVhsv(306, 89%, 56%)
CMYKcmyk(0%, 88.7%, 8.5%, 44.3%)
CIE-LABlab(33.42, 59.37, -31.79)
CIE-LCHlch(33.42, 67.35, 331.84°)
OKLaboklab(45.19% 0.1716 -0.0875)
OKLCHoklch(45.19% 0.193 333)
XYZxyz(15.3700, 7.7345, 21.7982)
Luminance0.0773 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1082 #108E1C
analogous
#5B108E #8E1082 #8E1043
triadic
#8E1082 #828E10 #10828E
tetradic
#8E1082 #8E5B10 #108E1C #10438E
square
#8E1082 #8E5B10 #108E1C #10438E
split-complementary
#8E1082 #438E10 #108E5B
monochromatic
#20041D #570A50 #8E1082 #C516B4 #E831D6

Accessibility & contrast

On white

8.25
#8E1082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#8E1082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1082
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1082#FFFFFF#000000##FFFFFF
##8E10821.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034485
Deuteranopia (green-blind)
#41557F
Tritanopia (blue-blind)
#95234C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1082;
/* rgb */ color: rgb(142, 16, 130);
/* oklch */ color: oklch(45.2% 0.193 333.0);
Tailwind
colors: {
  custom: {
    50: '#b364a7',
    500: '#8e1082',
    950: '#000000',
  },
}
SCSS
$custom: #8e1082;
$custom-light: #b364a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1082",
  "rgb": {
    "r": 142,
    "g": 16,
    "b": 130
  },
  "hsl": {
    "h": 305.714,
    "s": 79.747,
    "l": 30.98
  },
  "oklch": {
    "l": 0.4519,
    "c": 0.19262,
    "h": 333
  },
  "luminance": 0.07733
}

Semantic roles & 50–950 ramp

primary
#8E1082
secondary
#37C344
accent
#F64432
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8E1082

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

Preview Lab → · Contrast checker → · Palette generator →

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