#882FB4#882FB4

#882FB4 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 49.9% C 0.203 H 311.8°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#882FB4
RGBrgb(136, 47, 180)
HSLhsl(280, 59%, 45%)
HSVhsv(280, 74%, 71%)
CMYKcmyk(24.4%, 73.9%, 0%, 29.4%)
CIE-LABlab(38.83, 58.07, -53.53)
CIE-LCHlch(38.83, 78.98, 317.33°)
OKLaboklab(49.86% 0.1353 -0.1514)
OKLCHoklch(49.86% 0.203 311.8)
XYZxyz(19.4065, 10.5631, 44.1877)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FB4 #5BB42F
analogous
#452FB4 #882FB4 #B42F9E
triadic
#882FB4 #B4882F #2FB488
tetradic
#882FB4 #B4452F #5BB42F #2F9EB4
square
#882FB4 #B4452F #5BB42F #2F9EB4
split-complementary
#882FB4 #9EB42F #2FB445
monochromatic
#3F1653 #632283 #882FB4 #A64FD1 #BF80DE

Accessibility & contrast

On white

6.75
#882FB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#882FB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FB4
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FB4#FFFFFF#000000##FFFFFF
##882FB41.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B8
Deuteranopia (green-blind)
#1B5DB1
Tritanopia (blue-blind)
#834D6F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #882fb4;
/* rgb */ color: rgb(136, 47, 180);
/* oklch */ color: oklch(49.9% 0.203 311.8);
Tailwind
colors: {
  custom: {
    50: '#af70cb',
    500: '#882fb4',
    950: '#000000',
  },
}
SCSS
$custom: #882fb4;
$custom-light: #af70cb;
$custom-dark: #000000;
JSON
{
  "hex": "#882fb4",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 280.15,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49859,
    "c": 0.20304,
    "h": 311.8
  },
  "luminance": 0.10563
}

Semantic roles & 50–950 ramp

primary
#882FB4
secondary
#92C778
accent
#E2467A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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