#882FB9#882FB9

#882FB9 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.2% C 0.208 H 310.3°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#882FB9
RGBrgb(136, 47, 185)
HSLhsl(279, 59%, 45%)
HSVhsv(279, 75%, 73%)
CMYKcmyk(26.5%, 74.6%, 0%, 27.5%)
CIE-LABlab(39.19, 59.13, -55.91)
CIE-LCHlch(39.19, 81.37, 316.61°)
OKLaboklab(50.22% 0.1344 -0.1584)
OKLCHoklch(50.22% 0.208 310.3)
XYZxyz(19.9251, 10.7705, 46.9188)
Luminance0.1077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FB9 #60B92F
analogous
#432FB9 #882FB9 #B92FA5
triadic
#882FB9 #B9882F #2FB988
tetradic
#882FB9 #B9432F #60B92F #2FA5B9
square
#882FB9 #B9432F #60B92F #2FA5B9
split-complementary
#882FB9 #A5B92F #2FB943
monochromatic
#401657 #642388 #882FB9 #A552D3 #BF83DF

Accessibility & contrast

On white

6.66
#882FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#882FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FB9
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FB9#FFFFFF#000000##FFFFFF
##882FB91.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BD
Deuteranopia (green-blind)
#0E5EB6
Tritanopia (blue-blind)
#814F72
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882fb9;
/* rgb */ color: rgb(136, 47, 185);
/* oklch */ color: oklch(50.2% 0.208 310.3);
Tailwind
colors: {
  custom: {
    50: '#af71cf',
    500: '#882fb9',
    950: '#000000',
  },
}
SCSS
$custom: #882fb9;
$custom-light: #af71cf;
$custom-dark: #000000;
JSON
{
  "hex": "#882fb9",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 278.696,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.50224,
    "c": 0.20776,
    "h": 310.3
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#882FB9
secondary
#97C97B
accent
#E3457D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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