#8F197E#8F197E

#8F197E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.6% C 0.184 H 335.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#8F197E
RGBrgb(143, 25, 126)
HSLhsl(309, 70%, 33%)
HSVhsv(309, 83%, 56%)
CMYKcmyk(0%, 82.5%, 11.9%, 43.9%)
CIE-LABlab(34.07, 57.00, -28.25)
CIE-LCHlch(34.07, 63.62, 333.64°)
OKLaboklab(45.62% 0.1666 -0.0773)
OKLCHoklch(45.62% 0.184 335.1)
XYZxyz(15.4414, 8.0427, 20.4738)
Luminance0.0804 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F197E #198F2A
analogous
#65198F #8F197E #8F1943
triadic
#8F197E #7E8F19 #197E8F
tetradic
#8F197E #8F6519 #198F2A #19438F
square
#8F197E #8F6519 #198F2A #19438F
split-complementary
#8F197E #438F19 #198F65
monochromatic
#270722 #5B1050 #8F197E #C322AC #DE44C8

Accessibility & contrast

On white

8.05
#8F197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8F197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F197E
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F197E#FFFFFF#000000##FFFFFF
##8F197E1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184581
Deuteranopia (green-blind)
#46567B
Tritanopia (blue-blind)
#96254C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f197e;
/* rgb */ color: rgb(143, 25, 126);
/* oklch */ color: oklch(45.6% 0.184 335.1);
Tailwind
colors: {
  custom: {
    50: '#b466a4',
    500: '#8f197e',
    950: '#000000',
  },
}
SCSS
$custom: #8f197e;
$custom-light: #b466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f197e",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 308.644,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45615,
    "c": 0.18371,
    "h": 335.1
  },
  "luminance": 0.08041
}

Semantic roles & 50–950 ramp

primary
#8F197E
secondary
#44BF56
accent
#ED543B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F197E

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

Preview Lab → · Contrast checker → · Palette generator →

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