#CCA2DF#CCA2DF

#CCA2DF is a light, moderate purple. Relative luminance 0.440; OKLCH L 77.1% C 0.096 H 315.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CCA2DF
RGBrgb(204, 162, 223)
HSLhsl(281, 49%, 75%)
HSVhsv(281, 27%, 87%)
CMYKcmyk(8.5%, 27.4%, 0%, 12.5%)
CIE-LABlab(72.23, 26.36, -24.97)
CIE-LCHlch(72.23, 36.31, 316.54°)
OKLaboklab(77.1% 0.0683 -0.068)
OKLCHoklch(77.1% 0.096 315.1)
XYZxyz(51.1394, 44.0066, 75.5979)
Luminance0.4401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA2DF #B5DFA2
analogous
#ADA2DF #CCA2DF #DFA2D4
triadic
#CCA2DF #DFCCA2 #A2DFCC
tetradic
#CCA2DF #DFADA2 #B5DFA2 #A2D4DF
square
#CCA2DF #DFADA2 #B5DFA2 #A2D4DF
split-complementary
#CCA2DF #D4DFA2 #A2DFAD
monochromatic
#9A47C0 #B374CF #CCA2DF #E5D0EF #F3E8F7

Accessibility & contrast

On white

2.14
#CCA2DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#CCA2DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA2DF
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA2DF#FFFFFF#000000##000000
##CCA2DF1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AAFE1
Deuteranopia (green-blind)
#A3B2DD
Tritanopia (blue-blind)
#CBA9B8
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cca2df;
/* rgb */ color: rgb(204, 162, 223);
/* oklch */ color: oklch(77.1% 0.096 315.1);
Tailwind
colors: {
  custom: {
    50: '#dcbee9',
    500: '#cca2df',
    950: '#000000',
  },
}
SCSS
$custom: #cca2df;
$custom-light: #dcbee9;
$custom-dark: #000000;
JSON
{
  "hex": "#cca2df",
  "rgb": {
    "r": 204,
    "g": 162,
    "b": 223
  },
  "hsl": {
    "h": 281.311,
    "s": 48.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77095,
    "c": 0.09636,
    "h": 315.1
  },
  "luminance": 0.44006
}

Semantic roles & 50–950 ramp

primary
#CCA2DF
secondary
#E2EEDD
accent
#BC2957
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CCA2DF

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

Preview Lab → · Contrast checker → · Palette generator →

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