#CDC7DB#CDC7DB

#CDC7DB is a very light, muted violet. Relative luminance 0.589; OKLCH L 84.1% C 0.028 H 299.5°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#CDC7DB
RGBrgb(205, 199, 219)
HSLhsl(258, 22%, 82%)
HSVhsv(258, 9%, 86%)
CMYKcmyk(6.4%, 9.1%, 0%, 14.1%)
CIE-LABlab(81.26, 5.81, -9.18)
CIE-LCHlch(81.26, 10.87, 302.34°)
OKLaboklab(84.06% 0.0139 -0.0246)
OKLCHoklch(84.06% 0.028 299.5)
XYZxyz(58.3841, 58.9404, 75.3049)
Luminance0.5894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC7DB #D5DBC7
analogous
#C7CBDB #CDC7DB #D7C7DB
triadic
#CDC7DB #DBCDC7 #C7DBCD
tetradic
#CDC7DB #DBC7CB #D5DBC7 #C7DBD7
square
#CDC7DB #DBC7CB #D5DBC7 #C7DBD7
split-complementary
#CDC7DB #DBD7C7 #CBDBC7
monochromatic
#8A7CAB #ACA2C3 #CDC7DB #EEECF3 #EEECF3

Accessibility & contrast

On white

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

On black

12.79
#CDC7DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC7DB
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC7DB#FFFFFF#000000##000000
##CDC7DB1.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4CADC
Deuteranopia (green-blind)
#C4CADA
Tritanopia (blue-blind)
#CBCACD
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #cdc7db;
/* rgb */ color: rgb(205, 199, 219);
/* oklch */ color: oklch(84.1% 0.028 299.5);
Tailwind
colors: {
  custom: {
    50: '#dcd8e6',
    500: '#cdc7db',
    950: '#000000',
  },
}
SCSS
$custom: #cdc7db;
$custom-light: #dcd8e6;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc7db",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 219
  },
  "hsl": {
    "h": 258,
    "s": 21.739,
    "l": 81.961
  },
  "oklch": {
    "l": 0.84061,
    "c": 0.02826,
    "h": 299.5
  },
  "luminance": 0.5894
}

Semantic roles & 50–950 ramp

primary
#CDC7DB
secondary
#A9B195
accent
#A04585
background
#FEFEFE
surface
#FCFBFC
border
#D5D4D5
text
#151415
muted
#848384

Preview Lab

Preview with #CDC7DB

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

Preview Lab → · Contrast checker → · Palette generator →

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