#8B167F#8B167F

#8B167F is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.185 H 333.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#8B167F
RGBrgb(139, 22, 127)
HSLhsl(306, 73%, 32%)
HSVhsv(306, 84%, 55%)
CMYKcmyk(0%, 84.2%, 8.6%, 45.5%)
CIE-LABlab(33.13, 57.03, -30.41)
CIE-LCHlch(33.13, 64.63, 331.93°)
OKLaboklab(44.82% 0.1649 -0.0836)
OKLCHoklch(44.82% 0.185 333.1)
XYZxyz(14.7652, 7.5964, 20.7632)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B167F #168B22
analogous
#5D168B #8B167F #8B1645
triadic
#8B167F #7F8B16 #167F8B
tetradic
#8B167F #8B5D16 #168B22 #16458B
square
#8B167F #8B5D16 #168B22 #16458B
split-complementary
#8B167F #458B16 #168B5D
monochromatic
#21051E #560E4F #8B167F #C01EAF #E03BCF

Accessibility & contrast

On white

8.34
#8B167F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#8B167F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B167F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B167F#FFFFFF#000000##FFFFFF
##8B167F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4382
Deuteranopia (green-blind)
#41547C
Tritanopia (blue-blind)
#92254B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #8b167f;
/* rgb */ color: rgb(139, 22, 127);
/* oklch */ color: oklch(44.8% 0.185 333.1);
Tailwind
colors: {
  custom: {
    50: '#b165a4',
    500: '#8b167f',
    950: '#000000',
  },
}
SCSS
$custom: #8b167f;
$custom-light: #b165a4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b167f",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 127
  },
  "hsl": {
    "h": 306.154,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.44821,
    "c": 0.18485,
    "h": 333.1
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#8B167F
secondary
#3EBF4B
accent
#EF4B38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11060F
muted
#807A7F

Preview Lab

Preview with #8B167F

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

Preview Lab → · Contrast checker → · Palette generator →

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