#8E1D95#8E1D95

#8E1D95 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 47.1% C 0.197 H 325.5°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#8E1D95
RGBrgb(142, 29, 149)
HSLhsl(297, 67%, 35%)
HSVhsv(297, 81%, 58%)
CMYKcmyk(4.7%, 80.5%, 0%, 41.6%)
CIE-LABlab(35.60, 59.42, -40.06)
CIE-LCHlch(35.60, 71.66, 326.01°)
OKLaboklab(47.1% 0.1622 -0.1116)
OKLCHoklch(47.1% 0.197 325.5)
XYZxyz(17.0191, 8.8006, 29.2302)
Luminance0.0880 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E1D95 #24951D
analogous
#521D95 #8E1D95 #951D60
triadic
#8E1D95 #958E1D #1D958E
tetradic
#8E1D95 #95521D #24951D #1D6095
square
#8E1D95 #95521D #24951D #1D6095
split-complementary
#8E1D95 #60951D #1D9552
monochromatic
#2C092F #5D1362 #8E1D95 #BF27C8 #D550DD

Accessibility & contrast

On white

7.61
#8E1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8E1D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E1D95
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E1D95#FFFFFF#000000##FFFFFF
##8E1D951.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B98
Deuteranopia (green-blind)
#395892
Tritanopia (blue-blind)
#91345A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8e1d95;
/* rgb */ color: rgb(142, 29, 149);
/* oklch */ color: oklch(47.1% 0.197 325.5);
Tailwind
colors: {
  custom: {
    50: '#b368b5',
    500: '#8e1d95',
    950: '#000000',
  },
}
SCSS
$custom: #8e1d95;
$custom-light: #b368b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8e1d95",
  "rgb": {
    "r": 142,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 296.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47097,
    "c": 0.19688,
    "h": 325.5
  },
  "luminance": 0.08799
}

Semantic roles & 50–950 ramp

primary
#8E1D95
secondary
#55C04E
accent
#EA3D48
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8E1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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