#8F198D#8F198D

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

Color values

HEX#8F198D
RGBrgb(143, 25, 141)
HSLhsl(301, 70%, 33%)
HSVhsv(301, 83%, 56%)
CMYKcmyk(0%, 82.5%, 1.4%, 43.9%)
CIE-LABlab(34.92, 59.34, -36.22)
CIE-LCHlch(34.92, 69.52, 328.60°)
OKLaboklab(46.5% 0.1667 -0.1004)
OKLCHoklch(46.5% 0.195 328.9)
XYZxyz(16.4829, 8.4593, 25.9588)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F198D #198F1B
analogous
#56198F #8F198D #8F1952
triadic
#8F198D #8D8F19 #198D8F
tetradic
#8F198D #8F5619 #198F1B #19528F
square
#8F198D #8F5619 #198F1B #19528F
split-complementary
#8F198D #528F19 #198F56
monochromatic
#270726 #5B105A #8F198D #C322C0 #DE44DC

Accessibility & contrast

On white

7.80
#8F198D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8F198D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F198D
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F198D#FFFFFF#000000##FFFFFF
##8F198D1.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#3E578A
Tritanopia (blue-blind)
#942E54
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f198d;
/* rgb */ color: rgb(143, 25, 141);
/* oklch */ color: oklch(46.5% 0.195 328.9);
Tailwind
colors: {
  custom: {
    50: '#b467af',
    500: '#8f198d',
    950: '#000000',
  },
}
SCSS
$custom: #8f198d;
$custom-light: #b467af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f198d",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 301.017,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46495,
    "c": 0.19459,
    "h": 328.9
  },
  "luminance": 0.08458
}

Semantic roles & 50–950 ramp

primary
#8F198D
secondary
#44BF46
accent
#ED3E3B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F198D

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

Preview Lab → · Contrast checker → · Palette generator →

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