#8F198A#8F198A

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

Color values

HEX#8F198A
RGBrgb(143, 25, 138)
HSLhsl(303, 70%, 33%)
HSVhsv(303, 83%, 56%)
CMYKcmyk(0%, 82.5%, 3.5%, 43.9%)
CIE-LABlab(34.74, 58.85, -34.65)
CIE-LCHlch(34.74, 68.30, 329.51°)
OKLaboklab(46.31% 0.1668 -0.0958)
OKLCHoklch(46.31% 0.192 330.1)
XYZxyz(16.2627, 8.3712, 24.7991)
Luminance0.0837 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F198A #198F1E
analogous
#59198F #8F198A #8F194F
triadic
#8F198A #8A8F19 #198A8F
tetradic
#8F198A #8F5919 #198F1E #194F8F
square
#8F198A #8F5919 #198F1E #194F8F
split-complementary
#8F198A #4F8F19 #198F59
monochromatic
#270725 #5B1058 #8F198A #C322BC #DE44D8

Accessibility & contrast

On white

7.85
#8F198A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F198A
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F198A#FFFFFF#000000##FFFFFF
##8F198A1.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488D
Deuteranopia (green-blind)
#405787
Tritanopia (blue-blind)
#952C52
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f198a;
/* rgb */ color: rgb(143, 25, 138);
/* oklch */ color: oklch(46.3% 0.192 330.1);
Tailwind
colors: {
  custom: {
    50: '#b467ac',
    500: '#8f198a',
    950: '#000000',
  },
}
SCSS
$custom: #8f198a;
$custom-light: #b467ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f198a",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 302.542,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46312,
    "c": 0.19236,
    "h": 330.1
  },
  "luminance": 0.0837
}

Semantic roles & 50–950 ramp

primary
#8F198A
secondary
#44BF4A
accent
#ED423B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F198A

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

Preview Lab → · Contrast checker → · Palette generator →

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