#8E1281#8E1281

#8E1281 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.2% C 0.191 H 333.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#8E1281
RGBrgb(142, 18, 129)
HSLhsl(306, 78%, 31%)
HSVhsv(306, 87%, 56%)
CMYKcmyk(0%, 87.3%, 9.2%, 44.3%)
CIE-LABlab(33.50, 58.84, -31.04)
CIE-LCHlch(33.50, 66.52, 332.18°)
OKLaboklab(45.23% 0.1705 -0.0854)
OKLCHoklch(45.23% 0.191 333.4)
XYZxyz(15.3342, 7.7698, 21.4567)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1281 #128E1F
analogous
#5D128E #8E1281 #8E1243
triadic
#8E1281 #818E12 #12818E
tetradic
#8E1281 #8E5D12 #128E1F #12438E
square
#8E1281 #8E5D12 #128E1F #12438E
split-complementary
#8E1281 #438E12 #128E5D
monochromatic
#21041E #580B50 #8E1281 #C419B2 #E535D3

Accessibility & contrast

On white

8.22
#8E1281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1281
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1281#FFFFFF#000000##FFFFFF
##8E12811.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094484
Deuteranopia (green-blind)
#42557E
Tritanopia (blue-blind)
#95234C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e1281;
/* rgb */ color: rgb(142, 18, 129);
/* oklch */ color: oklch(45.2% 0.191 333.4);
Tailwind
colors: {
  custom: {
    50: '#b364a6',
    500: '#8e1281',
    950: '#000000',
  },
}
SCSS
$custom: #8e1281;
$custom-light: #b364a6;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1281",
  "rgb": {
    "r": 142,
    "g": 18,
    "b": 129
  },
  "hsl": {
    "h": 306.29,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.45225,
    "c": 0.19064,
    "h": 333.4
  },
  "luminance": 0.07768
}

Semantic roles & 50–950 ramp

primary
#8E1281
secondary
#3AC248
accent
#F44834
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E1281

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

Preview Lab → · Contrast checker → · Palette generator →

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