#8F168A#8F168A

#8F168A is a mid, vivid purple. Relative luminance 0.082; OKLCH L 46.1% C 0.195 H 330.1°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8F168A
RGBrgb(143, 22, 138)
HSLhsl(302, 73%, 32%)
HSVhsv(302, 85%, 56%)
CMYKcmyk(0%, 84.6%, 3.5%, 43.9%)
CIE-LABlab(34.50, 59.57, -35.04)
CIE-LCHlch(34.50, 69.11, 329.54°)
OKLaboklab(46.14% 0.1689 -0.0969)
OKLCHoklch(46.14% 0.195 330.1)
XYZxyz(16.2020, 8.2498, 24.7789)
Luminance0.0825 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F168A #168F1B
analogous
#57168F #8F168A #8F164E
triadic
#8F168A #8A8F16 #168A8F
tetradic
#8F168A #8F5716 #168F1B #164E8F
square
#8F168A #8F5716 #168F1B #164E8F
split-complementary
#8F168A #4E8F16 #168F57
monochromatic
#250624 #5A0E57 #8F168A #C41EBD #E13EDB

Accessibility & contrast

On white

7.93
#8F168A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8F168A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F168A
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F168A#FFFFFF#000000##FFFFFF
##8F168A1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478D
Deuteranopia (green-blind)
#3F5787
Tritanopia (blue-blind)
#952A52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f168a;
/* rgb */ color: rgb(143, 22, 138);
/* oklch */ color: oklch(46.1% 0.195 330.1);
Tailwind
colors: {
  custom: {
    50: '#b466ac',
    500: '#8f168a',
    950: '#000000',
  },
}
SCSS
$custom: #8f168a;
$custom-light: #b466ac;
$custom-dark: #000000;
JSON
{
  "hex": "#8f168a",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 138
  },
  "hsl": {
    "h": 302.479,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46136,
    "c": 0.1947,
    "h": 330.1
  },
  "luminance": 0.08248
}

Semantic roles & 50–950 ramp

primary
#8F168A
secondary
#3FC145
accent
#F03F38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F168A

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

Preview Lab → · Contrast checker → · Palette generator →

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