#882A7A#882A7A

#882A7A is a mid, vivid purple. Relative luminance 0.083; OKLCH L 45.7% C 0.158 H 334.4°. Best body text is #FFFFFF at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#882A7A
RGBrgb(136, 42, 122)
HSLhsl(309, 53%, 35%)
HSVhsv(309, 69%, 53%)
CMYKcmyk(0%, 69.1%, 10.3%, 46.7%)
CIE-LABlab(34.59, 49.06, -25.01)
CIE-LCHlch(34.59, 55.07, 332.98°)
OKLaboklab(45.69% 0.1424 -0.0683)
OKLCHoklch(45.69% 0.158 334.4)
XYZxyz(14.4943, 8.2965, 19.2466)
Luminance0.0829 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882A7A #2A8838
analogous
#672A88 #882A7A #882A4B
triadic
#882A7A #7A882A #2A7A88
tetradic
#882A7A #88672A #2A8838 #2A4B88
square
#882A7A #88672A #2A8838 #2A4B88
split-complementary
#882A7A #4B882A #2A8867
monochromatic
#2A0D26 #591C50 #882A7A #B738A4 #CE5FBD

Accessibility & contrast

On white

7.90
#882A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#882A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882A7A
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882A7A#FFFFFF#000000##FFFFFF
##882A7A1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29487C
Deuteranopia (green-blind)
#495678
Tritanopia (blue-blind)
#8E314E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #882a7a;
/* rgb */ color: rgb(136, 42, 122);
/* oklch */ color: oklch(45.7% 0.158 334.4);
Tailwind
colors: {
  custom: {
    50: '#ae6ca0',
    500: '#882a7a',
    950: '#000000',
  },
}
SCSS
$custom: #882a7a;
$custom-light: #ae6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#882a7a",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 308.936,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45686,
    "c": 0.15793,
    "h": 334.4
  },
  "luminance": 0.08295
}

Semantic roles & 50–950 ramp

primary
#882A7A
secondary
#5BB368
accent
#DC614C
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070F
muted
#807A7E

Preview Lab

Preview with #882A7A

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

Preview Lab → · Contrast checker → · Palette generator →

#882A7A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva