#882DE2#882DE2

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

Color values

HEX#882DE2
RGBrgb(136, 45, 226)
HSLhsl(270, 76%, 53%)
HSVhsv(270, 80%, 89%)
CMYKcmyk(39.8%, 80.1%, 0%, 11.4%)
CIE-LABlab(42.16, 68.89, -74.82)
CIE-LCHlch(42.16, 101.71, 312.64°)
OKLaboklab(53.3% 0.1261 -0.214)
OKLCHoklch(53.3% 0.248 300.5)
XYZxyz(24.8158, 12.6018, 73.0617)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882DE2 #87E22D
analogous
#2D2DE2 #882DE2 #E22DE1
triadic
#882DE2 #E2882D #2DE288
tetradic
#882DE2 #E22D2D #87E22D #2DE1E2
square
#882DE2 #E22D2D #87E22D #2DE1E2
split-complementary
#882DE2 #E1E22D #2DE22D
monochromatic
#4B1283 #6919B8 #882DE2 #A663E9 #C599F1

Accessibility & contrast

On white

5.97
#882DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882DE2
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882DE2#FFFFFF#000000##FFFFFF
##882DE21.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#736089
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #882de2;
/* rgb */ color: rgb(136, 45, 226);
/* oklch */ color: oklch(53.3% 0.248 300.5);
Tailwind
colors: {
  custom: {
    50: '#b372ec',
    500: '#882de2',
    950: '#000000',
  },
}
SCSS
$custom: #882de2;
$custom-light: #b372ec;
$custom-dark: #000000;
JSON
{
  "hex": "#882de2",
  "rgb": {
    "r": 136,
    "g": 45,
    "b": 226
  },
  "hsl": {
    "h": 270.166,
    "s": 75.732,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53299,
    "c": 0.24838,
    "h": 300.5
  },
  "luminance": 0.12602
}

Semantic roles & 50–950 ramp

primary
#882DE2
secondary
#B5DC8E
accent
#F23593
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #882DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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