#8F188F#8F188F

#8F188F is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.6% C 0.197 H 328.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8F188F
RGBrgb(143, 24, 143)
HSLhsl(300, 71%, 33%)
HSVhsv(300, 83%, 56%)
CMYKcmyk(0%, 83.2%, 0%, 43.9%)
CIE-LABlab(34.96, 59.91, -37.39)
CIE-LCHlch(34.96, 70.62, 328.03°)
OKLaboklab(46.56% 0.1673 -0.1038)
OKLCHoklch(46.56% 0.197 328.2)
XYZxyz(16.6121, 8.4773, 26.7426)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F188F #188F18
analogous
#53188F #8F188F #8F1853
triadic
#8F188F #8F8F18 #188F8F
tetradic
#8F188F #8F5318 #188F18 #18538F
square
#8F188F #8F5318 #188F18 #18538F
split-complementary
#8F188F #538F18 #188F53
monochromatic
#260626 #5B0F5B #8F188F #C321C3 #DF42DF

Accessibility & contrast

On white

7.79
#8F188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#8F188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F188F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F188F#FFFFFF#000000##FFFFFF
##8F188F1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#3D578C
Tritanopia (blue-blind)
#942E55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f188f;
/* rgb */ color: rgb(143, 24, 143);
/* oklch */ color: oklch(46.6% 0.197 328.2);
Tailwind
colors: {
  custom: {
    50: '#b467b0',
    500: '#8f188f',
    950: '#000000',
  },
}
SCSS
$custom: #8f188f;
$custom-light: #b467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f188f",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46559,
    "c": 0.19689,
    "h": 328.2
  },
  "luminance": 0.08476
}

Semantic roles & 50–950 ramp

primary
#8F188F
secondary
#43C043
accent
#EE3A3A
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F188F

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

Preview Lab → · Contrast checker → · Palette generator →

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