#CC8CCC#CC8CCC

#CC8CCC is a light, moderate purple. Relative luminance 0.360; OKLCH L 72.5% C 0.115 H 326.7°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#CC8CCC
RGBrgb(204, 140, 204)
HSLhsl(300, 39%, 67%)
HSVhsv(300, 31%, 80%)
CMYKcmyk(0%, 31.4%, 0%, 20%)
CIE-LABlab(66.49, 34.67, -23.26)
CIE-LCHlch(66.49, 41.75, 326.14°)
OKLaboklab(72.49% 0.0959 -0.063)
OKLCHoklch(72.49% 0.115 326.7)
XYZxyz(45.1780, 35.9548, 61.6752)
Luminance0.3595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8CCC #8CCC8C
analogous
#AC8CCC #CC8CCC #CC8CAC
triadic
#CC8CCC #CCCC8C #8CCCCC
tetradic
#CC8CCC #CCAC8C #8CCC8C #8CACCC
square
#CC8CCC #CCAC8C #8CCC8C #8CACCC
split-complementary
#CC8CCC #ACCC8C #8CCCAC
monochromatic
#9A449A #B962B9 #CC8CCC #DFB6DF #F2E1F2

Accessibility & contrast

On white

2.56
#CC8CCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#CC8CCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8CCC
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8CCC#FFFFFF#000000##000000
##CC8CCC1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#889DCE
Deuteranopia (green-blind)
#97A5CA
Tritanopia (blue-blind)
#D092A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc8ccc;
/* rgb */ color: rgb(204, 140, 204);
/* oklch */ color: oklch(72.5% 0.115 326.7);
Tailwind
colors: {
  custom: {
    50: '#dcaedb',
    500: '#cc8ccc',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ccc;
$custom-light: #dcaedb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ccc",
  "rgb": {
    "r": 204,
    "g": 140,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 38.554,
    "l": 67.451
  },
  "oklch": {
    "l": 0.72485,
    "c": 0.11478,
    "h": 326.7
  },
  "luminance": 0.35953
}

Semantic roles & 50–950 ramp

primary
#CC8CCC
secondary
#D0E4D0
accent
#B23434
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CC8CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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