#8E1E7F#8E1E7F

#8E1E7F is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.179 H 334.3°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#8E1E7F
RGBrgb(142, 30, 127)
HSLhsl(308, 65%, 34%)
HSVhsv(308, 79%, 56%)
CMYKcmyk(0%, 78.9%, 10.6%, 44.3%)
CIE-LABlab(34.42, 55.54, -28.34)
CIE-LCHlch(34.42, 62.35, 332.97°)
OKLaboklab(45.85% 0.1616 -0.0776)
OKLCHoklch(45.85% 0.179 334.3)
XYZxyz(15.4505, 8.2130, 20.8461)
Luminance0.0821 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E7F #1E8E2D
analogous
#651E8E #8E1E7F #8E1E47
triadic
#8E1E7F #7F8E1E #1E7F8E
tetradic
#8E1E7F #8E651E #1E8E2D #1E478E
square
#8E1E7F #8E651E #1E8E2D #1E478E
split-complementary
#8E1E7F #478E1E #1E8E65
monochromatic
#290925 #5B1352 #8E1E7F #C129AC #D94DC7

Accessibility & contrast

On white

7.95
#8E1E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#8E1E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E7F
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E7F#FFFFFF#000000##FFFFFF
##8E1E7F1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4782
Deuteranopia (green-blind)
#47577C
Tritanopia (blue-blind)
#95294D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1e7f;
/* rgb */ color: rgb(142, 30, 127);
/* oklch */ color: oklch(45.8% 0.179 334.3);
Tailwind
colors: {
  custom: {
    50: '#b368a4',
    500: '#8e1e7f',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e7f;
$custom-light: #b368a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e7f",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 127
  },
  "hsl": {
    "h": 308.036,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45849,
    "c": 0.17927,
    "h": 334.3
  },
  "luminance": 0.08212
}

Semantic roles & 50–950 ramp

primary
#8E1E7F
secondary
#4CBC5B
accent
#E85640
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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