#882AC1#882AC1

#882AC1 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.4% C 0.220 H 308.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#882AC1
RGBrgb(136, 42, 193)
HSLhsl(277, 64%, 46%)
HSVhsv(277, 78%, 76%)
CMYKcmyk(29.5%, 78.2%, 0%, 24.3%)
CIE-LABlab(39.14, 62.69, -60.69)
CIE-LCHlch(39.14, 87.25, 315.93°)
OKLaboklab(50.37% 0.1372 -0.1724)
OKLCHoklch(50.37% 0.22 308.5)
XYZxyz(20.6049, 10.7408, 51.4294)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#882AC1 #63C12A
analogous
#3C2AC1 #882AC1 #C12AAE
triadic
#882AC1 #C1882A #2AC188
tetradic
#882AC1 #C13C2A #63C12A #2AAEC1
square
#882AC1 #C13C2A #63C12A #2AAEC1
split-complementary
#882AC1 #AEC12A #2AC13C
monochromatic
#41145C #651F8F #882AC1 #A54FD9 #BF82E4

Accessibility & contrast

On white

6.67
#882AC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#882AC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #882AC1
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##882AC1#FFFFFF#000000##FFFFFF
##882AC11.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#7F5075
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #882ac1;
/* rgb */ color: rgb(136, 42, 193);
/* oklch */ color: oklch(50.4% 0.220 308.5);
Tailwind
colors: {
  custom: {
    50: '#b06fd5',
    500: '#882ac1',
    950: '#000000',
  },
}
SCSS
$custom: #882ac1;
$custom-light: #b06fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#882ac1",
  "rgb": {
    "r": 136,
    "g": 42,
    "b": 193
  },
  "hsl": {
    "h": 277.351,
    "s": 64.255,
    "l": 46.078
  },
  "oklch": {
    "l": 0.50374,
    "c": 0.22033,
    "h": 308.5
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#882AC1
secondary
#99CD7A
accent
#E7417F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #882AC1

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

Preview Lab → · Contrast checker → · Palette generator →

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