#8F188A#8F188A

#8F188A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.193 H 330.1°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8F188A
RGBrgb(143, 24, 138)
HSLhsl(303, 71%, 33%)
HSVhsv(303, 83%, 56%)
CMYKcmyk(0%, 83.2%, 3.5%, 43.9%)
CIE-LABlab(34.66, 59.10, -34.78)
CIE-LCHlch(34.66, 68.58, 329.52°)
OKLaboklab(46.25% 0.1675 -0.0962)
OKLCHoklch(46.25% 0.193 330.1)
XYZxyz(16.2417, 8.3292, 24.7921)
Luminance0.0833 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F188A #188F1D
analogous
#58188F #8F188A #8F184E
triadic
#8F188A #8A8F18 #188A8F
tetradic
#8F188A #8F5818 #188F1D #184E8F
square
#8F188A #8F5818 #188F1D #184E8F
split-complementary
#8F188A #4E8F18 #188F58
monochromatic
#260625 #5B0F57 #8F188A #C321BD #DF42D9

Accessibility & contrast

On white

7.88
#8F188A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F188A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F188A
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F188A#FFFFFF#000000##FFFFFF
##8F188A1.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#952B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f188a;
/* rgb */ color: rgb(143, 24, 138);
/* oklch */ color: oklch(46.3% 0.193 330.1);
Tailwind
colors: {
  custom: {
    50: '#b466ac',
    500: '#8f188a',
    950: '#000000',
  },
}
SCSS
$custom: #8f188a;
$custom-light: #b466ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f188a",
  "rgb": {
    "r": 143,
    "g": 24,
    "b": 138
  },
  "hsl": {
    "h": 302.521,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46251,
    "c": 0.19317,
    "h": 330.1
  },
  "luminance": 0.08328
}

Semantic roles & 50–950 ramp

primary
#8F188A
secondary
#43C048
accent
#EE413A
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F188A

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

Preview Lab → · Contrast checker → · Palette generator →

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