#882178#882178

#882178 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.168 H 335.2°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#882178
RGBrgb(136, 33, 120)
HSLhsl(309, 61%, 33%)
HSVhsv(309, 76%, 53%)
CMYKcmyk(0%, 75.7%, 11.8%, 46.7%)
CIE-LABlab(33.31, 52.08, -25.77)
CIE-LCHlch(33.31, 58.11, 333.67°)
OKLaboklab(44.72% 0.1521 -0.0704)
OKLCHoklch(44.72% 0.168 335.2)
XYZxyz(14.0875, 7.6793, 18.5060)
Luminance0.0768 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882178 #218831
analogous
#642188 #882178 #882145
triadic
#882178 #788821 #217888
tetradic
#882178 #886421 #218831 #214588
square
#882178 #886421 #218831 #214588
split-complementary
#882178 #458821 #218864
monochromatic
#250921 #57154D #882178 #B92DA3 #D44FC0

Accessibility & contrast

On white

8.28
#882178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#882178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##882178#FFFFFF#000000##FFFFFF
##8821781.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)
#21457A
Deuteranopia (green-blind)
#465476
Tritanopia (blue-blind)
#8F294A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #882178;
/* rgb */ color: rgb(136, 33, 120);
/* oklch */ color: oklch(44.7% 0.168 335.2);
Tailwind
colors: {
  custom: {
    50: '#ae689f',
    500: '#882178',
    950: '#000000',
  },
}
SCSS
$custom: #882178;
$custom-light: #ae689f;
$custom-dark: #000000;
JSON
{
  "hex": "#882178",
  "rgb": {
    "r": 136,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 309.32,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44723,
    "c": 0.16757,
    "h": 335.2
  },
  "luminance": 0.07678
}

Semantic roles & 50–950 ramp

primary
#882178
secondary
#4DB85E
accent
#E45D44
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #882178

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

Preview Lab → · Contrast checker → · Palette generator →

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