#CCA7CB#CCA7CB

#CCA7CB is a light, moderate purple. Relative luminance 0.448; OKLCH L 77.3% C 0.065 H 327.0°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#CCA7CB
RGBrgb(204, 167, 203)
HSLhsl(302, 27%, 73%)
HSVhsv(302, 18%, 80%)
CMYKcmyk(0%, 18.1%, 0.5%, 20%)
CIE-LABlab(72.75, 19.72, -13.22)
CIE-LCHlch(72.75, 23.74, 326.17°)
OKLaboklab(77.27% 0.0546 -0.0354)
OKLCHoklch(77.27% 0.065 327)
XYZxyz(49.4988, 44.7877, 62.5257)
Luminance0.4479 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA7CB #A7CCA8
analogous
#BAA7CC #CCA7CB #CCA7B8
triadic
#CCA7CB #CBCCA7 #A7CBCC
tetradic
#CCA7CB #CCBAA7 #A7CCA8 #A7B8CC
square
#CCA7CB #CCBAA7 #A7CCA8 #A7B8CC
split-complementary
#CCA7CB #B8CCA7 #A7CCBA
monochromatic
#9D5B9C #B680B4 #CCA7CB #E2CEE2 #F4ECF4

Accessibility & contrast

On white

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

On black

9.96
#CCA7CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA7CB
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA7CB#FFFFFF#000000##000000
##CCA7CB1.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cca7cb;
/* rgb */ color: rgb(204, 167, 203);
/* oklch */ color: oklch(77.3% 0.065 327.0);
Tailwind
colors: {
  custom: {
    50: '#dbc1da',
    500: '#cca7cb',
    950: '#000000',
  },
}
SCSS
$custom: #cca7cb;
$custom-light: #dbc1da;
$custom-dark: #000000;
JSON
{
  "hex": "#cca7cb",
  "rgb": {
    "r": 204,
    "g": 167,
    "b": 203
  },
  "hsl": {
    "h": 301.622,
    "s": 26.619,
    "l": 72.745
  },
  "oklch": {
    "l": 0.77271,
    "c": 0.06503,
    "h": 327
  },
  "luminance": 0.44787
}

Semantic roles & 50–950 ramp

primary
#CCA7CB
secondary
#E1EAE1
accent
#A54340
background
#FDFBFD
surface
#FBF7FA
border
#D4D0D3
text
#151215
muted
#838183

Preview Lab

Preview with #CCA7CB

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

Preview Lab → · Contrast checker → · Palette generator →

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