#8F1987#8F1987

#8F1987 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.1% C 0.190 H 331.3°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#8F1987
RGBrgb(143, 25, 135)
HSLhsl(304, 70%, 33%)
HSVhsv(304, 83%, 56%)
CMYKcmyk(0%, 82.5%, 5.6%, 43.9%)
CIE-LABlab(34.57, 58.38, -33.07)
CIE-LCHlch(34.57, 67.09, 330.47°)
OKLaboklab(46.13% 0.1668 -0.0912)
OKLCHoklch(46.13% 0.19 331.3)
XYZxyz(16.0485, 8.2855, 23.6710)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1987 #198F21
analogous
#5C198F #8F1987 #8F194C
triadic
#8F1987 #878F19 #19878F
tetradic
#8F1987 #8F5C19 #198F21 #194C8F
square
#8F1987 #8F5C19 #198F21 #194C8F
split-complementary
#8F1987 #4C8F19 #198F5C
monochromatic
#270725 #5B1056 #8F1987 #C322B8 #DE44D4

Accessibility & contrast

On white

7.90
#8F1987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F1987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1987
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1987#FFFFFF#000000##FFFFFF
##8F19871.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08478A
Deuteranopia (green-blind)
#425784
Tritanopia (blue-blind)
#952A51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1987;
/* rgb */ color: rgb(143, 25, 135);
/* oklch */ color: oklch(46.1% 0.190 331.3);
Tailwind
colors: {
  custom: {
    50: '#b466aa',
    500: '#8f1987',
    950: '#000000',
  },
}
SCSS
$custom: #8f1987;
$custom-light: #b466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1987",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 135
  },
  "hsl": {
    "h": 304.068,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46132,
    "c": 0.19016,
    "h": 331.3
  },
  "luminance": 0.08284
}

Semantic roles & 50–950 ramp

primary
#8F1987
secondary
#44BF4D
accent
#ED473B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1987

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

Preview Lab → · Contrast checker → · Palette generator →

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