#CCA2CA#CCA2CA

#CCA2CA is a light, moderate purple. Relative luminance 0.429; OKLCH L 76.3% C 0.073 H 327.8°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#CCA2CA
RGBrgb(204, 162, 202)
HSLhsl(303, 29%, 72%)
HSVhsv(303, 21%, 80%)
CMYKcmyk(0%, 20.6%, 1%, 20%)
CIE-LABlab(71.52, 22.27, -14.52)
CIE-LCHlch(71.52, 26.59, 326.89°)
OKLaboklab(76.31% 0.0618 -0.0389)
OKLCHoklch(76.31% 0.073 327.8)
XYZxyz(48.4817, 42.9435, 61.6007)
Luminance0.4294 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA2CA #A2CCA4
analogous
#B9A2CC #CCA2CA #CCA2B5
triadic
#CCA2CA #CACCA2 #A2CACC
tetradic
#CCA2CA #CCB9A2 #A2CCA4 #A2B5CC
square
#CCA2CA #CCB9A2 #A2CCA4 #A2B5CC
split-complementary
#CCA2CA #B5CCA2 #A2CCB9
monochromatic
#9D569A #B67AB3 #CCA2CA #E2CAE1 #F4EBF4

Accessibility & contrast

On white

2.19
#CCA2CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.59
#CCA2CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA2CA
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA2CA#FFFFFF#000000##000000
##CCA2CA1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0ACCC
Deuteranopia (green-blind)
#A9B1C8
Tritanopia (blue-blind)
#CFA5B0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cca2ca;
/* rgb */ color: rgb(204, 162, 202);
/* oklch */ color: oklch(76.3% 0.073 327.8);
Tailwind
colors: {
  custom: {
    50: '#dcbdda',
    500: '#cca2ca',
    950: '#000000',
  },
}
SCSS
$custom: #cca2ca;
$custom-light: #dcbdda;
$custom-dark: #000000;
JSON
{
  "hex": "#cca2ca",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 202
  },
  "hsl": {
    "h": 302.857,
    "s": 29.167,
    "l": 71.765
  },
  "oklch": {
    "l": 0.76309,
    "c": 0.07306,
    "h": 327.8
  },
  "luminance": 0.42942
}

Semantic roles & 50–950 ramp

primary
#CCA2CA
secondary
#E0EAE0
accent
#A8433E
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151214
muted
#838183

Preview Lab

Preview with #CCA2CA

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

Preview Lab → · Contrast checker → · Palette generator →

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