#8F1487#8F1487

#8F1487 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.8% C 0.194 H 331.3°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#8F1487
RGBrgb(143, 20, 135)
HSLhsl(304, 75%, 32%)
HSVhsv(304, 86%, 56%)
CMYKcmyk(0%, 86%, 5.6%, 43.9%)
CIE-LABlab(34.17, 59.54, -33.70)
CIE-LCHlch(34.17, 68.42, 330.49°)
OKLaboklab(45.85% 0.1702 -0.093)
OKLCHoklch(45.85% 0.194 331.3)
XYZxyz(15.9510, 8.0906, 23.6385)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1487 #148F1C
analogous
#59148F #8F1487 #8F144A
triadic
#8F1487 #878F14 #14878F
tetradic
#8F1487 #8F5914 #148F1C #144A8F
square
#8F1487 #8F5914 #148F1C #144A8F
split-complementary
#8F1487 #4A8F14 #148F59
monochromatic
#240522 #590C54 #8F1487 #C51CBA #E33AD8

Accessibility & contrast

On white

8.02
#8F1487 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#8F1487 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1487
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1487#FFFFFF#000000##FFFFFF
##8F14871.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468A
Deuteranopia (green-blind)
#405684
Tritanopia (blue-blind)
#952750
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f1487;
/* rgb */ color: rgb(143, 20, 135);
/* oklch */ color: oklch(45.8% 0.194 331.3);
Tailwind
colors: {
  custom: {
    50: '#b465aa',
    500: '#8f1487',
    950: '#000000',
  },
}
SCSS
$custom: #8f1487;
$custom-light: #b465aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1487",
  "rgb": {
    "r": 143,
    "g": 20,
    "b": 135
  },
  "hsl": {
    "h": 303.902,
    "s": 75.46,
    "l": 31.961
  },
  "oklch": {
    "l": 0.45848,
    "c": 0.19398,
    "h": 331.3
  },
  "luminance": 0.08089
}

Semantic roles & 50–950 ramp

primary
#8F1487
secondary
#3CC345
accent
#F24236
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1487

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

Preview Lab → · Contrast checker → · Palette generator →

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