#8F1D94#8F1D94

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

Color values

HEX#8F1D94
RGBrgb(143, 29, 148)
HSLhsl(297, 67%, 35%)
HSVhsv(297, 80%, 58%)
CMYKcmyk(3.4%, 80.4%, 0%, 42%)
CIE-LABlab(35.71, 59.45, -39.26)
CIE-LCHlch(35.71, 71.24, 326.56°)
OKLaboklab(47.19% 0.1634 -0.1093)
OKLCHoklch(47.19% 0.197 326.2)
XYZxyz(17.1120, 8.8577, 28.8196)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1D94 #22941D
analogous
#541D94 #8F1D94 #941D5E
triadic
#8F1D94 #948F1D #1D948F
tetradic
#8F1D94 #94541D #22941D #1D5E94
square
#8F1D94 #94541D #22941D #1D5E94
split-complementary
#8F1D94 #5E941D #1D9454
monochromatic
#2C092E #5E1361 #8F1D94 #C027C7 #D74FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1D94#FFFFFF#000000##FFFFFF
##8F1D941.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)
#004B97
Deuteranopia (green-blind)
#3B5991
Tritanopia (blue-blind)
#933359
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f1d94;
/* rgb */ color: rgb(143, 29, 148);
/* oklch */ color: oklch(47.2% 0.197 326.2);
Tailwind
colors: {
  custom: {
    50: '#b468b4',
    500: '#8f1d94',
    950: '#000000',
  },
}
SCSS
$custom: #8f1d94;
$custom-light: #b468b4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1d94",
  "rgb": {
    "r": 143,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 297.479,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47189,
    "c": 0.19654,
    "h": 326.2
  },
  "luminance": 0.08856
}

Semantic roles & 50–950 ramp

primary
#8F1D94
secondary
#52BF4E
accent
#EA3E45
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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