#88178D#88178D

#88178D is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.3% C 0.193 H 326.2°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#88178D
RGBrgb(136, 23, 141)
HSLhsl(297, 72%, 32%)
HSVhsv(297, 84%, 55%)
CMYKcmyk(3.5%, 83.7%, 0%, 44.7%)
CIE-LABlab(33.50, 58.43, -38.56)
CIE-LCHlch(33.50, 70.00, 326.58°)
OKLaboklab(45.25% 0.1605 -0.1074)
OKLCHoklch(45.25% 0.193 326.2)
XYZxyz(15.2672, 7.7712, 25.8900)
Luminance0.0777 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#88178D #1C8D17
analogous
#4D178D #88178D #8D1757
triadic
#88178D #8D8817 #178D88
tetradic
#88178D #8D4D17 #1C8D17 #17578D
square
#88178D #8D4D17 #1C8D17 #17578D
split-complementary
#88178D #578D17 #178D4D
monochromatic
#220624 #550E58 #88178D #BB20C2 #D93FE0

Accessibility & contrast

On white

8.22
#88178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#88178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #88178D
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##88178D#FFFFFF#000000##FFFFFF
##88178D1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#36538A
Tritanopia (blue-blind)
#8C2F54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #88178d;
/* rgb */ color: rgb(136, 23, 141);
/* oklch */ color: oklch(45.3% 0.193 326.2);
Tailwind
colors: {
  custom: {
    50: '#af65af',
    500: '#88178d',
    950: '#000000',
  },
}
SCSS
$custom: #88178d;
$custom-light: #af65af;
$custom-dark: #000000;
JSON
{
  "hex": "#88178d",
  "rgb": {
    "r": 136,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 297.458,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.45252,
    "c": 0.1931,
    "h": 326.2
  },
  "luminance": 0.0777
}

Semantic roles & 50–950 ramp

primary
#88178D
secondary
#45C040
accent
#EF3941
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #88178D

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

Preview Lab → · Contrast checker → · Palette generator →

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