#8E168E#8E168E

#8E168E is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.197 H 328.2°. Best body text is #FFFFFF at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#8E168E
RGBrgb(142, 22, 142)
HSLhsl(300, 73%, 32%)
HSVhsv(300, 85%, 56%)
CMYKcmyk(0%, 84.5%, 0%, 44.3%)
CIE-LABlab(34.56, 60.01, -37.43)
CIE-LCHlch(34.56, 70.73, 328.05°)
OKLaboklab(46.22% 0.1676 -0.1039)
OKLCHoklch(46.22% 0.197 328.2)
XYZxyz(16.3245, 8.2789, 26.3241)
Luminance0.0828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E168E #168E16
analogous
#52168E #8E168E #8E1652
triadic
#8E168E #8E8E16 #168E8E
tetradic
#8E168E #8E5216 #168E16 #16528E
square
#8E168E #8E5216 #168E16 #16528E
split-complementary
#8E168E #528E16 #168E52
monochromatic
#240624 #590E59 #8E168E #C31EC3 #E13DE1

Accessibility & contrast

On white

7.91
#8E168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#8E168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E168E
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E168E#FFFFFF#000000##FFFFFF
##8E168E1.007.912.667.91
#FFFFFF7.911.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#3C568B
Tritanopia (blue-blind)
#932D54
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8e168e;
/* rgb */ color: rgb(142, 22, 142);
/* oklch */ color: oklch(46.2% 0.197 328.2);
Tailwind
colors: {
  custom: {
    50: '#b366af',
    500: '#8e168e',
    950: '#000000',
  },
}
SCSS
$custom: #8e168e;
$custom-light: #b366af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e168e",
  "rgb": {
    "r": 142,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.19721,
    "h": 328.2
  },
  "luminance": 0.08278
}

Semantic roles & 50–950 ramp

primary
#8E168E
secondary
#3FC13F
accent
#F03838
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E168E

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

Preview Lab → · Contrast checker → · Palette generator →

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