#8B167C#8B167C

#8B167C is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.183 H 334.4°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#8B167C
RGBrgb(139, 22, 124)
HSLhsl(308, 73%, 32%)
HSVhsv(308, 84%, 55%)
CMYKcmyk(0%, 84.2%, 10.8%, 45.5%)
CIE-LABlab(32.96, 56.57, -28.80)
CIE-LCHlch(32.96, 63.48, 333.02°)
OKLaboklab(44.65% 0.1648 -0.079)
OKLCHoklch(44.65% 0.183 334.4)
XYZxyz(14.5726, 7.5194, 19.7488)
Luminance0.0752 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B167C #168B25
analogous
#60168B #8B167C #8B1642
triadic
#8B167C #7C8B16 #167C8B
tetradic
#8B167C #8B6016 #168B25 #16428B
square
#8B167C #8B6016 #168B25 #16428B
split-complementary
#8B167C #428B16 #168B60
monochromatic
#21051E #560E4D #8B167C #C01EAB #E03BCB

Accessibility & contrast

On white

8.39
#8B167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#8B167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B167C
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B167C#FFFFFF#000000##FFFFFF
##8B167C1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13437F
Deuteranopia (green-blind)
#435379
Tritanopia (blue-blind)
#92234A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b167c;
/* rgb */ color: rgb(139, 22, 124);
/* oklch */ color: oklch(44.6% 0.183 334.4);
Tailwind
colors: {
  custom: {
    50: '#b164a2',
    500: '#8b167c',
    950: '#000000',
  },
}
SCSS
$custom: #8b167c;
$custom-light: #b164a2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b167c",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 307.692,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44648,
    "c": 0.18273,
    "h": 334.4
  },
  "luminance": 0.07518
}

Semantic roles & 50–950 ramp

primary
#8B167C
secondary
#3EBF4F
accent
#EF5038
background
#FBF6FA
surface
#F6EBF3
border
#D0C6CD
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B167C

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

Preview Lab → · Contrast checker → · Palette generator →

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