#CDA2DC#CDA2DC

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

Color values

HEX#CDA2DC
RGBrgb(205, 162, 220)
HSLhsl(284, 45%, 75%)
HSVhsv(284, 26%, 86%)
CMYKcmyk(6.8%, 26.4%, 0%, 13.7%)
CIE-LABlab(72.22, 26.08, -23.34)
CIE-LCHlch(72.22, 35.00, 318.17°)
OKLaboklab(77.07% 0.0685 -0.0634)
OKLCHoklch(77.07% 0.093 317.2)
XYZxyz(51.0135, 43.9880, 73.4995)
Luminance0.4399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2DC #B1DCA2
analogous
#B0A2DC #CDA2DC #DCA2CE
triadic
#CDA2DC #DCCDA2 #A2DCCD
tetradic
#CDA2DC #DCB0A2 #B1DCA2 #A2CEDC
square
#CDA2DC #DCB0A2 #B1DCA2 #A2CEDC
split-complementary
#CDA2DC #CEDCA2 #A2DCB0
monochromatic
#9D49BB #B576CB #CDA2DC #E5CEED #F3E9F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CDA2DC#FFFFFF#000000##000000
##CDA2DC1.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)
#9BAEDE
Deuteranopia (green-blind)
#A4B2DA
Tritanopia (blue-blind)
#CDA8B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cda2dc;
/* rgb */ color: rgb(205, 162, 220);
/* oklch */ color: oklch(77.1% 0.093 317.2);
Tailwind
colors: {
  custom: {
    50: '#dcbee7',
    500: '#cda2dc',
    950: '#000000',
  },
}
SCSS
$custom: #cda2dc;
$custom-light: #dcbee7;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2dc",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 220
  },
  "hsl": {
    "h": 284.483,
    "s": 45.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.77072,
    "c": 0.09337,
    "h": 317.2
  },
  "luminance": 0.43987
}

Semantic roles & 50–950 ramp

primary
#CDA2DC
secondary
#E2EEDD
accent
#B82D51
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CDA2DC

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

Preview Lab → · Contrast checker → · Palette generator →

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