#8F1887#8F1887

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

Color values

HEX#8F1887
RGBrgb(143, 24, 135)
HSLhsl(304, 71%, 33%)
HSVhsv(304, 83%, 56%)
CMYKcmyk(0%, 83.2%, 5.6%, 43.9%)
CIE-LABlab(34.48, 58.63, -33.20)
CIE-LCHlch(34.48, 67.38, 330.48°)
OKLaboklab(46.07% 0.1676 -0.0916)
OKLCHoklch(46.07% 0.191 331.3)
XYZxyz(16.0275, 8.2435, 23.6640)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1887 #188F20
analogous
#5C188F #8F1887 #8F184B
triadic
#8F1887 #878F18 #18878F
tetradic
#8F1887 #8F5C18 #188F20 #184B8F
square
#8F1887 #8F5C18 #188F20 #184B8F
split-complementary
#8F1887 #4B8F18 #188F5C
monochromatic
#260624 #5B0F56 #8F1887 #C321B8 #DF42D5

Accessibility & contrast

On white

7.93
#8F1887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F1887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F1887
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1887#FFFFFF#000000##FFFFFF
##8F18871.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06478A
Deuteranopia (green-blind)
#415784
Tritanopia (blue-blind)
#952A50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f1887;
/* rgb */ color: rgb(143, 24, 135);
/* oklch */ color: oklch(46.1% 0.191 331.3);
Tailwind
colors: {
  custom: {
    50: '#b466aa',
    500: '#8f1887',
    950: '#000000',
  },
}
SCSS
$custom: #8f1887;
$custom-light: #b466aa;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1887",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 135
  },
  "hsl": {
    "h": 304.034,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46071,
    "c": 0.19098,
    "h": 331.3
  },
  "luminance": 0.08242
}

Semantic roles & 50–950 ramp

primary
#8F1887
secondary
#43C04B
accent
#EE463A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F1887

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

Preview Lab → · Contrast checker → · Palette generator →

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