#CC88CC#CC88CC

#CC88CC is a light, vivid purple. Relative luminance 0.348; OKLCH L 71.8% C 0.122 H 326.8°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CC88CC
RGBrgb(204, 136, 204)
HSLhsl(300, 40%, 67%)
HSVhsv(300, 33%, 80%)
CMYKcmyk(0%, 33.3%, 0%, 20%)
CIE-LABlab(65.60, 36.84, -24.62)
CIE-LCHlch(65.60, 44.31, 326.24°)
OKLaboklab(71.81% 0.102 -0.0668)
OKLCHoklch(71.81% 0.122 326.8)
XYZxyz(44.6041, 34.8070, 61.4839)
Luminance0.3481 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC88CC #88CC88
analogous
#AA88CC #CC88CC #CC88AA
triadic
#CC88CC #CCCC88 #88CCCC
tetradic
#CC88CC #CCAA88 #88CC88 #88AACC
square
#CC88CC #CCAA88 #88CC88 #88AACC
split-complementary
#CC88CC #AACC88 #88CCAA
monochromatic
#984198 #BA5DBA #CC88CC #DEB3DE #F1DEF1

Accessibility & contrast

On white

2.64
#CC88CC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#CC88CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC88CC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC88CC#FFFFFF#000000##000000
##CC88CC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#839ACF
Deuteranopia (green-blind)
#94A2CA
Tritanopia (blue-blind)
#D08EA1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cc88cc;
/* rgb */ color: rgb(204, 136, 204);
/* oklch */ color: oklch(71.8% 0.122 326.8);
Tailwind
colors: {
  custom: {
    50: '#dcacdb',
    500: '#cc88cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc88cc;
$custom-light: #dcacdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc88cc",
  "rgb": {
    "r": 204,
    "g": 136,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 40,
    "l": 66.667
  },
  "oklch": {
    "l": 0.71813,
    "c": 0.12191,
    "h": 326.8
  },
  "luminance": 0.34805
}

Semantic roles & 50–950 ramp

primary
#CC88CC
secondary
#CDE3CD
accent
#B33232
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC88CC

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

Preview Lab → · Contrast checker → · Palette generator →

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