#8B167D#8B167D

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

Color values

HEX#8B167D
RGBrgb(139, 22, 125)
HSLhsl(307, 73%, 32%)
HSVhsv(307, 84%, 55%)
CMYKcmyk(0%, 84.2%, 10.1%, 45.5%)
CIE-LABlab(33.02, 56.72, -29.34)
CIE-LCHlch(33.02, 63.86, 332.65°)
OKLaboklab(44.71% 0.1648 -0.0805)
OKLCHoklch(44.71% 0.183 334)
XYZxyz(14.6362, 7.5448, 20.0835)
Luminance0.0754 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B167D #168B24
analogous
#5F168B #8B167D #8B1643
triadic
#8B167D #7D8B16 #167D8B
tetradic
#8B167D #8B5F16 #168B24 #16438B
square
#8B167D #8B5F16 #168B24 #16438B
split-complementary
#8B167D #438B16 #168B5F
monochromatic
#21051E #560E4D #8B167D #C01EAD #E03BCC

Accessibility & contrast

On white

8.37
#8B167D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#8B167D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B167D
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B167D#FFFFFF#000000##FFFFFF
##8B167D1.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114380
Deuteranopia (green-blind)
#42537A
Tritanopia (blue-blind)
#92244A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b167d;
/* rgb */ color: rgb(139, 22, 125);
/* oklch */ color: oklch(44.7% 0.183 334.0);
Tailwind
colors: {
  custom: {
    50: '#b164a3',
    500: '#8b167d',
    950: '#000000',
  },
}
SCSS
$custom: #8b167d;
$custom-light: #b164a3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b167d",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 125
  },
  "hsl": {
    "h": 307.179,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44705,
    "c": 0.18343,
    "h": 334
  },
  "luminance": 0.07543
}

Semantic roles & 50–950 ramp

primary
#8B167D
secondary
#3EBF4D
accent
#EF4E38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B167D

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

Preview Lab → · Contrast checker → · Palette generator →

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