#8E167F#8E167F

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

Color values

HEX#8E167F
RGBrgb(142, 22, 127)
HSLhsl(308, 73%, 32%)
HSVhsv(308, 85%, 56%)
CMYKcmyk(0%, 84.5%, 10.6%, 44.3%)
CIE-LABlab(33.69, 57.67, -29.50)
CIE-LCHlch(33.69, 64.77, 332.91°)
OKLaboklab(45.32% 0.1679 -0.0809)
OKLCHoklch(45.32% 0.186 334.3)
XYZxyz(15.2732, 7.8583, 20.7870)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E167F #168E25
analogous
#61168E #8E167F #8E1643
triadic
#8E167F #7F8E16 #167F8E
tetradic
#8E167F #8E6116 #168E25 #16438E
square
#8E167F #8E6116 #168E25 #16438E
split-complementary
#8E167F #438E16 #168E61
monochromatic
#240620 #590E50 #8E167F #C31EAE #E13DCD

Accessibility & contrast

On white

8.17
#8E167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8E167F
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E167F#FFFFFF#000000##FFFFFF
##8E167F1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124482
Deuteranopia (green-blind)
#44557C
Tritanopia (blue-blind)
#95244C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8e167f;
/* rgb */ color: rgb(142, 22, 127);
/* oklch */ color: oklch(45.3% 0.186 334.3);
Tailwind
colors: {
  custom: {
    50: '#b365a4',
    500: '#8e167f',
    950: '#000000',
  },
}
SCSS
$custom: #8e167f;
$custom-light: #b365a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8e167f",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 307.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45322,
    "c": 0.18636,
    "h": 334.3
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#8E167F
secondary
#3FC14F
accent
#F04F38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8E167F

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

Preview Lab → · Contrast checker → · Palette generator →

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