#8B167B#8B167B

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

Color values

HEX#8B167B
RGBrgb(139, 22, 123)
HSLhsl(308, 73%, 32%)
HSVhsv(308, 84%, 55%)
CMYKcmyk(0%, 84.2%, 11.5%, 45.5%)
CIE-LABlab(32.91, 56.42, -28.25)
CIE-LCHlch(32.91, 63.10, 333.40°)
OKLaboklab(44.59% 0.1648 -0.0774)
OKLCHoklch(44.59% 0.182 334.8)
XYZxyz(14.5097, 7.4942, 19.4174)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B167B #168B26
analogous
#61168B #8B167B #8B1641
triadic
#8B167B #7B8B16 #167B8B
tetradic
#8B167B #8B6116 #168B26 #16418B
square
#8B167B #8B6116 #168B26 #16418B
split-complementary
#8B167B #418B16 #168B61
monochromatic
#21051D #560E4C #8B167B #C01EAA #E03BCA

Accessibility & contrast

On white

8.40
#8B167B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8B167B
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B167B#FFFFFF#000000##FFFFFF
##8B167B1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14437E
Deuteranopia (green-blind)
#435378
Tritanopia (blue-blind)
#922349
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #8b167b;
/* rgb */ color: rgb(139, 22, 123);
/* oklch */ color: oklch(44.6% 0.182 334.8);
Tailwind
colors: {
  custom: {
    50: '#b164a1',
    500: '#8b167b',
    950: '#000000',
  },
}
SCSS
$custom: #8b167b;
$custom-light: #b164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#8b167b",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 123
  },
  "hsl": {
    "h": 308.205,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44591,
    "c": 0.18203,
    "h": 334.8
  },
  "luminance": 0.07493
}

Semantic roles & 50–950 ramp

primary
#8B167B
secondary
#3EBF50
accent
#EF5138
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E

Preview Lab

Preview with #8B167B

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

Preview Lab → · Contrast checker → · Palette generator →

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