#CDA8DF#CDA8DF

#CDA8DF is a light, moderate purple. Relative luminance 0.463; OKLCH L 78.3% C 0.086 H 314.5°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CDA8DF
RGBrgb(205, 168, 223)
HSLhsl(280, 46%, 77%)
HSVhsv(280, 25%, 87%)
CMYKcmyk(8.1%, 24.7%, 0%, 12.5%)
CIE-LABlab(73.75, 23.39, -22.65)
CIE-LCHlch(73.75, 32.56, 315.92°)
OKLaboklab(78.28% 0.0605 -0.0615)
OKLCHoklch(78.28% 0.086 314.5)
XYZxyz(52.4966, 46.3128, 75.9715)
Luminance0.4631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA8DF #BADFA8
analogous
#B2A8DF #CDA8DF #DFA8D6
triadic
#CDA8DF #DFCDA8 #A8DFCD
tetradic
#CDA8DF #DFB2A8 #BADFA8 #A8D6DF
square
#CDA8DF #DFB2A8 #BADFA8 #A8D6DF
split-complementary
#CDA8DF #D6DFA8 #A8DFB2
monochromatic
#9A4FBE #B37BCF #CDA8DF #E7D5EF #F2E9F7

Accessibility & contrast

On white

2.05
#CDA8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#CDA8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA8DF
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA8DF#FFFFFF#000000##000000
##CDA8DF1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0B3E1
Deuteranopia (green-blind)
#A8B6DD
Tritanopia (blue-blind)
#CCAEBB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cda8df;
/* rgb */ color: rgb(205, 168, 223);
/* oklch */ color: oklch(78.3% 0.086 314.5);
Tailwind
colors: {
  custom: {
    50: '#dcc2e9',
    500: '#cda8df',
    950: '#000000',
  },
}
SCSS
$custom: #cda8df;
$custom-light: #dcc2e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cda8df",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 223
  },
  "hsl": {
    "h": 280.364,
    "s": 46.218,
    "l": 76.667
  },
  "oklch": {
    "l": 0.78279,
    "c": 0.08633,
    "h": 314.5
  },
  "luminance": 0.46312
}

Semantic roles & 50–950 ramp

primary
#CDA8DF
secondary
#E3EEDD
accent
#B92C5A
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CDA8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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