#8F167B#8F167B

#8F167B is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.184 H 336.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8F167B
RGBrgb(143, 22, 123)
HSLhsl(310, 73%, 32%)
HSVhsv(310, 85%, 56%)
CMYKcmyk(0%, 84.6%, 14%, 43.9%)
CIE-LABlab(33.66, 57.29, -27.02)
CIE-LCHlch(33.66, 63.35, 334.75°)
OKLaboklab(45.27% 0.1687 -0.0738)
OKLCHoklch(45.27% 0.184 336.4)
XYZxyz(15.1900, 7.8450, 19.4493)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F167B #168F2A
analogous
#66168F #8F167B #8F163F
triadic
#8F167B #7B8F16 #167B8F
tetradic
#8F167B #8F6616 #168F2A #163F8F
square
#8F167B #8F6616 #168F2A #163F8F
split-complementary
#8F167B #3F8F16 #168F66
monochromatic
#250620 #5A0E4D #8F167B #C41EA9 #E13EC6

Accessibility & contrast

On white

8.18
#8F167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F167B
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F167B#FFFFFF#000000##FFFFFF
##8F167B1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19447E
Deuteranopia (green-blind)
#475578
Tritanopia (blue-blind)
#972149
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f167b;
/* rgb */ color: rgb(143, 22, 123);
/* oklch */ color: oklch(45.3% 0.184 336.4);
Tailwind
colors: {
  custom: {
    50: '#b465a1',
    500: '#8f167b',
    950: '#000000',
  },
}
SCSS
$custom: #8f167b;
$custom-light: #b465a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f167b",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 309.917,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45267,
    "c": 0.1841,
    "h": 336.4
  },
  "luminance": 0.07844
}

Semantic roles & 50–950 ramp

primary
#8F167B
secondary
#3FC155
accent
#F05638
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060F
muted
#817A7E

Preview Lab

Preview with #8F167B

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

Preview Lab → · Contrast checker → · Palette generator →

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