#8F168B#8F168B

#8F168B is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.195 H 329.7°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8F168B
RGBrgb(143, 22, 139)
HSLhsl(302, 73%, 32%)
HSVhsv(302, 85%, 56%)
CMYKcmyk(0%, 84.6%, 2.8%, 43.9%)
CIE-LABlab(34.56, 59.73, -35.56)
CIE-LCHlch(34.56, 69.52, 329.23°)
OKLaboklab(46.2% 0.1688 -0.0985)
OKLCHoklch(46.2% 0.195 329.7)
XYZxyz(16.2747, 8.2789, 25.1619)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F168B #168F1A
analogous
#56168F #8F168B #8F164F
triadic
#8F168B #8B8F16 #168B8F
tetradic
#8F168B #8F5616 #168F1A #164F8F
square
#8F168B #8F5616 #168F1A #164F8F
split-complementary
#8F168B #4F8F16 #168F56
monochromatic
#250624 #5A0E57 #8F168B #C41EBF #E13EDC

Accessibility & contrast

On white

7.91
#8F168B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8F168B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F168B
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F168B#FFFFFF#000000##FFFFFF
##8F168B1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00478E
Deuteranopia (green-blind)
#3F5788
Tritanopia (blue-blind)
#942B52
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8f168b;
/* rgb */ color: rgb(143, 22, 139);
/* oklch */ color: oklch(46.2% 0.195 329.7);
Tailwind
colors: {
  custom: {
    50: '#b466ad',
    500: '#8f168b',
    950: '#000000',
  },
}
SCSS
$custom: #8f168b;
$custom-light: #b466ad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f168b",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 139
  },
  "hsl": {
    "h": 301.983,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46198,
    "c": 0.19544,
    "h": 329.7
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#8F168B
secondary
#3FC144
accent
#F03E38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F168B

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

Preview Lab → · Contrast checker → · Palette generator →

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