#882AAA#882AAA

#882AAA is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.7% C 0.199 H 315.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#882AAA
RGBrgb(136, 42, 170)
HSLhsl(284, 60%, 42%)
HSVhsv(284, 75%, 67%)
CMYKcmyk(20%, 75.3%, 0%, 33.3%)
CIE-LABlab(37.47, 57.91, -49.79)
CIE-LCHlch(37.47, 76.37, 319.31°)
OKLaboklab(48.67% 0.1415 -0.1404)
OKLCHoklch(48.67% 0.199 315.2)
XYZxyz(18.2358, 9.7931, 38.9521)
Luminance0.0979 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AAA #4CAA2A
analogous
#482AAA #882AAA #AA2A8C
triadic
#882AAA #AA882A #2AAA88
tetradic
#882AAA #AA482A #4CAA2A #2A8CAA
square
#882AAA #AA482A #4CAA2A #2A8CAA
split-complementary
#882AAA #8CAA2A #2AAA48
monochromatic
#391248 #611E79 #882AAA #AA41D0 #C072DC

Accessibility & contrast

On white

7.10
#882AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#882AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #882AAA
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AAA#FFFFFF#000000##FFFFFF
##882AAA1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#255BA7
Tritanopia (blue-blind)
#854668
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #882aaa;
/* rgb */ color: rgb(136, 42, 170);
/* oklch */ color: oklch(48.7% 0.199 315.2);
Tailwind
colors: {
  custom: {
    50: '#af6ec4',
    500: '#882aaa',
    950: '#000000',
  },
}
SCSS
$custom: #882aaa;
$custom-light: #af6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#882aaa",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 284.063,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4867,
    "c": 0.19931,
    "h": 315.2
  },
  "luminance": 0.09792
}

Semantic roles & 50–950 ramp

primary
#882AAA
secondary
#83C36C
accent
#E4446F
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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