#CDC7EB#CDC7EB

#CDC7EB is a very light, muted violet. Relative luminance 0.598; OKLCH L 84.6% C 0.050 H 292.9°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#CDC7EB
RGBrgb(205, 199, 235)
HSLhsl(250, 47%, 85%)
HSVhsv(250, 15%, 92%)
CMYKcmyk(12.8%, 15.3%, 0%, 7.8%)
CIE-LABlab(81.74, 9.02, -17.02)
CIE-LCHlch(81.74, 19.26, 297.93°)
OKLaboklab(84.6% 0.0195 -0.0461)
OKLCHoklch(84.6% 0.05 292.9)
XYZxyz(60.5925, 59.8238, 86.9361)
Luminance0.5982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC7EB #E5EBC7
analogous
#C7D3EB #CDC7EB #DFC7EB
triadic
#CDC7EB #EBCDC7 #C7EBCD
tetradic
#CDC7EB #EBC7D3 #E5EBC7 #C7EBDF
square
#CDC7EB #EBC7D3 #E5EBC7 #C7EBDF
split-complementary
#CDC7EB #EBDFC7 #D3EBC7
monochromatic
#7C6DCB #A59ADB #CDC7EB #EBE8F7 #EBE8F7

Accessibility & contrast

On white

1.62
#CDC7EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#CDC7EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC7EB
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC7EB#FFFFFF#000000##000000
##CDC7EB1.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFCCED
Deuteranopia (green-blind)
#C0CBEA
Tritanopia (blue-blind)
#C7CCD3
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #cdc7eb;
/* rgb */ color: rgb(205, 199, 235);
/* oklch */ color: oklch(84.6% 0.050 292.9);
Tailwind
colors: {
  custom: {
    50: '#dcd8f1',
    500: '#cdc7eb',
    950: '#000000',
  },
}
SCSS
$custom: #cdc7eb;
$custom-light: #dcd8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc7eb",
  "rgb": {
    "r": 205,
    "g": 199,
    "b": 235
  },
  "hsl": {
    "h": 250,
    "s": 47.368,
    "l": 85.098
  },
  "oklch": {
    "l": 0.84598,
    "c": 0.05005,
    "h": 292.9
  },
  "luminance": 0.59824
}

Semantic roles & 50–950 ramp

primary
#CDC7EB
secondary
#BEC78F
accent
#BB2BA3
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151416
muted
#848385

Preview Lab

Preview with #CDC7EB

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

Preview Lab → · Contrast checker → · Palette generator →

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