#882EC9#882EC9

#882EC9 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.3% C 0.224 H 306.1°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#882EC9
RGBrgb(136, 46, 201)
HSLhsl(275, 63%, 48%)
HSVhsv(275, 77%, 79%)
CMYKcmyk(32.3%, 77.1%, 0%, 21.2%)
CIE-LABlab(40.26, 62.98, -63.54)
CIE-LCHlch(40.26, 89.46, 314.74°)
OKLaboklab(51.35% 0.1321 -0.1808)
OKLCHoklch(51.35% 0.224 306.1)
XYZxyz(21.6706, 11.4055, 56.3069)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EC9 #6FC92E
analogous
#3B2EC9 #882EC9 #C92EBC
triadic
#882EC9 #C9882E #2EC988
tetradic
#882EC9 #C93B2E #6FC92E #2EBCC9
square
#882EC9 #C93B2E #6FC92E #2EBCC9
split-complementary
#882EC9 #BCC92E #2EC93B
monochromatic
#451765 #662397 #882EC9 #A45BD9 #C08DE5

Accessibility & contrast

On white

6.40
#882EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#882EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EC9
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EC9#FFFFFF#000000##FFFFFF
##882EC91.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCD
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#7C567B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #882ec9;
/* rgb */ color: rgb(136, 46, 201);
/* oklch */ color: oklch(51.3% 0.224 306.1);
Tailwind
colors: {
  custom: {
    50: '#b171da',
    500: '#882ec9',
    950: '#000000',
  },
}
SCSS
$custom: #882ec9;
$custom-light: #b171da;
$custom-dark: #000000;
JSON
{
  "hex": "#882ec9",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 274.839,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51348,
    "c": 0.22392,
    "h": 306.1
  },
  "luminance": 0.11405
}

Semantic roles & 50–950 ramp

primary
#882EC9
secondary
#A3CF84
accent
#E64287
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #882EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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