#8F187F#8F187F

#8F187F is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.185 H 334.7°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8F187F
RGBrgb(143, 24, 127)
HSLhsl(308, 71%, 33%)
HSVhsv(308, 83%, 56%)
CMYKcmyk(0%, 83.2%, 11.2%, 43.9%)
CIE-LABlab(34.04, 57.40, -28.93)
CIE-LCHlch(34.04, 64.28, 333.25°)
OKLaboklab(45.61% 0.1674 -0.0793)
OKLCHoklch(45.61% 0.185 334.7)
XYZxyz(15.4853, 8.0266, 20.8083)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F187F #188F28
analogous
#63188F #8F187F #8F1844
triadic
#8F187F #7F8F18 #187F8F
tetradic
#8F187F #8F6318 #188F28 #18448F
square
#8F187F #8F6318 #188F28 #18448F
split-complementary
#8F187F #448F18 #188F63
monochromatic
#260622 #5B0F50 #8F187F #C321AE #DF42CA

Accessibility & contrast

On white

8.06
#8F187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F187F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F187F
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F187F#FFFFFF#000000##FFFFFF
##8F187F1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164582
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#96254C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f187f;
/* rgb */ color: rgb(143, 24, 127);
/* oklch */ color: oklch(45.6% 0.185 334.7);
Tailwind
colors: {
  custom: {
    50: '#b466a4',
    500: '#8f187f',
    950: '#000000',
  },
}
SCSS
$custom: #8f187f;
$custom-light: #b466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f187f",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 308.067,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45608,
    "c": 0.18525,
    "h": 334.7
  },
  "luminance": 0.08025
}

Semantic roles & 50–950 ramp

primary
#8F187F
secondary
#43C054
accent
#EE523A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F187F

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

Preview Lab → · Contrast checker → · Palette generator →

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