#882FB5#882FB5

#882FB5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.9% C 0.204 H 311.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#882FB5
RGBrgb(136, 47, 181)
HSLhsl(280, 59%, 45%)
HSVhsv(280, 74%, 71%)
CMYKcmyk(24.9%, 74%, 0%, 29%)
CIE-LABlab(38.91, 58.28, -54.01)
CIE-LCHlch(38.91, 79.46, 317.18°)
OKLaboklab(49.93% 0.1351 -0.1528)
OKLCHoklch(49.93% 0.204 311.5)
XYZxyz(19.5088, 10.6040, 44.7262)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FB5 #5CB52F
analogous
#452FB5 #882FB5 #B52F9F
triadic
#882FB5 #B5882F #2FB588
tetradic
#882FB5 #B5452F #5CB52F #2F9FB5
square
#882FB5 #B5452F #5CB52F #2F9FB5
split-complementary
#882FB5 #9FB52F #2FB545
monochromatic
#3F1654 #632284 #882FB5 #A650D1 #BF80DE

Accessibility & contrast

On white

6.73
#882FB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#882FB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FB5
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FB5#FFFFFF#000000##FFFFFF
##882FB51.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B9
Deuteranopia (green-blind)
#195DB2
Tritanopia (blue-blind)
#824E70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882fb5;
/* rgb */ color: rgb(136, 47, 181);
/* oklch */ color: oklch(49.9% 0.204 311.5);
Tailwind
colors: {
  custom: {
    50: '#af70cc',
    500: '#882fb5',
    950: '#000000',
  },
}
SCSS
$custom: #882fb5;
$custom-light: #af70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#882fb5",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 181
  },
  "hsl": {
    "h": 279.851,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49931,
    "c": 0.20398,
    "h": 311.5
  },
  "luminance": 0.10603
}

Semantic roles & 50–950 ramp

primary
#882FB5
secondary
#93C779
accent
#E2467A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #882FB5

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

Preview Lab → · Contrast checker → · Palette generator →

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