#882EE3#882EE3

#882EE3 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 53.5% C 0.248 H 300.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#882EE3
RGBrgb(136, 46, 227)
HSLhsl(270, 76%, 54%)
HSVhsv(270, 80%, 89%)
CMYKcmyk(40.1%, 79.7%, 0%, 11%)
CIE-LABlab(42.36, 68.77, -75.06)
CIE-LCHlch(42.36, 101.81, 312.50°)
OKLaboklab(53.47% 0.1251 -0.2147)
OKLCHoklch(53.47% 0.248 300.2)
XYZxyz(24.9920, 12.7340, 73.7994)
Luminance0.1273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882EE3 #89E32E
analogous
#2E2EE3 #882EE3 #E22EE3
triadic
#882EE3 #E3882E #2EE388
tetradic
#882EE3 #E32E2E #89E32E #2EE3E2
square
#882EE3 #E32E2E #89E32E #2EE3E2
split-complementary
#882EE3 #E3E22E #2EE32E
monochromatic
#4B1285 #6919BB #882EE3 #A764EA #C59AF1

Accessibility & contrast

On white

5.92
#882EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#882EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882EE3
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882EE3#FFFFFF#000000##FFFFFF
##882EE31.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#72618A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #882ee3;
/* rgb */ color: rgb(136, 46, 227);
/* oklch */ color: oklch(53.5% 0.248 300.2);
Tailwind
colors: {
  custom: {
    50: '#b372ed',
    500: '#882ee3',
    950: '#000000',
  },
}
SCSS
$custom: #882ee3;
$custom-light: #b372ed;
$custom-dark: #000000;
JSON
{
  "hex": "#882ee3",
  "rgb": {
    "r": 136,
    "g": 46,
    "b": 227
  },
  "hsl": {
    "h": 269.834,
    "s": 76.371,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.24848,
    "h": 300.2
  },
  "luminance": 0.12734
}

Semantic roles & 50–950 ramp

primary
#882EE3
secondary
#B7DD90
accent
#F33594
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #882EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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