#CDA7DF#CDA7DF

#CDA7DF is a light, moderate purple. Relative luminance 0.459; OKLCH L 78.1% C 0.088 H 314.8°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CDA7DF
RGBrgb(205, 167, 223)
HSLhsl(281, 47%, 76%)
HSVhsv(281, 25%, 87%)
CMYKcmyk(8.1%, 25.1%, 0%, 12.5%)
CIE-LABlab(73.51, 23.94, -23.01)
CIE-LCHlch(73.51, 33.21, 316.13°)
OKLaboklab(78.1% 0.062 -0.0625)
OKLCHoklch(78.1% 0.088 314.8)
XYZxyz(52.3127, 45.9450, 75.9102)
Luminance0.4594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA7DF #B9DFA7
analogous
#B1A7DF #CDA7DF #DFA7D5
triadic
#CDA7DF #DFCDA7 #A7DFCD
tetradic
#CDA7DF #DFB1A7 #B9DFA7 #A7D5DF
square
#CDA7DF #DFB1A7 #B9DFA7 #A7D5DF
split-complementary
#CDA7DF #D5DFA7 #A7DFB1
monochromatic
#9A4DBE #B47ACF #CDA7DF #E7D4EF #F2E9F7

Accessibility & contrast

On white

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

On black

10.19
#CDA7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA7DF
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA7DF#FFFFFF#000000##000000
##CDA7DF1.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9FB2E1
Deuteranopia (green-blind)
#A7B6DD
Tritanopia (blue-blind)
#CCAEBB
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cda7df;
/* rgb */ color: rgb(205, 167, 223);
/* oklch */ color: oklch(78.1% 0.088 314.8);
Tailwind
colors: {
  custom: {
    50: '#dcc1e9',
    500: '#cda7df',
    950: '#000000',
  },
}
SCSS
$custom: #cda7df;
$custom-light: #dcc1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cda7df",
  "rgb": {
    "r": 205,
    "g": 167,
    "b": 223
  },
  "hsl": {
    "h": 280.714,
    "s": 46.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.78096,
    "c": 0.08808,
    "h": 314.8
  },
  "luminance": 0.45944
}

Semantic roles & 50–950 ramp

primary
#CDA7DF
secondary
#E3EEDD
accent
#BA2C59
background
#FDFBFE
surface
#FBF7FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CDA7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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