#8E1E7D#8E1E7D

#8E1E7D is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.7% C 0.178 H 335.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#8E1E7D
RGBrgb(142, 30, 125)
HSLhsl(309, 65%, 34%)
HSVhsv(309, 79%, 56%)
CMYKcmyk(0%, 78.9%, 12%, 44.3%)
CIE-LABlab(34.32, 55.24, -27.25)
CIE-LCHlch(34.32, 61.59, 333.74°)
OKLaboklab(45.74% 0.1615 -0.0745)
OKLCHoklch(45.74% 0.178 335.2)
XYZxyz(15.3215, 8.1614, 20.1664)
Luminance0.0816 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E7D #1E8E2F
analogous
#671E8E #8E1E7D #8E1E45
triadic
#8E1E7D #7D8E1E #1E7D8E
tetradic
#8E1E7D #8E671E #1E8E2F #1E458E
square
#8E1E7D #8E671E #1E8E2F #1E458E
split-complementary
#8E1E7D #458E1E #1E8E67
monochromatic
#290924 #5B1351 #8E1E7D #C129A9 #D94DC4

Accessibility & contrast

On white

7.98
#8E1E7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#8E1E7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E7D
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E7D#FFFFFF#000000##FFFFFF
##8E1E7D1.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4680
Deuteranopia (green-blind)
#47577A
Tritanopia (blue-blind)
#95284C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1e7d;
/* rgb */ color: rgb(142, 30, 125);
/* oklch */ color: oklch(45.7% 0.178 335.2);
Tailwind
colors: {
  custom: {
    50: '#b368a3',
    500: '#8e1e7d',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e7d;
$custom-light: #b368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e7d",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 125
  },
  "hsl": {
    "h": 309.107,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45739,
    "c": 0.17782,
    "h": 335.2
  },
  "luminance": 0.0816
}

Semantic roles & 50–950 ramp

primary
#8E1E7D
secondary
#4CBC5D
accent
#E85940
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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