#CDC7DE#CDC7DE

#CDC7DE is a very light, muted violet. Relative luminance 0.591; OKLCH L 84.2% C 0.032 H 297.6°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#CDC7DE
RGBrgb(205, 199, 222)
HSLhsl(256, 26%, 83%)
HSVhsv(256, 10%, 87%)
CMYKcmyk(7.7%, 10.4%, 0%, 12.9%)
CIE-LABlab(81.35, 6.40, -10.66)
CIE-LCHlch(81.35, 12.43, 300.99°)
OKLaboklab(84.16% 0.015 -0.0286)
OKLCHoklch(84.16% 0.032 297.6)
XYZxyz(58.7826, 59.0998, 77.4037)
Luminance0.5910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC7DE #D8DEC7
analogous
#C7CCDE #CDC7DE #D8C7DE
triadic
#CDC7DE #DECDC7 #C7DECD
tetradic
#CDC7DE #DEC7CC #D8DEC7 #C7DED8
square
#CDC7DE #DEC7CC #D8DEC7 #C7DED8
split-complementary
#CDC7DE #DED8C7 #CCDEC7
monochromatic
#887AB1 #ABA0C7 #CDC7DE #EEECF4 #EEECF4

Accessibility & contrast

On white

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

On black

12.82
#CDC7DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC7DE
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC7DE#FFFFFF#000000##000000
##CDC7DE1.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3CADF
Deuteranopia (green-blind)
#C4CADD
Tritanopia (blue-blind)
#CACACE
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdc7de;
/* rgb */ color: rgb(205, 199, 222);
/* oklch */ color: oklch(84.2% 0.032 297.6);
Tailwind
colors: {
  custom: {
    50: '#dcd8e8',
    500: '#cdc7de',
    950: '#000000',
  },
}
SCSS
$custom: #cdc7de;
$custom-light: #dcd8e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc7de",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 222
  },
  "hsl": {
    "h": 255.652,
    "s": 25.843,
    "l": 82.549
  },
  "oklch": {
    "l": 0.84158,
    "c": 0.03229,
    "h": 297.6
  },
  "luminance": 0.591
}

Semantic roles & 50–950 ramp

primary
#CDC7DE
secondary
#ACB594
accent
#A4418A
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151416
muted
#848384

Preview Lab

Preview with #CDC7DE

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

Preview Lab → · Contrast checker → · Palette generator →

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