#882FE3#882FE3

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

Color values

HEX#882FE3
RGBrgb(136, 47, 227)
HSLhsl(270, 76%, 54%)
HSVhsv(270, 79%, 89%)
CMYKcmyk(40.1%, 79.3%, 0%, 11%)
CIE-LABlab(42.48, 68.42, -74.86)
CIE-LCHlch(42.48, 101.42, 312.43°)
OKLaboklab(53.55% 0.1244 -0.2141)
OKLCHoklch(53.55% 0.248 300.2)
XYZxyz(25.0315, 12.8131, 73.8125)
Luminance0.1281 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FE3 #8AE32F
analogous
#2F30E3 #882FE3 #E22FE3
triadic
#882FE3 #E3882F #2FE388
tetradic
#882FE3 #E32F30 #8AE32F #2FE3E2
square
#882FE3 #E32F30 #8AE32F #2FE3E2
split-complementary
#882FE3 #E3E22F #30E32F
monochromatic
#4B1286 #6919BC #882FE3 #A765EA #C69BF2

Accessibility & contrast

On white

5.89
#882FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#882FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FE3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FE3#FFFFFF#000000##FFFFFF
##882FE31.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #882fe3;
/* rgb */ color: rgb(136, 47, 227);
/* oklch */ color: oklch(53.5% 0.248 300.2);
Tailwind
colors: {
  custom: {
    50: '#b373ed',
    500: '#882fe3',
    950: '#000000',
  },
}
SCSS
$custom: #882fe3;
$custom-light: #b373ed;
$custom-dark: #000000;
JSON
{
  "hex": "#882fe3",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 227
  },
  "hsl": {
    "h": 269.667,
    "s": 76.271,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5355,
    "c": 0.24764,
    "h": 300.2
  },
  "luminance": 0.12813
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #882FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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