#CDC7DF#CDC7DF

#CDC7DF is a very light, muted violet. Relative luminance 0.592; OKLCH L 84.2% C 0.034 H 297.1°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#CDC7DF
RGBrgb(205, 199, 223)
HSLhsl(255, 27%, 83%)
HSVhsv(255, 11%, 87%)
CMYKcmyk(8.1%, 10.8%, 0%, 12.5%)
CIE-LABlab(81.38, 6.60, -11.15)
CIE-LCHlch(81.38, 12.96, 300.61°)
OKLaboklab(84.19% 0.0153 -0.03)
OKLCHoklch(84.19% 0.034 297.1)
XYZxyz(58.9170, 59.1536, 78.1116)
Luminance0.5915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC7DF #D9DFC7
analogous
#C7CDDF #CDC7DF #D9C7DF
triadic
#CDC7DF #DFCDC7 #C7DFCD
tetradic
#CDC7DF #DFC7CD #D9DFC7 #C7DFD9
square
#CDC7DF #DFC7CD #D9DFC7 #C7DFD9
split-complementary
#CDC7DF #DFD9C7 #CDDFC7
monochromatic
#8779B2 #AAA0C9 #CDC7DF #EEECF4 #EEECF4

Accessibility & contrast

On white

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

On black

12.83
#CDC7DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC7DF
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC7DF#FFFFFF#000000##000000
##CDC7DF1.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3CAE0
Deuteranopia (green-blind)
#C3CADE
Tritanopia (blue-blind)
#CACACF
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdc7df;
/* rgb */ color: rgb(205, 199, 223);
/* oklch */ color: oklch(84.2% 0.034 297.1);
Tailwind
colors: {
  custom: {
    50: '#dcd8e9',
    500: '#cdc7df',
    950: '#000000',
  },
}
SCSS
$custom: #cdc7df;
$custom-light: #dcd8e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc7df",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 223
  },
  "hsl": {
    "h": 255,
    "s": 27.273,
    "l": 82.745
  },
  "oklch": {
    "l": 0.84191,
    "c": 0.03366,
    "h": 297.1
  },
  "luminance": 0.59154
}

Semantic roles & 50–950 ramp

primary
#CDC7DF
secondary
#AEB694
accent
#A6408C
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151416
muted
#848384

Preview Lab

Preview with #CDC7DF

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

Preview Lab → · Contrast checker → · Palette generator →

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