#CC88DC#CC88DC

#CC88DC is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.5% C 0.138 H 319.8°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#CC88DC
RGBrgb(204, 136, 220)
HSLhsl(289, 55%, 70%)
HSVhsv(289, 38%, 86%)
CMYKcmyk(7.3%, 38.2%, 0%, 13.7%)
CIE-LABlab(66.22, 39.91, -32.57)
CIE-LCHlch(66.22, 51.51, 320.78°)
OKLaboklab(72.49% 0.1058 -0.0893)
OKLCHoklch(72.49% 0.138 319.8)
XYZxyz(46.6226, 35.6144, 72.1146)
Luminance0.3561 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88DC #98DC88
analogous
#A288DC #CC88DC #DC88C2
triadic
#CC88DC #DCCC88 #88DCCC
tetradic
#CC88DC #DCA288 #98DC88 #88C2DC
square
#CC88DC #DCA288 #98DC88 #88C2DC
split-complementary
#CC88DC #C2DC88 #88DCA2
monochromatic
#9C35B5 #B859CE #CC88DC #E0B7EA #F5E7F8

Accessibility & contrast

On white

2.59
#CC88DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#CC88DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88DC
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88DC#FFFFFF#000000##000000
##CC88DC1.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9CDF
Deuteranopia (green-blind)
#8EA3D9
Tritanopia (blue-blind)
#CD92A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc88dc;
/* rgb */ color: rgb(204, 136, 220);
/* oklch */ color: oklch(72.5% 0.138 319.8);
Tailwind
colors: {
  custom: {
    50: '#ddace7',
    500: '#cc88dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc88dc;
$custom-light: #ddace7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88dc",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 220
  },
  "hsl": {
    "h": 288.571,
    "s": 54.545,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72492,
    "c": 0.13847,
    "h": 319.8
  },
  "luminance": 0.35613
}

Semantic roles & 50–950 ramp

primary
#CC88DC
secondary
#D9ECD4
accent
#C22342
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC88DC

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

Preview Lab → · Contrast checker → · Palette generator →

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