#8F1B97#8F1B97

#8F1B97 is a mid, highly saturated purple. Relative luminance 0.089; OKLCH L 47.3% C 0.201 H 325.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#8F1B97
RGBrgb(143, 27, 151)
HSLhsl(296, 70%, 35%)
HSVhsv(296, 82%, 59%)
CMYKcmyk(5.3%, 82.1%, 0%, 40.8%)
CIE-LABlab(35.71, 60.49, -41.09)
CIE-LCHlch(35.71, 73.13, 325.82°)
OKLaboklab(47.25% 0.1646 -0.1146)
OKLCHoklch(47.25% 0.201 325.2)
XYZxyz(17.3051, 8.8590, 30.0707)
Luminance0.0886 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1B97 #23971B
analogous
#511B97 #8F1B97 #971B61
triadic
#8F1B97 #978F1B #1B978F
tetradic
#8F1B97 #97511B #23971B #1B6197
square
#8F1B97 #97511B #23971B #1B6197
split-complementary
#8F1B97 #61971B #1B9751
monochromatic
#2D082F #5E1263 #8F1B97 #C024CB #D64DDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F1B97#FFFFFF#000000##FFFFFF
##8F1B971.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)
#004B9A
Deuteranopia (green-blind)
#385994
Tritanopia (blue-blind)
#92345A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f1b97;
/* rgb */ color: rgb(143, 27, 151);
/* oklch */ color: oklch(47.3% 0.201 325.2);
Tailwind
colors: {
  custom: {
    50: '#b468b6',
    500: '#8f1b97',
    950: '#000000',
  },
}
SCSS
$custom: #8f1b97;
$custom-light: #b468b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1b97",
  "rgb": {
    "r": 143,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 296.129,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.47251,
    "c": 0.20058,
    "h": 325.2
  },
  "luminance": 0.08858
}

Semantic roles & 50–950 ramp

primary
#8F1B97
secondary
#54C14C
accent
#EC3B47
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1B97

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

Preview Lab → · Contrast checker → · Palette generator →

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