#8F197F#8F197F

#8F197F is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.7% C 0.184 H 334.7°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#8F197F
RGBrgb(143, 25, 127)
HSLhsl(308, 70%, 33%)
HSVhsv(308, 83%, 56%)
CMYKcmyk(0%, 82.5%, 11.2%, 43.9%)
CIE-LABlab(34.13, 57.15, -28.79)
CIE-LCHlch(34.13, 63.99, 333.26°)
OKLaboklab(45.67% 0.1667 -0.0789)
OKLCHoklch(45.67% 0.184 334.7)
XYZxyz(15.5063, 8.0686, 20.8153)
Luminance0.0807 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F197F #198F29
analogous
#64198F #8F197F #8F1944
triadic
#8F197F #7F8F19 #197F8F
tetradic
#8F197F #8F6419 #198F29 #19448F
square
#8F197F #8F6419 #198F29 #19448F
split-complementary
#8F197F #448F19 #198F64
monochromatic
#270722 #5B1051 #8F197F #C322AD #DE44C9

Accessibility & contrast

On white

8.04
#8F197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F197F
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F197F#FFFFFF#000000##FFFFFF
##8F197F1.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f197f;
/* rgb */ color: rgb(143, 25, 127);
/* oklch */ color: oklch(45.7% 0.184 334.7);
Tailwind
colors: {
  custom: {
    50: '#b466a4',
    500: '#8f197f',
    950: '#000000',
  },
}
SCSS
$custom: #8f197f;
$custom-light: #b466a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f197f",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 308.136,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45671,
    "c": 0.18441,
    "h": 334.7
  },
  "luminance": 0.08067
}

Semantic roles & 50–950 ramp

primary
#8F197F
secondary
#44BF55
accent
#ED533B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F197F

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

Preview Lab → · Contrast checker → · Palette generator →

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