#8D1E96#8D1E96

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

Color values

HEX#8D1E96
RGBrgb(141, 30, 150)
HSLhsl(296, 67%, 35%)
HSVhsv(296, 80%, 59%)
CMYKcmyk(6%, 80%, 0%, 41.2%)
CIE-LABlab(35.59, 59.10, -40.70)
CIE-LCHlch(35.59, 71.76, 325.45°)
OKLaboklab(47.08% 0.1602 -0.1135)
OKLCHoklch(47.08% 0.196 324.7)
XYZxyz(16.9534, 8.7944, 29.6528)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D1E96 #27961E
analogous
#511E96 #8D1E96 #961E63
triadic
#8D1E96 #968D1E #1E968D
tetradic
#8D1E96 #96511E #27961E #1E6396
square
#8D1E96 #96511E #27961E #1E6396
split-complementary
#8D1E96 #63961E #1E9651
monochromatic
#2D0A30 #5D1463 #8D1E96 #BD28C9 #D252DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D1E96#FFFFFF#000000##FFFFFF
##8D1E961.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)
#004B99
Deuteranopia (green-blind)
#385893
Tritanopia (blue-blind)
#90355A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8d1e96;
/* rgb */ color: rgb(141, 30, 150);
/* oklch */ color: oklch(47.1% 0.196 324.7);
Tailwind
colors: {
  custom: {
    50: '#b269b5',
    500: '#8d1e96',
    950: '#000000',
  },
}
SCSS
$custom: #8d1e96;
$custom-light: #b269b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d1e96",
  "rgb": {
    "r": 141,
    "g": 30,
    "b": 150
  },
  "hsl": {
    "h": 295.5,
    "s": 66.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47076,
    "c": 0.19635,
    "h": 324.7
  },
  "luminance": 0.08793
}

Semantic roles & 50–950 ramp

primary
#8D1E96
secondary
#59BF50
accent
#EA3E4B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D1E96

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

Preview Lab → · Contrast checker → · Palette generator →

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