#8F167D#8F167D

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

Color values

HEX#8F167D
RGBrgb(143, 22, 125)
HSLhsl(309, 73%, 32%)
HSVhsv(309, 85%, 56%)
CMYKcmyk(0%, 84.6%, 12.6%, 43.9%)
CIE-LABlab(33.76, 57.59, -28.11)
CIE-LCHlch(33.76, 64.08, 333.98°)
OKLaboklab(45.38% 0.1688 -0.0769)
OKLCHoklch(45.38% 0.185 335.5)
XYZxyz(15.3165, 7.8956, 20.1154)
Luminance0.0789 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F167D #168F28
analogous
#65168F #8F167D #8F1640
triadic
#8F167D #7D8F16 #167D8F
tetradic
#8F167D #8F6516 #168F28 #16408F
square
#8F167D #8F6516 #168F28 #16408F
split-complementary
#8F167D #408F16 #168F65
monochromatic
#250620 #5A0E4F #8F167D #C41EAB #E13EC9

Accessibility & contrast

On white

8.14
#8F167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#8F167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F167D
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F167D#FFFFFF#000000##FFFFFF
##8F167D1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164480
Deuteranopia (green-blind)
#46567A
Tritanopia (blue-blind)
#97224A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f167d;
/* rgb */ color: rgb(143, 22, 125);
/* oklch */ color: oklch(45.4% 0.185 335.5);
Tailwind
colors: {
  custom: {
    50: '#b465a3',
    500: '#8f167d',
    950: '#000000',
  },
}
SCSS
$custom: #8f167d;
$custom-light: #b465a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f167d",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 308.926,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45378,
    "c": 0.18547,
    "h": 335.5
  },
  "luminance": 0.07894
}

Semantic roles & 50–950 ramp

primary
#8F167D
secondary
#3FC153
accent
#F05338
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F167D

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

Preview Lab → · Contrast checker → · Palette generator →

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