#8F198E#8F198E

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

Color values

HEX#8F198E
RGBrgb(143, 25, 142)
HSLhsl(301, 70%, 33%)
HSVhsv(301, 83%, 56%)
CMYKcmyk(0%, 82.5%, 0.7%, 43.9%)
CIE-LABlab(34.98, 59.50, -36.74)
CIE-LCHlch(34.98, 69.93, 328.31°)
OKLaboklab(46.56% 0.1667 -0.1019)
OKLCHoklch(46.56% 0.195 328.6)
XYZxyz(16.5576, 8.4892, 26.3524)
Luminance0.0849 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F198E #198F1A
analogous
#55198F #8F198E #8F1953
triadic
#8F198E #8E8F19 #198E8F
tetradic
#8F198E #8F5519 #198F1A #19538F
square
#8F198E #8F5519 #198F1A #19538F
split-complementary
#8F198E #538F19 #198F55
monochromatic
#270727 #5B105A #8F198E #C322C2 #DE44DD

Accessibility & contrast

On white

7.78
#8F198E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F198E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F198E#FFFFFF#000000##FFFFFF
##8F198E1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#3E578B
Tritanopia (blue-blind)
#942E55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f198e;
/* rgb */ color: rgb(143, 25, 142);
/* oklch */ color: oklch(46.6% 0.195 328.6);
Tailwind
colors: {
  custom: {
    50: '#b467af',
    500: '#8f198e',
    950: '#000000',
  },
}
SCSS
$custom: #8f198e;
$custom-light: #b467af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f198e",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 142
  },
  "hsl": {
    "h": 300.508,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46556,
    "c": 0.19534,
    "h": 328.6
  },
  "luminance": 0.08488
}

Semantic roles & 50–950 ramp

primary
#8F198E
secondary
#44BF45
accent
#ED3C3B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F198E

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

Preview Lab → · Contrast checker → · Palette generator →

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