#8E1D94#8E1D94

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

Color values

HEX#8E1D94
RGBrgb(142, 29, 148)
HSLhsl(297, 67%, 35%)
HSVhsv(297, 80%, 58%)
CMYKcmyk(4.1%, 80.4%, 0%, 42%)
CIE-LABlab(35.54, 59.24, -39.55)
CIE-LCHlch(35.54, 71.23, 326.28°)
OKLaboklab(47.03% 0.1623 -0.1101)
OKLCHoklch(47.03% 0.196 325.8)
XYZxyz(16.9396, 8.7688, 28.8116)
Luminance0.0877 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D94 #23941D
analogous
#531D94 #8E1D94 #941D5E
triadic
#8E1D94 #948E1D #1D948E
tetradic
#8E1D94 #94531D #23941D #1D5E94
square
#8E1D94 #94531D #23941D #1D5E94
split-complementary
#8E1D94 #5E941D #1D9453
monochromatic
#2C092E #5D1361 #8E1D94 #BF27C7 #D54FDC

Accessibility & contrast

On white

7.63
#8E1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#8E1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D94
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D94#FFFFFF#000000##FFFFFF
##8E1D941.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B97
Deuteranopia (green-blind)
#3A5891
Tritanopia (blue-blind)
#923459
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1d94;
/* rgb */ color: rgb(142, 29, 148);
/* oklch */ color: oklch(47.0% 0.196 325.8);
Tailwind
colors: {
  custom: {
    50: '#b368b4',
    500: '#8e1d94',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d94;
$custom-light: #b368b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d94",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 296.975,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47033,
    "c": 0.1961,
    "h": 325.8
  },
  "luminance": 0.08768
}

Semantic roles & 50–950 ramp

primary
#8E1D94
secondary
#53BF4E
accent
#EA3E46
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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