#CDA5DF#CDA5DF

#CDA5DF is a light, moderate purple. Relative luminance 0.452; OKLCH L 77.7% C 0.092 H 315.2°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CDA5DF
RGBrgb(205, 165, 223)
HSLhsl(281, 48%, 76%)
HSVhsv(281, 26%, 87%)
CMYKcmyk(8.1%, 26%, 0%, 12.5%)
CIE-LABlab(73.04, 25.03, -23.74)
CIE-LCHlch(73.04, 34.50, 316.52°)
OKLaboklab(77.73% 0.065 -0.0646)
OKLCHoklch(77.73% 0.092 315.2)
XYZxyz(51.9492, 45.2179, 75.7890)
Luminance0.4522 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA5DF #B7DFA5
analogous
#B0A5DF #CDA5DF #DFA5D4
triadic
#CDA5DF #DFCDA5 #A5DFCD
tetradic
#CDA5DF #DFB0A5 #B7DFA5 #A5D4DF
square
#CDA5DF #DFB0A5 #B7DFA5 #A5D4DF
split-complementary
#CDA5DF #D4DFA5 #A5DFB0
monochromatic
#9B4BBF #B478CF #CDA5DF #E6D2EF #F2E8F7

Accessibility & contrast

On white

2.09
#CDA5DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CDA5DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA5DF
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA5DF#FFFFFF#000000##000000
##CDA5DF1.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9DB1E1
Deuteranopia (green-blind)
#A6B4DD
Tritanopia (blue-blind)
#CCACB9
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cda5df;
/* rgb */ color: rgb(205, 165, 223);
/* oklch */ color: oklch(77.7% 0.092 315.2);
Tailwind
colors: {
  custom: {
    50: '#dcc0e9',
    500: '#cda5df',
    950: '#000000',
  },
}
SCSS
$custom: #cda5df;
$custom-light: #dcc0e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cda5df",
  "rgb": {
    "r": 205,
    "g": 165,
    "b": 223
  },
  "hsl": {
    "h": 281.379,
    "s": 47.541,
    "l": 76.078
  },
  "oklch": {
    "l": 0.77732,
    "c": 0.09159,
    "h": 315.2
  },
  "luminance": 0.45217
}

Semantic roles & 50–950 ramp

primary
#CDA5DF
secondary
#E2EEDD
accent
#BB2B57
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CDA5DF

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

Preview Lab → · Contrast checker → · Palette generator →

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