#8F1D96#8F1D96

#8F1D96 is a mid, vivid purple. Relative luminance 0.089; OKLCH L 47.3% C 0.198 H 325.5°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#8F1D96
RGBrgb(143, 29, 150)
HSLhsl(297, 68%, 35%)
HSVhsv(297, 81%, 59%)
CMYKcmyk(4.7%, 80.7%, 0%, 41.2%)
CIE-LABlab(35.83, 59.79, -40.28)
CIE-LCHlch(35.83, 72.09, 326.03°)
OKLaboklab(47.32% 0.1632 -0.1123)
OKLCHoklch(47.32% 0.198 325.5)
XYZxyz(17.2717, 8.9216, 29.6606)
Luminance0.0892 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D96 #24961D
analogous
#531D96 #8F1D96 #961D60
triadic
#8F1D96 #968F1D #1D968F
tetradic
#8F1D96 #96531D #24961D #1D6096
square
#8F1D96 #96531D #24961D #1D6096
split-complementary
#8F1D96 #60961D #1D9653
monochromatic
#2D092F #5E1363 #8F1D96 #C027C9 #D550DD

Accessibility & contrast

On white

7.54
#8F1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#8F1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1D96
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1D96#FFFFFF#000000##FFFFFF
##8F1D961.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C99
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#92345A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f1d96;
/* rgb */ color: rgb(143, 29, 150);
/* oklch */ color: oklch(47.3% 0.198 325.5);
Tailwind
colors: {
  custom: {
    50: '#b468b5',
    500: '#8f1d96',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d96;
$custom-light: #b468b5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d96",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 296.529,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.47317,
    "c": 0.1981,
    "h": 325.5
  },
  "luminance": 0.0892
}

Semantic roles & 50–950 ramp

primary
#8F1D96
secondary
#55C04F
accent
#EA3D47
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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