#882788#882788

#882788 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.2% C 0.173 H 327.9°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#882788
RGBrgb(136, 39, 136)
HSLhsl(300, 55%, 34%)
HSVhsv(300, 71%, 53%)
CMYKcmyk(0%, 71.3%, 0%, 46.7%)
CIE-LABlab(34.93, 52.59, -33.19)
CIE-LCHlch(34.93, 62.19, 327.74°)
OKLaboklab(46.17% 0.1467 -0.0919)
OKLCHoklch(46.17% 0.173 327.9)
XYZxyz(15.3226, 8.4639, 24.1144)
Luminance0.0846 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882788 #278827
analogous
#582788 #882788 #882758
triadic
#882788 #888827 #278888
tetradic
#882788 #885827 #278827 #275888
square
#882788 #885827 #278827 #275888
split-complementary
#882788 #588827 #278858
monochromatic
#290C29 #581958 #882788 #B835B8 #D05AD0

Accessibility & contrast

On white

7.80
#882788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#882788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882788
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882788#FFFFFF#000000##FFFFFF
##8827881.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174A8B
Deuteranopia (green-blind)
#405786
Tritanopia (blue-blind)
#8C3555
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #882788;
/* rgb */ color: rgb(136, 39, 136);
/* oklch */ color: oklch(46.2% 0.173 327.9);
Tailwind
colors: {
  custom: {
    50: '#ae6bab',
    500: '#882788',
    950: '#000000',
  },
}
SCSS
$custom: #882788;
$custom-light: #ae6bab;
$custom-dark: #000000;
JSON
{
  "hex": "#882788",
  "rgb": {
    "r": 136,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 300,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.46174,
    "c": 0.17308,
    "h": 327.9
  },
  "luminance": 0.08463
}

Semantic roles & 50–950 ramp

primary
#882788
secondary
#56B556
accent
#DF4949
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #882788

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

Preview Lab → · Contrast checker → · Palette generator →

#882788 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva