#8F167F#8F167F

#8F167F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.5% C 0.187 H 334.6°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#8F167F
RGBrgb(143, 22, 127)
HSLhsl(308, 73%, 32%)
HSVhsv(308, 85%, 56%)
CMYKcmyk(0%, 84.6%, 11.2%, 43.9%)
CIE-LABlab(33.87, 57.88, -29.19)
CIE-LCHlch(33.87, 64.83, 333.24°)
OKLaboklab(45.49% 0.1689 -0.08)
OKLCHoklch(45.49% 0.187 334.6)
XYZxyz(15.4456, 7.9472, 20.7951)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F167F #168F26
analogous
#63168F #8F167F #8F1642
triadic
#8F167F #7F8F16 #167F8F
tetradic
#8F167F #8F6316 #168F26 #16428F
square
#8F167F #8F6316 #168F26 #16428F
split-complementary
#8F167F #428F16 #168F63
monochromatic
#250621 #5A0E50 #8F167F #C41EAE #E13ECC

Accessibility & contrast

On white

8.11
#8F167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#8F167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F167F
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F167F#FFFFFF#000000##FFFFFF
##8F167F1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144582
Deuteranopia (green-blind)
#45567C
Tritanopia (blue-blind)
#96244C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8f167f;
/* rgb */ color: rgb(143, 22, 127);
/* oklch */ color: oklch(45.5% 0.187 334.6);
Tailwind
colors: {
  custom: {
    50: '#b465a4',
    500: '#8f167f',
    950: '#000000',
  },
}
SCSS
$custom: #8f167f;
$custom-light: #b465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f167f",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 307.934,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.4549,
    "c": 0.18686,
    "h": 334.6
  },
  "luminance": 0.07946
}

Semantic roles & 50–950 ramp

primary
#8F167F
secondary
#3FC151
accent
#F05038
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F167F

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

Preview Lab → · Contrast checker → · Palette generator →

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