#CDA8DA#CDA8DA

#CDA8DA is a light, moderate purple. Relative luminance 0.460; OKLCH L 78.1% C 0.080 H 317.2°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#CDA8DA
RGBrgb(205, 168, 218)
HSLhsl(284, 40%, 76%)
HSVhsv(284, 23%, 85%)
CMYKcmyk(6%, 22.9%, 0%, 14.5%)
CIE-LABlab(73.58, 22.40, -20.18)
CIE-LCHlch(73.58, 30.15, 317.98°)
OKLaboklab(78.09% 0.059 -0.0546)
OKLCHoklch(78.09% 0.08 317.2)
XYZxyz(51.8325, 46.0472, 72.4736)
Luminance0.4605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA8DA #B5DAA8
analogous
#B4A8DA #CDA8DA #DAA8CE
triadic
#CDA8DA #DACDA8 #A8DACD
tetradic
#CDA8DA #DAB4A8 #B5DAA8 #A8CEDA
square
#CDA8DA #DAB4A8 #B5DAA8 #A8CEDA
split-complementary
#CDA8DA #CEDAA8 #A8DAB4
monochromatic
#9C52B5 #B47DC8 #CDA8DA #E6D3EC #F3EAF6

Accessibility & contrast

On white

2.06
#CDA8DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#CDA8DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA8DA
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA8DA#FFFFFF#000000##000000
##CDA8DA1.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A2B2DC
Deuteranopia (green-blind)
#AAB6D8
Tritanopia (blue-blind)
#CDADB9
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cda8da;
/* rgb */ color: rgb(205, 168, 218);
/* oklch */ color: oklch(78.1% 0.080 317.2);
Tailwind
colors: {
  custom: {
    50: '#dcc2e5',
    500: '#cda8da',
    950: '#000000',
  },
}
SCSS
$custom: #cda8da;
$custom-light: #dcc2e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cda8da",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 218
  },
  "hsl": {
    "h": 284.4,
    "s": 40.323,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7809,
    "c": 0.08043,
    "h": 317.2
  },
  "luminance": 0.46046
}

Semantic roles & 50–950 ramp

primary
#CDA8DA
secondary
#E2EDDE
accent
#B33254
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151215
muted
#838184

Preview Lab

Preview with #CDA8DA

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

Preview Lab → · Contrast checker → · Palette generator →

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