#8F187D#8F187D

#8F187D is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.184 H 335.5°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#8F187D
RGBrgb(143, 24, 125)
HSLhsl(309, 71%, 33%)
HSVhsv(309, 83%, 56%)
CMYKcmyk(0%, 83.2%, 12.6%, 43.9%)
CIE-LABlab(33.93, 57.10, -27.84)
CIE-LCHlch(33.93, 63.53, 334.01°)
OKLaboklab(45.5% 0.1673 -0.0762)
OKLCHoklch(45.5% 0.184 335.5)
XYZxyz(15.3562, 7.9750, 20.1286)
Luminance0.0797 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F187D #188F2A
analogous
#66188F #8F187D #8F1841
triadic
#8F187D #7D8F18 #187D8F
tetradic
#8F187D #8F6618 #188F2A #18418F
square
#8F187D #8F6618 #188F2A #18418F
split-complementary
#8F187D #418F18 #188F66
monochromatic
#260621 #5B0F4F #8F187D #C321AB #DF42C8

Accessibility & contrast

On white

8.09
#8F187D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F187D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F187D
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F187D#FFFFFF#000000##FFFFFF
##8F187D1.008.092.598.09
#FFFFFF8.091.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#46567A
Tritanopia (blue-blind)
#97244B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f187d;
/* rgb */ color: rgb(143, 24, 125);
/* oklch */ color: oklch(45.5% 0.184 335.5);
Tailwind
colors: {
  custom: {
    50: '#b466a3',
    500: '#8f187d',
    950: '#000000',
  },
}
SCSS
$custom: #8f187d;
$custom-light: #b466a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f187d",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 125
  },
  "hsl": {
    "h": 309.076,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45497,
    "c": 0.18386,
    "h": 335.5
  },
  "luminance": 0.07974
}

Semantic roles & 50–950 ramp

primary
#8F187D
secondary
#43C056
accent
#EE553A
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F187D

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

Preview Lab → · Contrast checker → · Palette generator →

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