#8E1E7E#8E1E7E

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

Color values

HEX#8E1E7E
RGBrgb(142, 30, 126)
HSLhsl(309, 65%, 34%)
HSVhsv(309, 79%, 56%)
CMYKcmyk(0%, 78.9%, 11.3%, 44.3%)
CIE-LABlab(34.37, 55.39, -27.79)
CIE-LCHlch(34.37, 61.97, 333.35°)
OKLaboklab(45.79% 0.1615 -0.0761)
OKLCHoklch(45.79% 0.179 334.8)
XYZxyz(15.3857, 8.1871, 20.5046)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E7E #1E8E2E
analogous
#661E8E #8E1E7E #8E1E46
triadic
#8E1E7E #7E8E1E #1E7E8E
tetradic
#8E1E7E #8E661E #1E8E2E #1E468E
square
#8E1E7E #8E661E #1E8E2E #1E468E
split-complementary
#8E1E7E #468E1E #1E8E66
monochromatic
#290924 #5B1351 #8E1E7E #C129AB #D94DC5

Accessibility & contrast

On white

7.96
#8E1E7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E1E7E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E7E#FFFFFF#000000##FFFFFF
##8E1E7E1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4681
Deuteranopia (green-blind)
#47577B
Tritanopia (blue-blind)
#95284D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e1e7e;
/* rgb */ color: rgb(142, 30, 126);
/* oklch */ color: oklch(45.8% 0.179 334.8);
Tailwind
colors: {
  custom: {
    50: '#b368a3',
    500: '#8e1e7e',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e7e;
$custom-light: #b368a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e7e",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 126
  },
  "hsl": {
    "h": 308.571,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45794,
    "c": 0.17855,
    "h": 334.8
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#8E1E7E
secondary
#4CBC5C
accent
#E85840
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8E1E7E

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

Preview Lab → · Contrast checker → · Palette generator →

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