#8E1F80#8E1F80

#8E1F80 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.0% C 0.179 H 333.9°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8E1F80
RGBrgb(142, 31, 128)
HSLhsl(308, 64%, 34%)
HSVhsv(308, 78%, 56%)
CMYKcmyk(0%, 78.2%, 9.9%, 44.3%)
CIE-LABlab(34.58, 55.39, -28.71)
CIE-LCHlch(34.58, 62.39, 332.60°)
OKLaboklab(45.98% 0.1608 -0.0787)
OKLCHoklch(45.98% 0.179 333.9)
XYZxyz(15.5417, 8.2906, 21.1996)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1F80 #1F8E2D
analogous
#651F8E #8E1F80 #8E1F49
triadic
#8E1F80 #808E1F #1F808E
tetradic
#8E1F80 #8E651F #1F8E2D #1F498E
square
#8E1F80 #8E651F #1F8E2D #1F498E
split-complementary
#8E1F80 #498E1F #1F8E65
monochromatic
#2A0925 #5C1453 #8E1F80 #C02AAD #D94FC7

Accessibility & contrast

On white

7.90
#8E1F80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E1F80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1F80
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1F80#FFFFFF#000000##FFFFFF
##8E1F801.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4783
Deuteranopia (green-blind)
#46577D
Tritanopia (blue-blind)
#952A4E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1f80;
/* rgb */ color: rgb(142, 31, 128);
/* oklch */ color: oklch(46.0% 0.179 333.9);
Tailwind
colors: {
  custom: {
    50: '#b368a5',
    500: '#8e1f80',
    950: '#000000',
  },
}
SCSS
$custom: #8e1f80;
$custom-light: #b368a5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1f80",
  "rgb": {
    "r": 142,
    "g": 31,
    "b": 128
  },
  "hsl": {
    "h": 307.568,
    "s": 64.162,
    "l": 33.922
  },
  "oklch": {
    "l": 0.4598,
    "c": 0.17899,
    "h": 333.9
  },
  "luminance": 0.08289
}

Semantic roles & 50–950 ramp

primary
#8E1F80
secondary
#4DBB5B
accent
#E75641
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1F80

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

Preview Lab → · Contrast checker → · Palette generator →

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