#882282#882282

#882282 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.4% C 0.174 H 330.6°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#882282
RGBrgb(136, 34, 130)
HSLhsl(304, 60%, 33%)
HSVhsv(304, 75%, 53%)
CMYKcmyk(0%, 75%, 4.4%, 46.7%)
CIE-LABlab(33.96, 53.36, -31.00)
CIE-LCHlch(33.96, 61.71, 329.84°)
OKLaboklab(45.37% 0.1516 -0.0855)
OKLCHoklch(45.37% 0.174 330.6)
XYZxyz(14.7546, 7.9912, 21.8801)
Luminance0.0799 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882282 #228828
analogous
#5B2288 #882282 #88224F
triadic
#882282 #828822 #228288
tetradic
#882282 #885B22 #228828 #224F88
square
#882282 #885B22 #228828 #224F88
split-complementary
#882282 #4F8822 #22885B
monochromatic
#260A24 #571653 #882282 #B92EB1 #D351CC

Accessibility & contrast

On white

8.08
#882282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#882282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882282
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882282#FFFFFF#000000##FFFFFF
##8822821.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174785
Deuteranopia (green-blind)
#415580
Tritanopia (blue-blind)
#8D2F50
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #882282;
/* rgb */ color: rgb(136, 34, 130);
/* oklch */ color: oklch(45.4% 0.174 330.6);
Tailwind
colors: {
  custom: {
    50: '#ae68a7',
    500: '#882282',
    950: '#000000',
  },
}
SCSS
$custom: #882282;
$custom-light: #ae68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#882282",
  "rgb": {
    "r": 136,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 303.529,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.45371,
    "c": 0.17408,
    "h": 330.6
  },
  "luminance": 0.0799
}

Semantic roles & 50–950 ramp

primary
#882282
secondary
#4FB755
accent
#E34E45
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #882282

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

Preview Lab → · Contrast checker → · Palette generator →

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