#8F198C#8F198C

#8F198C is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.194 H 329.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#8F198C
RGBrgb(143, 25, 140)
HSLhsl(302, 70%, 33%)
HSVhsv(302, 83%, 56%)
CMYKcmyk(0%, 82.5%, 2.1%, 43.9%)
CIE-LABlab(34.86, 59.17, -35.70)
CIE-LCHlch(34.86, 69.11, 328.90°)
OKLaboklab(46.43% 0.1667 -0.0989)
OKLCHoklch(46.43% 0.194 329.3)
XYZxyz(16.4088, 8.4297, 25.5687)
Luminance0.0843 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F198C #198F1C
analogous
#57198F #8F198C #8F1951
triadic
#8F198C #8C8F19 #198C8F
tetradic
#8F198C #8F5719 #198F1C #19518F
square
#8F198C #8F5719 #198F1C #19518F
split-complementary
#8F198C #518F19 #198F57
monochromatic
#270726 #5B1059 #8F198C #C322BF #DE44DA

Accessibility & contrast

On white

7.82
#8F198C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F198C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F198C
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F198C#FFFFFF#000000##FFFFFF
##8F198C1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#3F5789
Tritanopia (blue-blind)
#942D54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f198c;
/* rgb */ color: rgb(143, 25, 140);
/* oklch */ color: oklch(46.4% 0.194 329.3);
Tailwind
colors: {
  custom: {
    50: '#b467ae',
    500: '#8f198c',
    950: '#000000',
  },
}
SCSS
$custom: #8f198c;
$custom-light: #b467ae;
$custom-dark: #000000;
JSON
{
  "hex": "#8f198c",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 301.525,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46433,
    "c": 0.19385,
    "h": 329.3
  },
  "luminance": 0.08428
}

Semantic roles & 50–950 ramp

primary
#8F198C
secondary
#44BF48
accent
#ED3F3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F198C

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

Preview Lab → · Contrast checker → · Palette generator →

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