#882FB1#882FB1

#882FB1 is a mid, highly saturated purple. Relative luminance 0.104; OKLCH L 49.6% C 0.200 H 312.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#882FB1
RGBrgb(136, 47, 177)
HSLhsl(281, 58%, 44%)
HSVhsv(281, 73%, 69%)
CMYKcmyk(23.2%, 73.4%, 0%, 30.6%)
CIE-LABlab(38.62, 57.44, -52.09)
CIE-LCHlch(38.62, 77.54, 317.79°)
OKLaboklab(49.64% 0.1357 -0.1472)
OKLCHoklch(49.64% 0.2 312.7)
XYZxyz(19.1042, 10.4422, 42.5956)
Luminance0.1044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FB1 #58B12F
analogous
#472FB1 #882FB1 #B12F99
triadic
#882FB1 #B1882F #2FB188
tetradic
#882FB1 #B1472F #58B12F #2F99B1
square
#882FB1 #B1472F #58B12F #2F99B1
split-complementary
#882FB1 #99B12F #2FB147
monochromatic
#3E1550 #632281 #882FB1 #A74DD0 #BF7EDD

Accessibility & contrast

On white

6.80
#882FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#882FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FB1
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FB1#FFFFFF#000000##FFFFFF
##882FB11.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B5
Deuteranopia (green-blind)
#205DAE
Tritanopia (blue-blind)
#834C6E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882fb1;
/* rgb */ color: rgb(136, 47, 177);
/* oklch */ color: oklch(49.6% 0.200 312.7);
Tailwind
colors: {
  custom: {
    50: '#af70c9',
    500: '#882fb1',
    950: '#000000',
  },
}
SCSS
$custom: #882fb1;
$custom-light: #af70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#882fb1",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 281.077,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49643,
    "c": 0.20021,
    "h": 312.7
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#882FB1
secondary
#8FC576
accent
#E14777
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #882FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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