#CDC2EF#CDC2EF

#CDC2EF is a very light, moderate violet. Relative luminance 0.578; OKLCH L 83.8% C 0.063 H 296.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#CDC2EF
RGBrgb(205, 194, 239)
HSLhsl(255, 58%, 85%)
HSVhsv(255, 19%, 94%)
CMYKcmyk(14.2%, 18.8%, 0%, 6.3%)
CIE-LABlab(80.62, 12.54, -20.85)
CIE-LCHlch(80.62, 24.33, 301.03°)
OKLaboklab(83.77% 0.0279 -0.0567)
OKLCHoklch(83.77% 0.063 296.2)
XYZxyz(60.0454, 57.7944, 89.6367)
Luminance0.5779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDC2EF #E4EFC2
analogous
#C2CDEF #CDC2EF #E4C2EF
triadic
#CDC2EF #EFCDC2 #C2EFCD
tetradic
#CDC2EF #EFC2CD #E4EFC2 #C2EFE4
square
#CDC2EF #EFC2CD #E4EFC2 #C2EFE4
split-complementary
#CDC2EF #EFE4C2 #CDEFC2
monochromatic
#7E61D6 #A592E2 #CDC2EF #EBE7F9 #EBE7F9

Accessibility & contrast

On white

1.67
#CDC2EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#CDC2EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDC2EF
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDC2EF#FFFFFF#000000##000000
##CDC2EF1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9C8F1
Deuteranopia (green-blind)
#BAC8EE
Tritanopia (blue-blind)
#C7C9D1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #cdc2ef;
/* rgb */ color: rgb(205, 194, 239);
/* oklch */ color: oklch(83.8% 0.063 296.2);
Tailwind
colors: {
  custom: {
    50: '#dcd4f4',
    500: '#cdc2ef',
    950: '#000000',
  },
}
SCSS
$custom: #cdc2ef;
$custom-light: #dcd4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cdc2ef",
  "rgb": {
    "r": 205,
    "g": 194,
    "b": 239
  },
  "hsl": {
    "h": 254.667,
    "s": 58.442,
    "l": 84.902
  },
  "oklch": {
    "l": 0.83771,
    "c": 0.06319,
    "h": 296.2
  },
  "luminance": 0.57795
}

Semantic roles & 50–950 ramp

primary
#CDC2EF
secondary
#BCCD88
accent
#C61F9D
background
#FEFEFF
surface
#FCFBFE
border
#D5D4D6
text
#151417
muted
#848385

Preview Lab

Preview with #CDC2EF

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

Preview Lab → · Contrast checker → · Palette generator →

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