#88158D#88158D

#88158D is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.195 H 326.2°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#88158D
RGBrgb(136, 21, 141)
HSLhsl(298, 74%, 32%)
HSVhsv(298, 85%, 55%)
CMYKcmyk(3.5%, 85.1%, 0%, 44.7%)
CIE-LABlab(33.34, 58.90, -38.82)
CIE-LCHlch(33.34, 70.54, 326.61°)
OKLaboklab(45.14% 0.1618 -0.1081)
OKLCHoklch(45.14% 0.195 326.2)
XYZxyz(15.2289, 7.6948, 25.8773)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#88158D #1A8D15
analogous
#4C158D #88158D #8D1556
triadic
#88158D #8D8815 #158D88
tetradic
#88158D #8D4C15 #1A8D15 #15568D
square
#88158D #8D4C15 #1A8D15 #15568D
split-complementary
#88158D #568D15 #158D4C
monochromatic
#210522 #550D58 #88158D #BB1DC2 #DB3BE2

Accessibility & contrast

On white

8.27
#88158D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#88158D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #88158D
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##88158D#FFFFFF#000000##FFFFFF
##88158D1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#8C2E53
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #88158d;
/* rgb */ color: rgb(136, 21, 141);
/* oklch */ color: oklch(45.1% 0.195 326.2);
Tailwind
colors: {
  custom: {
    50: '#af64af',
    500: '#88158d',
    950: '#000000',
  },
}
SCSS
$custom: #88158d;
$custom-light: #af64af;
$custom-dark: #000000;
JSON
{
  "hex": "#88158d",
  "rgb": {
    "r": 136,
    "g": 21,
    "b": 141
  },
  "hsl": {
    "h": 297.5,
    "s": 74.074,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.19461,
    "h": 326.2
  },
  "luminance": 0.07694
}

Semantic roles & 50–950 ramp

primary
#88158D
secondary
#43C13D
accent
#F1373F
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110610
muted
#807A7F

Preview Lab

Preview with #88158D

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

Preview Lab → · Contrast checker → · Palette generator →

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