#CDC7DA#CDC7DA

#CDC7DA is a very light, muted violet. Relative luminance 0.589; OKLCH L 84.0% C 0.027 H 300.2°. Best body text is #000000 at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#CDC7DA
RGBrgb(205, 199, 218)
HSLhsl(259, 20%, 82%)
HSVhsv(259, 9%, 85%)
CMYKcmyk(6%, 8.7%, 0%, 14.5%)
CIE-LABlab(81.23, 5.62, -8.69)
CIE-LCHlch(81.23, 10.35, 302.89°)
OKLaboklab(84.03% 0.0135 -0.0233)
OKLCHoklch(84.03% 0.027 300.2)
XYZxyz(58.2528, 58.8879, 74.6137)
Luminance0.5889 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC7DA #D4DAC7
analogous
#C7CBDA #CDC7DA #D7C7DA
triadic
#CDC7DA #DACDC7 #C7DACD
tetradic
#CDC7DA #DAC7CB #D4DAC7 #C7DAD7
square
#CDC7DA #DAC7CB #D4DAC7 #C7DAD7
split-complementary
#CDC7DA #DAD7C7 #CBDAC7
monochromatic
#8B7DA9 #ACA2C2 #CDC7DA #EEECF2 #EFEDF3

Accessibility & contrast

On white

1.64
#CDC7DA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#CDC7DA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC7DA
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC7DA#FFFFFF#000000##000000
##CDC7DA1.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4CADB
Deuteranopia (green-blind)
#C5CAD9
Tritanopia (blue-blind)
#CBC9CD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdc7da;
/* rgb */ color: rgb(205, 199, 218);
/* oklch */ color: oklch(84.0% 0.027 300.2);
Tailwind
colors: {
  custom: {
    50: '#dcd8e5',
    500: '#cdc7da',
    950: '#000000',
  },
}
SCSS
$custom: #cdc7da;
$custom-light: #dcd8e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc7da",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 218
  },
  "hsl": {
    "h": 258.947,
    "s": 20.43,
    "l": 81.765
  },
  "oklch": {
    "l": 0.84029,
    "c": 0.02691,
    "h": 300.2
  },
  "luminance": 0.58888
}

Semantic roles & 50–950 ramp

primary
#CDC7DA
secondary
#A7B095
accent
#9F4783
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151415
muted
#848384

Preview Lab

Preview with #CDC7DA

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

Preview Lab → · Contrast checker → · Palette generator →

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