#8F197C#8F197C

#8F197C is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.5% C 0.182 H 336.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#8F197C
RGBrgb(143, 25, 124)
HSLhsl(310, 70%, 33%)
HSVhsv(310, 83%, 56%)
CMYKcmyk(0%, 82.5%, 13.3%, 43.9%)
CIE-LABlab(33.97, 56.70, -27.16)
CIE-LCHlch(33.97, 62.87, 334.40°)
OKLaboklab(45.5% 0.1665 -0.0742)
OKLCHoklch(45.5% 0.182 336)
XYZxyz(15.3137, 7.9916, 19.8009)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F197C #198F2C
analogous
#67198F #8F197C #8F1941
triadic
#8F197C #7C8F19 #197C8F
tetradic
#8F197C #8F6719 #198F2C #19418F
square
#8F197C #8F6719 #198F2C #19418F
split-complementary
#8F197C #418F19 #198F67
monochromatic
#270722 #5B104F #8F197C #C322A9 #DE44C5

Accessibility & contrast

On white

8.08
#8F197C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#8F197C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F197C
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F197C#FFFFFF#000000##FFFFFF
##8F197C1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B457F
Deuteranopia (green-blind)
#475679
Tritanopia (blue-blind)
#97244A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f197c;
/* rgb */ color: rgb(143, 25, 124);
/* oklch */ color: oklch(45.5% 0.182 336.0);
Tailwind
colors: {
  custom: {
    50: '#b466a2',
    500: '#8f197c',
    950: '#000000',
  },
}
SCSS
$custom: #8f197c;
$custom-light: #b466a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f197c",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 124
  },
  "hsl": {
    "h": 309.661,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45504,
    "c": 0.18232,
    "h": 336
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#8F197C
secondary
#44BF58
accent
#ED573B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F197C

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

Preview Lab → · Contrast checker → · Palette generator →

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