#CCAFD2#CCAFD2

#CCAFD2 is a light, muted purple. Relative luminance 0.481; OKLCH L 79.0% C 0.058 H 320.5°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CCAFD2
RGBrgb(204, 175, 210)
HSLhsl(290, 28%, 75%)
HSVhsv(290, 17%, 82%)
CMYKcmyk(2.9%, 16.7%, 0%, 17.6%)
CIE-LABlab(74.92, 16.68, -13.79)
CIE-LCHlch(74.92, 21.65, 320.41°)
OKLaboklab(79.02% 0.0449 -0.037)
OKLCHoklch(79.02% 0.058 320.5)
XYZxyz(51.8630, 48.1512, 67.5222)
Luminance0.4815 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCAFD2 #B5D2AF
analogous
#BAAFD2 #CCAFD2 #D2AFC6
triadic
#CCAFD2 #D2CCAF #AFD2CC
tetradic
#CCAFD2 #D2BAAF #B5D2AF #AFC6D2
square
#CCAFD2 #D2BAAF #B5D2AF #AFC6D2
split-complementary
#CCAFD2 #C6D2AF #AFD2BA
monochromatic
#9A61A6 #B388BC #CCAFD2 #E5D6E8 #F3EBF4

Accessibility & contrast

On white

1.98
#CCAFD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CCAFD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCAFD2
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCAFD2#FFFFFF#000000##000000
##CCAFD21.001.9810.6310.63
#FFFFFF1.981.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#ACB6D4
Deuteranopia (green-blind)
#B2B9D1
Tritanopia (blue-blind)
#CDB2BB
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ccafd2;
/* rgb */ color: rgb(204, 175, 210);
/* oklch */ color: oklch(79.0% 0.058 320.5);
Tailwind
colors: {
  custom: {
    50: '#dbc7df',
    500: '#ccafd2',
    950: '#000000',
  },
}
SCSS
$custom: #ccafd2;
$custom-light: #dbc7df;
$custom-dark: #000000;
JSON
{
  "hex": "#ccafd2",
  "rgb": {
    "r": 204,
    "g": 175,
    "b": 210
  },
  "hsl": {
    "h": 289.714,
    "s": 28,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7902,
    "c": 0.05818,
    "h": 320.5
  },
  "luminance": 0.4815
}

Semantic roles & 50–950 ramp

primary
#CCAFD2
secondary
#E2EAE1
accent
#A73F51
background
#FDFCFD
surface
#FBF8FB
border
#D4D1D4
text
#151315
muted
#838283

Preview Lab

Preview with #CCAFD2

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

Preview Lab → · Contrast checker → · Palette generator →

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