#882EE1#882EE1

#882EE1 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.3% C 0.247 H 300.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#882EE1
RGBrgb(136, 46, 225)
HSLhsl(270, 75%, 53%)
HSVhsv(270, 80%, 88%)
CMYKcmyk(39.6%, 79.6%, 0%, 11.8%)
CIE-LABlab(42.19, 68.32, -74.20)
CIE-LCHlch(42.19, 100.86, 312.64°)
OKLaboklab(53.3% 0.1257 -0.2121)
OKLCHoklch(53.3% 0.247 300.7)
XYZxyz(24.7176, 12.6243, 72.3541)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EE1 #87E12E
analogous
#2F2EE1 #882EE1 #E12EE0
triadic
#882EE1 #E1882E #2EE188
tetradic
#882EE1 #E12F2E #87E12E #2EE0E1
square
#882EE1 #E12F2E #87E12E #2EE0E1
split-complementary
#882EE1 #E0E12E #2EE12F
monochromatic
#4B1382 #691AB7 #882EE1 #A664E9 #C599F0

Accessibility & contrast

On white

5.96
#882EE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#882EE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EE1
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EE1#FFFFFF#000000##FFFFFF
##882EE11.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#736089
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #882ee1;
/* rgb */ color: rgb(136, 46, 225);
/* oklch */ color: oklch(53.3% 0.247 300.7);
Tailwind
colors: {
  custom: {
    50: '#b372ec',
    500: '#882ee1',
    950: '#000000',
  },
}
SCSS
$custom: #882ee1;
$custom-light: #b372ec;
$custom-dark: #000000;
JSON
{
  "hex": "#882ee1",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 225
  },
  "hsl": {
    "h": 270.168,
    "s": 74.895,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53298,
    "c": 0.24659,
    "h": 300.7
  },
  "luminance": 0.12624
}

Semantic roles & 50–950 ramp

primary
#882EE1
secondary
#B5DC8F
accent
#F23693
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #882EE1

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

Preview Lab → · Contrast checker → · Palette generator →

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