#CCA7CD#CCA7CD

#CCA7CD is a light, moderate purple. Relative luminance 0.449; OKLCH L 77.3% C 0.067 H 325.4°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#CCA7CD
RGBrgb(204, 167, 205)
HSLhsl(298, 28%, 73%)
HSVhsv(298, 19%, 80%)
CMYKcmyk(0.5%, 18.5%, 0%, 19.6%)
CIE-LABlab(72.82, 20.10, -14.22)
CIE-LCHlch(72.82, 24.62, 324.72°)
OKLaboklab(77.34% 0.0552 -0.0381)
OKLCHoklch(77.34% 0.067 325.4)
XYZxyz(49.7387, 44.8836, 63.7890)
Luminance0.4488 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA7CD #A8CDA7
analogous
#B9A7CD #CCA7CD #CDA7BB
triadic
#CCA7CD #CDCCA7 #A7CDCC
tetradic
#CCA7CD #CDB9A7 #A8CDA7 #A7BBCD
square
#CCA7CD #CDB9A7 #A8CDA7 #A7BBCD
split-complementary
#CCA7CD #BBCDA7 #A7CDB9
monochromatic
#9D5A9F #B580B7 #CCA7CD #E3CEE3 #F4EBF4

Accessibility & contrast

On white

2.10
#CCA7CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#CCA7CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA7CD
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA7CD#FFFFFF#000000##000000
##CCA7CD1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4B0CF
Deuteranopia (green-blind)
#ACB4CC
Tritanopia (blue-blind)
#CEAAB4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cca7cd;
/* rgb */ color: rgb(204, 167, 205);
/* oklch */ color: oklch(77.3% 0.067 325.4);
Tailwind
colors: {
  custom: {
    50: '#dbc1dc',
    500: '#cca7cd',
    950: '#000000',
  },
}
SCSS
$custom: #cca7cd;
$custom-light: #dbc1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cca7cd",
  "rgb": {
    "r": 204,
    "g": 167,
    "b": 205
  },
  "hsl": {
    "h": 298.421,
    "s": 27.536,
    "l": 72.941
  },
  "oklch": {
    "l": 0.77341,
    "c": 0.06712,
    "h": 325.4
  },
  "luminance": 0.44883
}

Semantic roles & 50–950 ramp

primary
#CCA7CD
secondary
#E1EAE1
accent
#A63F42
background
#FDFBFD
surface
#FBF7FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CCA7CD

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

Preview Lab → · Contrast checker → · Palette generator →

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