#882EB9#882EB9

#882EB9 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.1% C 0.209 H 310.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#882EB9
RGBrgb(136, 46, 185)
HSLhsl(279, 60%, 45%)
HSVhsv(279, 75%, 73%)
CMYKcmyk(26.5%, 75.1%, 0%, 27.5%)
CIE-LABlab(39.06, 59.52, -56.13)
CIE-LCHlch(39.06, 81.81, 316.68°)
OKLaboklab(50.13% 0.1354 -0.159)
OKLCHoklch(50.13% 0.209 310.4)
XYZxyz(19.8856, 10.6915, 46.9056)
Luminance0.1069 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EB9 #5FB92E
analogous
#432EB9 #882EB9 #B92EA4
triadic
#882EB9 #B9882E #2EB988
tetradic
#882EB9 #B9432E #5FB92E #2EA4B9
square
#882EB9 #B9432E #5FB92E #2EA4B9
split-complementary
#882EB9 #A4B92E #2EB943
monochromatic
#401657 #642288 #882EB9 #A551D4 #BF82E0

Accessibility & contrast

On white

6.69
#882EB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#882EB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EB9
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EB9#FFFFFF#000000##FFFFFF
##882EB91.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882eb9;
/* rgb */ color: rgb(136, 46, 185);
/* oklch */ color: oklch(50.1% 0.209 310.4);
Tailwind
colors: {
  custom: {
    50: '#af70cf',
    500: '#882eb9',
    950: '#000000',
  },
}
SCSS
$custom: #882eb9;
$custom-light: #af70cf;
$custom-dark: #000000;
JSON
{
  "hex": "#882eb9",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 278.849,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.50128,
    "c": 0.20884,
    "h": 310.4
  },
  "luminance": 0.10691
}

Semantic roles & 50–950 ramp

primary
#882EB9
secondary
#96C97A
accent
#E3447C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #882EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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