#CD9DED#CD9DED

#CD9DED is a light, vivid violet. Relative luminance 0.432; OKLCH L 76.9% C 0.122 H 311.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#CD9DED
RGBrgb(205, 157, 237)
HSLhsl(276, 69%, 77%)
HSVhsv(276, 34%, 93%)
CMYKcmyk(13.5%, 33.8%, 0%, 7.1%)
CIE-LABlab(71.70, 32.29, -33.44)
CIE-LCHlch(71.70, 46.49, 314.00°)
OKLaboklab(76.88% 0.0804 -0.092)
OKLCHoklch(76.88% 0.122 311.1)
XYZxyz(52.5172, 43.2082, 85.6778)
Luminance0.4321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DED #BDED9D
analogous
#A59DED #CD9DED #ED9DE5
triadic
#CD9DED #EDCD9D #9DEDCD
tetradic
#CD9DED #EDA59D #BDED9D #9DE5ED
square
#CD9DED #EDA59D #BDED9D #9DE5ED
split-complementary
#CD9DED #E5ED9D #9DEDA5
monochromatic
#9836DA #B369E4 #CD9DED #E7D1F6 #F2E5FA

Accessibility & contrast

On white

2.18
#CD9DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#CD9DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DED
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DED#FFFFFF#000000##000000
##CD9DED1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADF0
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#CAA8BA
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9ded;
/* rgb */ color: rgb(205, 157, 237);
/* oklch */ color: oklch(76.9% 0.122 311.1);
Tailwind
colors: {
  custom: {
    50: '#ddbaf3',
    500: '#cd9ded',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ded;
$custom-light: #ddbaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ded",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 237
  },
  "hsl": {
    "h": 276,
    "s": 68.966,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76882,
    "c": 0.12213,
    "h": 311.1
  },
  "luminance": 0.43208
}

Semantic roles & 50–950 ramp

primary
#CD9DED
secondary
#E3F2D9
accent
#D11560
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD9DED

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

Preview Lab → · Contrast checker → · Palette generator →

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