#CCA7CC#CCA7CC

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

Color values

HEX#CCA7CC
RGBrgb(204, 167, 204)
HSLhsl(300, 27%, 73%)
HSVhsv(300, 18%, 80%)
CMYKcmyk(0%, 18.1%, 0%, 20%)
CIE-LABlab(72.78, 19.91, -13.72)
CIE-LCHlch(72.78, 24.18, 325.43°)
OKLaboklab(77.31% 0.0549 -0.0368)
OKLCHoklch(77.31% 0.066 326.2)
XYZxyz(49.6183, 44.8355, 63.1553)
Luminance0.4483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA7CC #A7CCA7
analogous
#B9A7CC #CCA7CC #CCA7B9
triadic
#CCA7CC #CCCCA7 #A7CCCC
tetradic
#CCA7CC #CCB9A7 #A7CCA7 #A7B9CC
square
#CCA7CC #CCB9A7 #A7CCA7 #A7B9CC
split-complementary
#CCA7CC #B9CCA7 #A7CCB9
monochromatic
#9D5B9D #B680B6 #CCA7CC #E2CEE2 #F4ECF4

Accessibility & contrast

On white

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

On black

9.97
#CCA7CC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA7CC
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA7CC#FFFFFF#000000##000000
##CCA7CC1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5B0CE
Deuteranopia (green-blind)
#ADB4CB
Tritanopia (blue-blind)
#CEAAB3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cca7cc;
/* rgb */ color: rgb(204, 167, 204);
/* oklch */ color: oklch(77.3% 0.066 326.2);
Tailwind
colors: {
  custom: {
    50: '#dbc1db',
    500: '#cca7cc',
    950: '#000000',
  },
}
SCSS
$custom: #cca7cc;
$custom-light: #dbc1db;
$custom-dark: #000000;
JSON
{
  "hex": "#cca7cc",
  "rgb": {
    "r": 204,
    "g": 167,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 26.619,
    "l": 72.745
  },
  "oklch": {
    "l": 0.77306,
    "c": 0.06607,
    "h": 326.2
  },
  "luminance": 0.44834
}

Semantic roles & 50–950 ramp

primary
#CCA7CC
secondary
#E1EAE1
accent
#A54040
background
#FDFBFD
surface
#FBF7FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CCA7CC

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

Preview Lab → · Contrast checker → · Palette generator →

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