#CD9DEE#CD9DEE

#CD9DEE is a light, vivid violet. Relative luminance 0.433; OKLCH L 76.9% C 0.123 H 310.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#CD9DEE
RGBrgb(205, 157, 238)
HSLhsl(276, 70%, 77%)
HSVhsv(276, 34%, 93%)
CMYKcmyk(13.9%, 34%, 0%, 6.7%)
CIE-LABlab(71.74, 32.50, -33.93)
CIE-LCHlch(71.74, 46.98, 313.77°)
OKLaboklab(76.93% 0.0806 -0.0933)
OKLCHoklch(76.93% 0.123 310.8)
XYZxyz(52.6637, 43.2668, 86.4493)
Luminance0.4327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DEE #BEEE9D
analogous
#A59DEE #CD9DEE #EE9DE6
triadic
#CD9DEE #EECD9D #9DEECD
tetradic
#CD9DEE #EEA59D #BEEE9D #9DE6EE
square
#CD9DEE #EEA59D #BEEE9D #9DE6EE
split-complementary
#CD9DEE #E6EE9D #9DEEA5
monochromatic
#9835DC #B269E5 #CD9DEE #E8D1F7 #F2E5FA

Accessibility & contrast

On white

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

On black

9.65
#CD9DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DEE
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DEE#FFFFFF#000000##000000
##CD9DEE1.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FADF1
Deuteranopia (green-blind)
#99B1EC
Tritanopia (blue-blind)
#CAA8BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9dee;
/* rgb */ color: rgb(205, 157, 238);
/* oklch */ color: oklch(76.9% 0.123 310.8);
Tailwind
colors: {
  custom: {
    50: '#ddbaf3',
    500: '#cd9dee',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dee;
$custom-light: #ddbaf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dee",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 238
  },
  "hsl": {
    "h": 275.556,
    "s": 70.435,
    "l": 77.451
  },
  "oklch": {
    "l": 0.76925,
    "c": 0.12333,
    "h": 310.8
  },
  "luminance": 0.43266
}

Semantic roles & 50–950 ramp

primary
#CD9DEE
secondary
#E3F2D9
accent
#D21361
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD9DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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