#8F168F#8F168F

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

Color values

HEX#8F168F
RGBrgb(143, 22, 143)
HSLhsl(300, 73%, 32%)
HSVhsv(300, 85%, 56%)
CMYKcmyk(0%, 84.6%, 0%, 43.9%)
CIE-LABlab(34.80, 60.37, -37.65)
CIE-LCHlch(34.80, 71.15, 328.05°)
OKLaboklab(46.45% 0.1686 -0.1045)
OKLCHoklch(46.45% 0.198 328.2)
XYZxyz(16.5723, 8.3979, 26.7294)
Luminance0.0840 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F168F #168F16
analogous
#53168F #8F168F #8F1653
triadic
#8F168F #8F8F16 #168F8F
tetradic
#8F168F #8F5316 #168F16 #16538F
square
#8F168F #8F5316 #168F16 #16538F
split-complementary
#8F168F #538F16 #168F53
monochromatic
#250625 #5A0E5A #8F168F #C41EC4 #E13EE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F168F#FFFFFF#000000##FFFFFF
##8F168F1.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)
#004892
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#942D55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8f168f;
/* rgb */ color: rgb(143, 22, 143);
/* oklch */ color: oklch(46.4% 0.198 328.2);
Tailwind
colors: {
  custom: {
    50: '#b466b0',
    500: '#8f168f',
    950: '#000000',
  },
}
SCSS
$custom: #8f168f;
$custom-light: #b466b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f168f",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 300,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46446,
    "c": 0.19838,
    "h": 328.2
  },
  "luminance": 0.08397
}

Semantic roles & 50–950 ramp

primary
#8F168F
secondary
#3FC13F
accent
#F03838
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #8F168F

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

Preview Lab → · Contrast checker → · Palette generator →

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