#CDC8DF#CDC8DF

#CDC8DF is a very light, muted violet. Relative luminance 0.596; OKLCH L 84.4% C 0.032 H 295.7°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#CDC8DF
RGBrgb(205, 200, 223)
HSLhsl(253, 26%, 83%)
HSVhsv(253, 10%, 87%)
CMYKcmyk(8.1%, 10.3%, 0%, 12.5%)
CIE-LABlab(81.63, 6.06, -10.77)
CIE-LCHlch(81.63, 12.36, 299.38°)
OKLaboklab(84.39% 0.0139 -0.0289)
OKLCHoklch(84.39% 0.032 295.7)
XYZxyz(59.1478, 59.6152, 78.1886)
Luminance0.5961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC8DF #DADFC8
analogous
#C8CEDF #CDC8DF #D8C8DF
triadic
#CDC8DF #DFCDC8 #C8DFCD
tetradic
#CDC8DF #DFC8CE #DADFC8 #C8DFD8
square
#CDC8DF #DFC8CE #DADFC8 #C8DFD8
split-complementary
#CDC8DF #DFD8C8 #CEDFC8
monochromatic
#877BB2 #AAA1C8 #CDC8DF #EDECF4 #EDECF4

Accessibility & contrast

On white

1.63
#CDC8DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#CDC8DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC8DF
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC8DF#FFFFFF#000000##000000
##CDC8DF1.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4CBE0
Deuteranopia (green-blind)
#C4CBDE
Tritanopia (blue-blind)
#CACBCF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdc8df;
/* rgb */ color: rgb(205, 200, 223);
/* oklch */ color: oklch(84.4% 0.032 295.7);
Tailwind
colors: {
  custom: {
    50: '#dcd8e9',
    500: '#cdc8df',
    950: '#000000',
  },
}
SCSS
$custom: #cdc8df;
$custom-light: #dcd8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc8df",
  "rgb": {
    "r": 205,
    "g": 200,
    "b": 223
  },
  "hsl": {
    "h": 253.043,
    "s": 26.437,
    "l": 82.941
  },
  "oklch": {
    "l": 0.84388,
    "c": 0.03211,
    "h": 295.7
  },
  "luminance": 0.59615
}

Semantic roles & 50–950 ramp

primary
#CDC8DF
secondary
#AFB695
accent
#A5408F
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151416
muted
#848384

Preview Lab

Preview with #CDC8DF

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

Preview Lab → · Contrast checker → · Palette generator →

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