#C882DC#C882DC

#C882DC is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.1% C 0.147 H 318.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C882DC
RGBrgb(200, 130, 220)
HSLhsl(287, 56%, 69%)
HSVhsv(287, 41%, 86%)
CMYKcmyk(9.1%, 40.9%, 0%, 13.7%)
CIE-LABlab(64.49, 41.93, -35.29)
CIE-LCHlch(64.49, 54.80, 319.91°)
OKLaboklab(71.09% 0.1099 -0.0972)
OKLCHoklch(71.09% 0.147 318.5)
XYZxyz(44.7186, 33.4133, 71.7900)
Luminance0.3341 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C882DC #96DC82
analogous
#9B82DC #C882DC #DC82C3
triadic
#C882DC #DCC882 #82DCC8
tetradic
#C882DC #DC9B82 #96DC82 #82C3DC
square
#C882DC #DC9B82 #96DC82 #82C3DC
split-complementary
#C882DC #C3DC82 #82DC9B
monochromatic
#9532B2 #B352CF #C882DC #DDB2E9 #F2E2F7

Accessibility & contrast

On white

2.73
#C882DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#C882DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C882DC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C882DC#FFFFFF#000000##000000
##C882DC1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7598DF
Deuteranopia (green-blind)
#879FD9
Tritanopia (blue-blind)
#C88DA5
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c882dc;
/* rgb */ color: rgb(200, 130, 220);
/* oklch */ color: oklch(71.1% 0.147 318.5);
Tailwind
colors: {
  custom: {
    50: '#daa8e7',
    500: '#c882dc',
    950: '#000000',
  },
}
SCSS
$custom: #c882dc;
$custom-light: #daa8e7;
$custom-dark: #000000;
JSON
{
  "hex": "#c882dc",
  "rgb": {
    "r": 200,
    "g": 130,
    "b": 220
  },
  "hsl": {
    "h": 286.667,
    "s": 56.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.71093,
    "c": 0.14665,
    "h": 318.5
  },
  "luminance": 0.33412
}

Semantic roles & 50–950 ramp

primary
#C882DC
secondary
#D5EACF
accent
#C42246
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #C882DC

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

Preview Lab → · Contrast checker → · Palette generator →

#C882DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva