#882FE2#882FE2

#882FE2 is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.5% C 0.247 H 300.4°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#882FE2
RGBrgb(136, 47, 226)
HSLhsl(270, 76%, 54%)
HSVhsv(270, 79%, 89%)
CMYKcmyk(39.8%, 79.2%, 0%, 11.4%)
CIE-LABlab(42.40, 68.20, -74.43)
CIE-LCHlch(42.40, 100.95, 312.50°)
OKLaboklab(53.47% 0.1247 -0.2128)
OKLCHoklch(53.47% 0.247 300.4)
XYZxyz(24.8939, 12.7580, 73.0878)
Luminance0.1276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FE2 #89E22F
analogous
#2F2FE2 #882FE2 #E12FE2
triadic
#882FE2 #E2882F #2FE288
tetradic
#882FE2 #E22F2F #89E22F #2FE2E1
square
#882FE2 #E22F2F #89E22F #2FE2E1
split-complementary
#882FE2 #E2E12F #2FE22F
monochromatic
#4B1284 #691ABA #882FE2 #A765E9 #C59AF1

Accessibility & contrast

On white

5.91
#882FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #882FE2
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FE2#FFFFFF#000000##FFFFFF
##882FE21.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063E7
Deuteranopia (green-blind)
#0063DF
Tritanopia (blue-blind)
#736189
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #882fe2;
/* rgb */ color: rgb(136, 47, 226);
/* oklch */ color: oklch(53.5% 0.247 300.4);
Tailwind
colors: {
  custom: {
    50: '#b373ec',
    500: '#882fe2',
    950: '#000000',
  },
}
SCSS
$custom: #882fe2;
$custom-light: #b373ec;
$custom-dark: #000000;
JSON
{
  "hex": "#882fe2",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 226
  },
  "hsl": {
    "h": 269.832,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53466,
    "c": 0.24669,
    "h": 300.4
  },
  "luminance": 0.12758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #882FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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