#8E1E95#8E1E95

#8E1E95 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.2% C 0.196 H 325.4°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8E1E95
RGBrgb(142, 30, 149)
HSLhsl(296, 66%, 35%)
HSVhsv(296, 80%, 58%)
CMYKcmyk(4.7%, 79.9%, 0%, 41.6%)
CIE-LABlab(35.69, 59.13, -39.90)
CIE-LCHlch(35.69, 71.34, 325.99°)
OKLaboklab(47.17% 0.1614 -0.1112)
OKLCHoklch(47.17% 0.196 325.4)
XYZxyz(17.0440, 8.8504, 29.2385)
Luminance0.0885 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1E95 #25951E
analogous
#531E95 #8E1E95 #951E60
triadic
#8E1E95 #958E1E #1E958E
tetradic
#8E1E95 #95531E #25951E #1E6095
square
#8E1E95 #95531E #25951E #1E6095
split-complementary
#8E1E95 #60951E #1E9553
monochromatic
#2D092F #5D1462 #8E1E95 #BF28C8 #D451DC

Accessibility & contrast

On white

7.58
#8E1E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#8E1E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1E95
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1E95#FFFFFF#000000##FFFFFF
##8E1E951.007.582.777.58
#FFFFFF7.581.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#3A5992
Tritanopia (blue-blind)
#91355A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1e95;
/* rgb */ color: rgb(142, 30, 149);
/* oklch */ color: oklch(47.2% 0.196 325.4);
Tailwind
colors: {
  custom: {
    50: '#b369b5',
    500: '#8e1e95',
    950: '#000000',
  },
}
SCSS
$custom: #8e1e95;
$custom-light: #b369b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1e95",
  "rgb": {
    "r": 142,
    "g": 30,
    "b": 149
  },
  "hsl": {
    "h": 296.471,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47166,
    "c": 0.19598,
    "h": 325.4
  },
  "luminance": 0.08849
}

Semantic roles & 50–950 ramp

primary
#8E1E95
secondary
#56BF50
accent
#E93E48
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1E95

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

Preview Lab → · Contrast checker → · Palette generator →

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