#8F198B#8F198B

#8F198B is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.193 H 329.7°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8F198B
RGBrgb(143, 25, 139)
HSLhsl(302, 70%, 33%)
HSVhsv(302, 83%, 56%)
CMYKcmyk(0%, 82.5%, 2.8%, 43.9%)
CIE-LABlab(34.80, 59.01, -35.17)
CIE-LCHlch(34.80, 68.70, 329.20°)
OKLaboklab(46.37% 0.1668 -0.0974)
OKLCHoklch(46.37% 0.193 329.7)
XYZxyz(16.3354, 8.4003, 25.1821)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F198B #198F1D
analogous
#58198F #8F198B #8F1950
triadic
#8F198B #8B8F19 #198B8F
tetradic
#8F198B #8F5819 #198F1D #19508F
square
#8F198B #8F5819 #198F1D #19508F
split-complementary
#8F198B #508F19 #198F58
monochromatic
#270726 #5B1058 #8F198B #C322BE #DE44D9

Accessibility & contrast

On white

7.84
#8F198B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8F198B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F198B
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F198B#FFFFFF#000000##FFFFFF
##8F198B1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488E
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#942C53
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f198b;
/* rgb */ color: rgb(143, 25, 139);
/* oklch */ color: oklch(46.4% 0.193 329.7);
Tailwind
colors: {
  custom: {
    50: '#b467ad',
    500: '#8f198b',
    950: '#000000',
  },
}
SCSS
$custom: #8f198b;
$custom-light: #b467ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f198b",
  "rgb": {
    "r": 143,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 302.034,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.46372,
    "c": 0.1931,
    "h": 329.7
  },
  "luminance": 0.08399
}

Semantic roles & 50–950 ramp

primary
#8F198B
secondary
#44BF49
accent
#ED413B
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F198B

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

Preview Lab → · Contrast checker → · Palette generator →

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