#88218B#88218B

#88218B is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.182 H 326.8°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#88218B
RGBrgb(136, 33, 139)
HSLhsl(298, 62%, 34%)
HSVhsv(298, 76%, 55%)
CMYKcmyk(2.2%, 76.3%, 0%, 45.5%)
CIE-LABlab(34.37, 55.22, -35.94)
CIE-LCHlch(34.37, 65.88, 326.94°)
OKLaboklab(45.83% 0.1526 -0.0998)
OKLCHoklch(45.83% 0.182 326.8)
XYZxyz(15.3571, 8.1871, 25.1925)
Luminance0.0819 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#88218B #248B21
analogous
#53218B #88218B #8B2159
triadic
#88218B #8B8821 #218B88
tetradic
#88218B #8B5321 #248B21 #21598B
square
#88218B #8B5321 #248B21 #21598B
split-complementary
#88218B #598B21 #218B53
monochromatic
#270A28 #58155A #88218B #B82DBC #D251D6

Accessibility & contrast

On white

7.96
#88218B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#88218B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #88218B
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##88218B#FFFFFF#000000##FFFFFF
##88218B1.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02498E
Deuteranopia (green-blind)
#3C5588
Tritanopia (blue-blind)
#8C3355
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #88218b;
/* rgb */ color: rgb(136, 33, 139);
/* oklch */ color: oklch(45.8% 0.182 326.8);
Tailwind
colors: {
  custom: {
    50: '#ae68ad',
    500: '#88218b',
    950: '#000000',
  },
}
SCSS
$custom: #88218b;
$custom-light: #ae68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#88218b",
  "rgb": {
    "r": 136,
    "g": 33,
    "b": 139
  },
  "hsl": {
    "h": 298.302,
    "s": 61.628,
    "l": 33.725
  },
  "oklch": {
    "l": 0.45829,
    "c": 0.18233,
    "h": 326.8
  },
  "luminance": 0.08186
}

Semantic roles & 50–950 ramp

primary
#88218B
secondary
#52B94F
accent
#E54348
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #88218B

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

Preview Lab → · Contrast checker → · Palette generator →

#88218B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva