#8B1688#8B1688

#8B1688 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.4% C 0.191 H 329.4°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#8B1688
RGBrgb(139, 22, 136)
HSLhsl(302, 73%, 32%)
HSVhsv(302, 84%, 55%)
CMYKcmyk(0%, 84.2%, 2.2%, 45.5%)
CIE-LABlab(33.65, 58.44, -35.19)
CIE-LCHlch(33.65, 68.22, 328.94°)
OKLaboklab(45.36% 0.1647 -0.0975)
OKLCHoklch(45.36% 0.191 329.4)
XYZxyz(15.3782, 7.8416, 23.9914)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1688 #168B19
analogous
#54168B #8B1688 #8B164E
triadic
#8B1688 #888B16 #16888B
tetradic
#8B1688 #8B5416 #168B19 #164E8B
square
#8B1688 #8B5416 #168B19 #164E8B
split-complementary
#8B1688 #4E8B16 #168B54
monochromatic
#210521 #560E54 #8B1688 #C01EBC #E03BDC

Accessibility & contrast

On white

8.18
#8B1688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#8B1688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8B1688
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1688#FFFFFF#000000##FFFFFF
##8B16881.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#902A51
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #8b1688;
/* rgb */ color: rgb(139, 22, 136);
/* oklch */ color: oklch(45.4% 0.191 329.4);
Tailwind
colors: {
  custom: {
    50: '#b165ab',
    500: '#8b1688',
    950: '#000000',
  },
}
SCSS
$custom: #8b1688;
$custom-light: #b165ab;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1688",
  "rgb": {
    "r": 139,
    "g": 22,
    "b": 136
  },
  "hsl": {
    "h": 301.538,
    "s": 72.671,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45361,
    "c": 0.19141,
    "h": 329.4
  },
  "luminance": 0.0784
}

Semantic roles & 50–950 ramp

primary
#8B1688
secondary
#3EBF41
accent
#EF3D38
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #8B1688

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

Preview Lab → · Contrast checker → · Palette generator →

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