#8E1B80#8E1B80

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

Color values

HEX#8E1B80
RGBrgb(142, 27, 128)
HSLhsl(307, 68%, 33%)
HSVhsv(307, 81%, 56%)
CMYKcmyk(0%, 81%, 9.9%, 44.3%)
CIE-LABlab(34.18, 56.55, -29.34)
CIE-LCHlch(34.18, 63.71, 332.58°)
OKLaboklab(45.69% 0.1642 -0.0805)
OKLCHoklch(45.69% 0.183 333.9)
XYZxyz(15.4437, 8.0945, 21.1669)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1B80 #1B8E29
analogous
#621B8E #8E1B80 #8E1B47
triadic
#8E1B80 #808E1B #1B808E
tetradic
#8E1B80 #8E621B #1B8E29 #1B478E
square
#8E1B80 #8E621B #1B8E29 #1B478E
split-complementary
#8E1B80 #478E1B #1B8E62
monochromatic
#270723 #5B1152 #8E1B80 #C125AE #DC47CA

Accessibility & contrast

On white

8.02
#8E1B80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1B80
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1B80#FFFFFF#000000##FFFFFF
##8E1B801.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174683
Deuteranopia (green-blind)
#45567D
Tritanopia (blue-blind)
#95284D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8e1b80;
/* rgb */ color: rgb(142, 27, 128);
/* oklch */ color: oklch(45.7% 0.183 333.9);
Tailwind
colors: {
  custom: {
    50: '#b367a5',
    500: '#8e1b80',
    950: '#000000',
  },
}
SCSS
$custom: #8e1b80;
$custom-light: #b367a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1b80",
  "rgb": {
    "r": 142,
    "g": 27,
    "b": 128
  },
  "hsl": {
    "h": 307.304,
    "s": 68.047,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45692,
    "c": 0.18284,
    "h": 333.9
  },
  "luminance": 0.08093
}

Semantic roles & 50–950 ramp

primary
#8E1B80
secondary
#47BE55
accent
#EB523D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1B80

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

Preview Lab → · Contrast checker → · Palette generator →

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