#CC8ACA#CC8ACA

#CC8ACA is a light, moderate purple. Relative luminance 0.353; OKLCH L 72.1% C 0.116 H 327.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CC8ACA
RGBrgb(204, 138, 202)
HSLhsl(302, 39%, 67%)
HSVhsv(302, 32%, 80%)
CMYKcmyk(0%, 32.4%, 1%, 20%)
CIE-LABlab(65.97, 35.38, -22.94)
CIE-LCHlch(65.97, 42.17, 327.04°)
OKLaboklab(72.07% 0.0984 -0.0621)
OKLCHoklch(72.07% 0.116 327.7)
XYZxyz(44.6501, 35.2803, 60.3235)
Luminance0.3528 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8ACA #8ACC8C
analogous
#AD8ACC #CC8ACA #CC8AA9
triadic
#CC8ACA #CACC8A #8ACACC
tetradic
#CC8ACA #CCAD8A #8ACC8C #8AA9CC
square
#CC8ACA #CCAD8A #8ACC8C #8AA9CC
split-complementary
#CC8ACA #A9CC8A #8ACCAD
monochromatic
#994396 #B95FB7 #CC8ACA #DFB5DD #F1DFF1

Accessibility & contrast

On white

2.61
#CC8ACA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CC8ACA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8ACA
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8ACA#FFFFFF#000000##000000
##CC8ACA1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#869BCC
Deuteranopia (green-blind)
#96A3C8
Tritanopia (blue-blind)
#D08FA1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cc8aca;
/* rgb */ color: rgb(204, 138, 202);
/* oklch */ color: oklch(72.1% 0.116 327.7);
Tailwind
colors: {
  custom: {
    50: '#dcadda',
    500: '#cc8aca',
    950: '#000000',
  },
}
SCSS
$custom: #cc8aca;
$custom-light: #dcadda;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8aca",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 202
  },
  "hsl": {
    "h": 301.818,
    "s": 39.286,
    "l": 67.059
  },
  "oklch": {
    "l": 0.72068,
    "c": 0.11637,
    "h": 327.7
  },
  "luminance": 0.35279
}

Semantic roles & 50–950 ramp

primary
#CC8ACA
secondary
#CEE3CF
accent
#B23733
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CC8ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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