#8F167E#8F167E

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

Color values

HEX#8F167E
RGBrgb(143, 22, 126)
HSLhsl(308, 73%, 32%)
HSVhsv(308, 85%, 56%)
CMYKcmyk(0%, 84.6%, 11.9%, 43.9%)
CIE-LABlab(33.82, 57.73, -28.65)
CIE-LCHlch(33.82, 64.45, 333.61°)
OKLaboklab(45.43% 0.1688 -0.0785)
OKLCHoklch(45.43% 0.186 335.1)
XYZxyz(15.3807, 7.9213, 20.4535)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F167E #168F27
analogous
#64168F #8F167E #8F1641
triadic
#8F167E #7E8F16 #167E8F
tetradic
#8F167E #8F6416 #168F27 #16418F
square
#8F167E #8F6416 #168F27 #16418F
split-complementary
#8F167E #418F16 #168F64
monochromatic
#250621 #5A0E4F #8F167E #C41EAD #E13ECA

Accessibility & contrast

On white

8.13
#8F167E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8F167E
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F167E#FFFFFF#000000##FFFFFF
##8F167E1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154481
Deuteranopia (green-blind)
#45567B
Tritanopia (blue-blind)
#96234B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8f167e;
/* rgb */ color: rgb(143, 22, 126);
/* oklch */ color: oklch(45.4% 0.186 335.1);
Tailwind
colors: {
  custom: {
    50: '#b465a4',
    500: '#8f167e',
    950: '#000000',
  },
}
SCSS
$custom: #8f167e;
$custom-light: #b465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f167e",
  "rgb": {
    "r": 143,
    "g": 22,
    "b": 126
  },
  "hsl": {
    "h": 308.43,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.45434,
    "c": 0.18616,
    "h": 335.1
  },
  "luminance": 0.0792
}

Semantic roles & 50–950 ramp

primary
#8F167E
secondary
#3FC152
accent
#F05238
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#12060F
muted
#817A7F

Preview Lab

Preview with #8F167E

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

Preview Lab → · Contrast checker → · Palette generator →

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