#8F168D#8F168D

#8F168D is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.3% C 0.197 H 329.0°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#8F168D
RGBrgb(143, 22, 141)
HSLhsl(301, 73%, 32%)
HSVhsv(301, 85%, 56%)
CMYKcmyk(0%, 84.6%, 1.4%, 43.9%)
CIE-LABlab(34.68, 60.05, -36.61)
CIE-LCHlch(34.68, 70.33, 328.63°)
OKLaboklab(46.32% 0.1687 -0.1015)
OKLCHoklch(46.32% 0.197 329)
XYZxyz(16.4222, 8.3378, 25.9386)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F168D #168F18
analogous
#55168F #8F168D #8F1650
triadic
#8F168D #8D8F16 #168D8F
tetradic
#8F168D #8F5516 #168F18 #16508F
square
#8F168D #8F5516 #168F18 #16508F
split-complementary
#8F168D #508F16 #168F55
monochromatic
#250624 #5A0E59 #8F168D #C41EC1 #E13EDF

Accessibility & contrast

On white

7.87
#8F168D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8F168D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F168D
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F168D#FFFFFF#000000##FFFFFF
##8F168D1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f168d;
/* rgb */ color: rgb(143, 22, 141);
/* oklch */ color: oklch(46.3% 0.197 329.0);
Tailwind
colors: {
  custom: {
    50: '#b466af',
    500: '#8f168d',
    950: '#000000',
  },
}
SCSS
$custom: #8f168d;
$custom-light: #b466af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f168d",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 141
  },
  "hsl": {
    "h": 300.992,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46321,
    "c": 0.19691,
    "h": 329
  },
  "luminance": 0.08337
}

Semantic roles & 50–950 ramp

primary
#8F168D
secondary
#3FC142
accent
#F03B38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F168D

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

Preview Lab → · Contrast checker → · Palette generator →

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