#882ED7#882ED7

#882ED7 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.5% C 0.237 H 302.8°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#882ED7
RGBrgb(136, 46, 215)
HSLhsl(272, 68%, 51%)
HSVhsv(272, 79%, 84%)
CMYKcmyk(36.7%, 78.6%, 0%, 15.7%)
CIE-LABlab(41.37, 66.08, -69.82)
CIE-LCHlch(41.37, 96.13, 313.42°)
OKLaboklab(52.47% 0.1285 -0.1993)
OKLCHoklch(52.47% 0.237 302.8)
XYZxyz(23.3932, 12.0945, 65.3788)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882ED7 #7DD72E
analogous
#332ED7 #882ED7 #D72ED1
triadic
#882ED7 #D7882E #2ED788
tetradic
#882ED7 #D7332E #7DD72E #2ED1D7
square
#882ED7 #D7332E #7DD72E #2ED1D7
split-complementary
#882ED7 #D1D72E #2ED733
monochromatic
#481674 #6820A8 #882ED7 #A561E1 #C295EB

Accessibility & contrast

On white

6.14
#882ED7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#882ED7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882ED7
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882ED7#FFFFFF#000000##FFFFFF
##882ED71.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060DC
Deuteranopia (green-blind)
#0061D4
Tritanopia (blue-blind)
#775C83
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #882ed7;
/* rgb */ color: rgb(136, 46, 215);
/* oklch */ color: oklch(52.5% 0.237 302.8);
Tailwind
colors: {
  custom: {
    50: '#b272e4',
    500: '#882ed7',
    950: '#000000',
  },
}
SCSS
$custom: #882ed7;
$custom-light: #b272e4;
$custom-dark: #000000;
JSON
{
  "hex": "#882ed7",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 215
  },
  "hsl": {
    "h": 271.953,
    "s": 67.871,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52469,
    "c": 0.23715,
    "h": 302.8
  },
  "luminance": 0.12095
}

Semantic roles & 50–950 ramp

primary
#882ED7
secondary
#AED68B
accent
#EB3D8E
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #882ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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