#8F167C#8F167C

#8F167C is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.185 H 335.9°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#8F167C
RGBrgb(143, 22, 124)
HSLhsl(309, 73%, 32%)
HSVhsv(309, 85%, 56%)
CMYKcmyk(0%, 84.6%, 13.3%, 43.9%)
CIE-LABlab(33.71, 57.44, -27.56)
CIE-LCHlch(33.71, 63.71, 334.37°)
OKLaboklab(45.32% 0.1687 -0.0753)
OKLCHoklch(45.32% 0.185 335.9)
XYZxyz(15.2530, 7.8702, 19.7807)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F167C #168F29
analogous
#65168F #8F167C #8F1640
triadic
#8F167C #7C8F16 #167C8F
tetradic
#8F167C #8F6516 #168F29 #16408F
square
#8F167C #8F6516 #168F29 #16408F
split-complementary
#8F167C #408F16 #168F65
monochromatic
#250620 #5A0E4E #8F167C #C41EAA #E13EC8

Accessibility & contrast

On white

8.16
#8F167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8F167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F167C
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F167C#FFFFFF#000000##FFFFFF
##8F167C1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18447F
Deuteranopia (green-blind)
#465579
Tritanopia (blue-blind)
#97224A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f167c;
/* rgb */ color: rgb(143, 22, 124);
/* oklch */ color: oklch(45.3% 0.185 335.9);
Tailwind
colors: {
  custom: {
    50: '#b465a2',
    500: '#8f167c',
    950: '#000000',
  },
}
SCSS
$custom: #8f167c;
$custom-light: #b465a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f167c",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 309.421,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.18479,
    "h": 335.9
  },
  "luminance": 0.07869
}

Semantic roles & 50–950 ramp

primary
#8F167C
secondary
#3FC154
accent
#F05538
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F167C

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

Preview Lab → · Contrast checker → · Palette generator →

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