#8F1A97#8F1A97

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

Color values

HEX#8F1A97
RGBrgb(143, 26, 151)
HSLhsl(296, 71%, 35%)
HSVhsv(296, 83%, 59%)
CMYKcmyk(5.3%, 82.8%, 0%, 40.8%)
CIE-LABlab(35.62, 60.75, -41.23)
CIE-LCHlch(35.62, 73.42, 325.84°)
OKLaboklab(47.19% 0.1653 -0.115)
OKLCHoklch(47.19% 0.201 325.2)
XYZxyz(17.2826, 8.8140, 30.0631)
Luminance0.0881 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1A97 #22971A
analogous
#511A97 #8F1A97 #971A61
triadic
#8F1A97 #978F1A #1A978F
tetradic
#8F1A97 #97511A #22971A #1A6197
square
#8F1A97 #97511A #22971A #1A6197
split-complementary
#8F1A97 #61971A #1A9751
monochromatic
#2C082F #5E1163 #8F1A97 #C023CB #D74BE0

Accessibility & contrast

On white

7.60
#8F1A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F1A97
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1A97#FFFFFF#000000##FFFFFF
##8F1A971.007.602.767.60
#FFFFFF7.601.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9A
Deuteranopia (green-blind)
#385894
Tritanopia (blue-blind)
#92345A
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8f1a97;
/* rgb */ color: rgb(143, 26, 151);
/* oklch */ color: oklch(47.2% 0.201 325.2);
Tailwind
colors: {
  custom: {
    50: '#b468b6',
    500: '#8f1a97',
    950: '#000000',
  },
}
SCSS
$custom: #8f1a97;
$custom-light: #b468b6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1a97",
  "rgb": {
    "r": 143,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 296.16,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47189,
    "c": 0.20138,
    "h": 325.2
  },
  "luminance": 0.08813
}

Semantic roles & 50–950 ramp

primary
#8F1A97
secondary
#52C24B
accent
#ED3A46
background
#FBF6FB
surface
#F6EBF6
border
#D0C6D0
text
#120711
muted
#817A80

Preview Lab

Preview with #8F1A97

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

Preview Lab → · Contrast checker → · Palette generator →

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