#CCA2DA#CCA2DA

#CCA2DA is a light, moderate purple. Relative luminance 0.437; OKLCH L 76.9% C 0.091 H 317.6°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#CCA2DA
RGBrgb(204, 162, 218)
HSLhsl(285, 43%, 75%)
HSVhsv(285, 26%, 85%)
CMYKcmyk(6.4%, 25.7%, 0%, 14.5%)
CIE-LABlab(72.06, 25.35, -22.50)
CIE-LCHlch(72.06, 33.90, 318.41°)
OKLaboklab(76.9% 0.0668 -0.0611)
OKLCHoklch(76.9% 0.091 317.6)
XYZxyz(50.4752, 43.7409, 72.0999)
Luminance0.4374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA2DA #B0DAA2
analogous
#B0A2DA #CCA2DA #DAA2CC
triadic
#CCA2DA #DACCA2 #A2DACC
tetradic
#CCA2DA #DAB0A2 #B0DAA2 #A2CCDA
square
#CCA2DA #DAB0A2 #B0DAA2 #A2CCDA
split-complementary
#CCA2DA #CCDAA2 #A2DAB0
monochromatic
#9C4AB7 #B476C9 #CCA2DA #E4CEEB #F3E9F6

Accessibility & contrast

On white

2.15
#CCA2DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#CCA2DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA2DA
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA2DA#FFFFFF#000000##000000
##CCA2DA1.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BAEDC
Deuteranopia (green-blind)
#A4B2D8
Tritanopia (blue-blind)
#CCA8B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cca2da;
/* rgb */ color: rgb(204, 162, 218);
/* oklch */ color: oklch(76.9% 0.091 317.6);
Tailwind
colors: {
  custom: {
    50: '#dcbee5',
    500: '#cca2da',
    950: '#000000',
  },
}
SCSS
$custom: #cca2da;
$custom-light: #dcbee5;
$custom-dark: #000000;
JSON
{
  "hex": "#cca2da",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 218
  },
  "hsl": {
    "h": 285,
    "s": 43.077,
    "l": 74.51
  },
  "oklch": {
    "l": 0.769,
    "c": 0.09053,
    "h": 317.6
  },
  "luminance": 0.4374
}

Semantic roles & 50–950 ramp

primary
#CCA2DA
secondary
#E2EDDE
accent
#B62F51
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151215
muted
#838184

Preview Lab

Preview with #CCA2DA

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

Preview Lab → · Contrast checker → · Palette generator →

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