#88178A#88178A

#88178A is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.191 H 327.4°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#88178A
RGBrgb(136, 23, 138)
HSLhsl(299, 71%, 32%)
HSVhsv(299, 83%, 54%)
CMYKcmyk(1.4%, 83.3%, 0%, 45.9%)
CIE-LABlab(33.31, 57.92, -37.00)
CIE-LCHlch(33.31, 68.73, 327.43°)
OKLaboklab(45.06% 0.1607 -0.1028)
OKLCHoklch(45.06% 0.191 327.4)
XYZxyz(15.0470, 7.6831, 24.7303)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#88178A #198A17
analogous
#4F178A #88178A #8A1753
triadic
#88178A #8A8817 #178A88
tetradic
#88178A #8A4F17 #198A17 #17538A
square
#88178A #8A4F17 #198A17 #17538A
split-complementary
#88178A #538A17 #178A4F
monochromatic
#210621 #540E56 #88178A #BC20BE #DC3DDF

Accessibility & contrast

On white

8.28
#88178A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#88178A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #88178A
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##88178A#FFFFFF#000000##FFFFFF
##88178A1.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#385387
Tritanopia (blue-blind)
#8C2D52
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #88178a;
/* rgb */ color: rgb(136, 23, 138);
/* oklch */ color: oklch(45.1% 0.191 327.4);
Tailwind
colors: {
  custom: {
    50: '#af65ad',
    500: '#88178a',
    950: '#000000',
  },
}
SCSS
$custom: #88178a;
$custom-light: #af65ad;
$custom-dark: #000000;
JSON
{
  "hex": "#88178a",
  "rgb": {
    "r": 136,
    "g": 23,
    "b": 138
  },
  "hsl": {
    "h": 298.957,
    "s": 71.429,
    "l": 31.569
  },
  "oklch": {
    "l": 0.45059,
    "c": 0.19079,
    "h": 327.4
  },
  "luminance": 0.07682
}

Semantic roles & 50–950 ramp

primary
#88178A
secondary
#41BE3F
accent
#EE3A3D
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #88178A

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

Preview Lab → · Contrast checker → · Palette generator →

#88178A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva