#882FCC#882FCC

#882FCC is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.7% C 0.226 H 305.3°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#882FCC
RGBrgb(136, 47, 204)
HSLhsl(274, 63%, 49%)
HSVhsv(274, 77%, 80%)
CMYKcmyk(33.3%, 77%, 0%, 20%)
CIE-LABlab(40.62, 63.26, -64.69)
CIE-LCHlch(40.62, 90.49, 314.36°)
OKLaboklab(51.67% 0.1305 -0.1842)
OKLCHoklch(51.67% 0.226 305.3)
XYZxyz(22.0665, 11.6271, 58.1968)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882FCC #73CC2F
analogous
#3A2FCC #882FCC #CC2FC2
triadic
#882FCC #CC882F #2FCC88
tetradic
#882FCC #CC3A2F #73CC2F #2FC2CC
square
#882FCC #CC3A2F #73CC2F #2FC2CC
split-complementary
#882FCC #C2CC2F #2FCC3A
monochromatic
#461869 #67249A #882FCC #A45EDA #C090E5

Accessibility & contrast

On white

6.32
#882FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#882FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882FCC
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882FCC#FFFFFF#000000##FFFFFF
##882FCC1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD0
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#7B577D
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #882fcc;
/* rgb */ color: rgb(136, 47, 204);
/* oklch */ color: oklch(51.7% 0.226 305.3);
Tailwind
colors: {
  custom: {
    50: '#b171dd',
    500: '#882fcc',
    950: '#000000',
  },
}
SCSS
$custom: #882fcc;
$custom-light: #b171dd;
$custom-dark: #000000;
JSON
{
  "hex": "#882fcc",
  "rgb": {
    "r": 136,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 274.013,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.51674,
    "c": 0.22579,
    "h": 305.3
  },
  "luminance": 0.11627
}

Semantic roles & 50–950 ramp

primary
#882FCC
secondary
#A7D087
accent
#E64289
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #882FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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