#882AB3#882AB3

#882AB3 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.3% C 0.207 H 312.4°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#882AB3
RGBrgb(136, 42, 179)
HSLhsl(281, 62%, 43%)
HSVhsv(281, 77%, 70%)
CMYKcmyk(24%, 76.5%, 0%, 29.8%)
CIE-LABlab(38.10, 59.75, -54.12)
CIE-LCHlch(38.10, 80.62, 317.83°)
OKLaboklab(49.32% 0.14 -0.1531)
OKLCHoklch(49.32% 0.208 312.4)
XYZxyz(19.1165, 10.1454, 43.5903)
Luminance0.1014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AB3 #55B32A
analogous
#432AB3 #882AB3 #B32A99
triadic
#882AB3 #B3882A #2AB388
tetradic
#882AB3 #B3432A #55B32A #2A99B3
square
#882AB3 #B3432A #55B32A #2A99B3
split-complementary
#882AB3 #99B32A #2AB343
monochromatic
#3D1350 #621E81 #882AB3 #A746D4 #BF78DF

Accessibility & contrast

On white

6.93
#882AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#882AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882AB3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AB3#FFFFFF#000000##FFFFFF
##882AB31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#155CB0
Tritanopia (blue-blind)
#834A6D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #882ab3;
/* rgb */ color: rgb(136, 42, 179);
/* oklch */ color: oklch(49.3% 0.207 312.4);
Tailwind
colors: {
  custom: {
    50: '#af6ecb',
    500: '#882ab3',
    950: '#000000',
  },
}
SCSS
$custom: #882ab3;
$custom-light: #af6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#882ab3",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 281.168,
    "s": 61.991,
    "l": 43.333
  },
  "oklch": {
    "l": 0.49319,
    "c": 0.2075,
    "h": 312.4
  },
  "luminance": 0.10145
}

Semantic roles & 50–950 ramp

primary
#882AB3
secondary
#8CC772
accent
#E54376
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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