#CDC2EB#CDC2EB

#CDC2EB is a very light, muted violet. Relative luminance 0.576; OKLCH L 83.6% C 0.058 H 297.4°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#CDC2EB
RGBrgb(205, 194, 235)
HSLhsl(256, 51%, 84%)
HSVhsv(256, 17%, 92%)
CMYKcmyk(12.8%, 17.4%, 0%, 7.8%)
CIE-LABlab(80.49, 11.71, -18.90)
CIE-LCHlch(80.49, 22.24, 301.77°)
OKLaboklab(83.63% 0.0266 -0.0513)
OKLCHoklch(83.63% 0.058 297.4)
XYZxyz(59.4610, 57.5607, 86.5589)
Luminance0.5756 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC2EB #E0EBC2
analogous
#C2CCEB #CDC2EB #E2C2EB
triadic
#CDC2EB #EBCDC2 #C2EBCD
tetradic
#CDC2EB #EBC2CC #E0EBC2 #C2EBE2
square
#CDC2EB #EBC2CC #E0EBC2 #C2EBE2
split-complementary
#CDC2EB #EBE2C2 #CCEBC2
monochromatic
#8166CD #A794DC #CDC2EB #ECE8F7 #ECE8F7

Accessibility & contrast

On white

1.68
#CDC2EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#CDC2EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC2EB
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC2EB#FFFFFF#000000##000000
##CDC2EB1.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAC8ED
Deuteranopia (green-blind)
#BBC7EA
Tritanopia (blue-blind)
#C8C8D0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdc2eb;
/* rgb */ color: rgb(205, 194, 235);
/* oklch */ color: oklch(83.6% 0.058 297.4);
Tailwind
colors: {
  custom: {
    50: '#dcd4f1',
    500: '#cdc2eb',
    950: '#000000',
  },
}
SCSS
$custom: #cdc2eb;
$custom-light: #dcd4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc2eb",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 235
  },
  "hsl": {
    "h": 256.098,
    "s": 50.617,
    "l": 84.118
  },
  "oklch": {
    "l": 0.83627,
    "c": 0.05776,
    "h": 297.4
  },
  "luminance": 0.57561
}

Semantic roles & 50–950 ramp

primary
#CDC2EB
secondary
#B7C78A
accent
#BE2896
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151416
muted
#848385

Preview Lab

Preview with #CDC2EB

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

Preview Lab → · Contrast checker → · Palette generator →

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