#8F197D#8F197D

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

Color values

HEX#8F197D
RGBrgb(143, 25, 125)
HSLhsl(309, 70%, 33%)
HSVhsv(309, 83%, 56%)
CMYKcmyk(0%, 82.5%, 12.6%, 43.9%)
CIE-LABlab(34.02, 56.85, -27.71)
CIE-LCHlch(34.02, 63.24, 334.02°)
OKLaboklab(45.56% 0.1666 -0.0758)
OKLCHoklch(45.56% 0.183 335.5)
XYZxyz(15.3772, 8.0170, 20.1356)
Luminance0.0802 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F197D #198F2B
analogous
#66198F #8F197D #8F1942
triadic
#8F197D #7D8F19 #197D8F
tetradic
#8F197D #8F6619 #198F2B #19428F
square
#8F197D #8F6619 #198F2B #19428F
split-complementary
#8F197D #428F19 #198F66
monochromatic
#270722 #5B104F #8F197D #C322AB #DE44C7

Accessibility & contrast

On white

8.07
#8F197D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F197D
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F197D#FFFFFF#000000##FFFFFF
##8F197D1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4580
Deuteranopia (green-blind)
#47567A
Tritanopia (blue-blind)
#97244B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f197d;
/* rgb */ color: rgb(143, 25, 125);
/* oklch */ color: oklch(45.6% 0.183 335.5);
Tailwind
colors: {
  custom: {
    50: '#b466a3',
    500: '#8f197d',
    950: '#000000',
  },
}
SCSS
$custom: #8f197d;
$custom-light: #b466a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f197d",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 125
  },
  "hsl": {
    "h": 309.153,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45559,
    "c": 0.18301,
    "h": 335.5
  },
  "luminance": 0.08016
}

Semantic roles & 50–950 ramp

primary
#8F197D
secondary
#44BF57
accent
#ED563B
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12070F
muted
#817A7F

Preview Lab

Preview with #8F197D

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

Preview Lab → · Contrast checker → · Palette generator →

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