#CCA7CA#CCA7CA

#CCA7CA is a light, moderate purple. Relative luminance 0.447; OKLCH L 77.2% C 0.064 H 327.9°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#CCA7CA
RGBrgb(204, 167, 202)
HSLhsl(303, 27%, 73%)
HSVhsv(303, 18%, 80%)
CMYKcmyk(0%, 18.1%, 1%, 20%)
CIE-LABlab(72.72, 19.54, -12.72)
CIE-LCHlch(72.72, 23.31, 326.94°)
OKLaboklab(77.24% 0.0542 -0.034)
OKLCHoklch(77.24% 0.064 327.9)
XYZxyz(49.3800, 44.7401, 61.9001)
Luminance0.4474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA7CA #A7CCA9
analogous
#BBA7CC #CCA7CA #CCA7B7
triadic
#CCA7CA #CACCA7 #A7CACC
tetradic
#CCA7CA #CCBBA7 #A7CCA9 #A7B7CC
square
#CCA7CA #CCBBA7 #A7CCA9 #A7B7CC
split-complementary
#CCA7CA #B7CCA7 #A7CCBB
monochromatic
#9D5B9A #B680B3 #CCA7CA #E2CEE1 #F4ECF3

Accessibility & contrast

On white

2.11
#CCA7CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.95
#CCA7CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA7CA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA7CA#FFFFFF#000000##000000
##CCA7CA1.002.119.959.95
#FFFFFF2.111.0021.0021.00
#0000009.9521.001.001.00
##0000009.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B0CB
Deuteranopia (green-blind)
#ADB4C9
Tritanopia (blue-blind)
#CFAAB3
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cca7ca;
/* rgb */ color: rgb(204, 167, 202);
/* oklch */ color: oklch(77.2% 0.064 327.9);
Tailwind
colors: {
  custom: {
    50: '#dbc1da',
    500: '#cca7ca',
    950: '#000000',
  },
}
SCSS
$custom: #cca7ca;
$custom-light: #dbc1da;
$custom-dark: #000000;
JSON
{
  "hex": "#cca7ca",
  "rgb": {
    "r": 204,
    "g": 167,
    "b": 202
  },
  "hsl": {
    "h": 303.243,
    "s": 26.619,
    "l": 72.745
  },
  "oklch": {
    "l": 0.77237,
    "c": 0.064,
    "h": 327.9
  },
  "luminance": 0.44739
}

Semantic roles & 50–950 ramp

primary
#CCA7CA
secondary
#E1EAE1
accent
#A54640
background
#FDFBFD
surface
#FBF7FA
border
#D4D0D3
text
#151214
muted
#838183

Preview Lab

Preview with #CCA7CA

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

Preview Lab → · Contrast checker → · Palette generator →

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