#8F198F#8F198F

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

Color values

HEX#8F198F
RGBrgb(143, 25, 143)
HSLhsl(300, 70%, 33%)
HSVhsv(300, 83%, 56%)
CMYKcmyk(0%, 82.5%, 0%, 43.9%)
CIE-LABlab(35.04, 59.66, -37.26)
CIE-LCHlch(35.04, 70.34, 328.02°)
OKLaboklab(46.62% 0.1666 -0.1034)
OKLCHoklch(46.62% 0.196 328.2)
XYZxyz(16.6331, 8.5193, 26.7496)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F198F #198F19
analogous
#54198F #8F198F #8F1954
triadic
#8F198F #8F8F19 #198F8F
tetradic
#8F198F #8F5419 #198F19 #19548F
square
#8F198F #8F5419 #198F19 #19548F
split-complementary
#8F198F #548F19 #198F54
monochromatic
#270727 #5B105B #8F198F #C322C3 #DE44DE

Accessibility & contrast

On white

7.77
#8F198F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F198F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F198F#FFFFFF#000000##FFFFFF
##8F198F1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f198f;
/* rgb */ color: rgb(143, 25, 143);
/* oklch */ color: oklch(46.6% 0.196 328.2);
Tailwind
colors: {
  custom: {
    50: '#b467b0',
    500: '#8f198f',
    950: '#000000',
  },
}
SCSS
$custom: #8f198f;
$custom-light: #b467b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f198f",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46619,
    "c": 0.19609,
    "h": 328.2
  },
  "luminance": 0.08518
}

Semantic roles & 50–950 ramp

primary
#8F198F
secondary
#44BF44
accent
#ED3B3B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F198F

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

Preview Lab → · Contrast checker → · Palette generator →

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