#CD9EED#CD9EED

#CD9EED is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.1% C 0.120 H 310.9°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#CD9EED
RGBrgb(205, 158, 237)
HSLhsl(276, 69%, 77%)
HSVhsv(276, 33%, 93%)
CMYKcmyk(13.5%, 33.3%, 0%, 7.1%)
CIE-LABlab(71.93, 31.74, -33.09)
CIE-LCHlch(71.93, 45.85, 313.81°)
OKLaboklab(77.06% 0.0789 -0.091)
OKLCHoklch(77.06% 0.12 310.9)
XYZxyz(52.6871, 43.5480, 85.7344)
Luminance0.4355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EED #BEED9E
analogous
#A59EED #CD9EED #ED9EE6
triadic
#CD9EED #EDCD9E #9EEDCD
tetradic
#CD9EED #EDA59E #BEED9E #9EE6ED
square
#CD9EED #EDA59E #BEED9E #9EE6ED
split-complementary
#CD9EED #E6ED9E #9EEDA5
monochromatic
#9837DA #B26AE3 #CD9EED #E8D2F7 #F2E5FA

Accessibility & contrast

On white

2.16
#CD9EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#CD9EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EED
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EED#FFFFFF#000000##000000
##CD9EED1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#90AEF0
Deuteranopia (green-blind)
#9AB1EB
Tritanopia (blue-blind)
#CAA9BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9eed;
/* rgb */ color: rgb(205, 158, 237);
/* oklch */ color: oklch(77.1% 0.120 310.9);
Tailwind
colors: {
  custom: {
    50: '#ddbbf3',
    500: '#cd9eed',
    950: '#000000',
  },
}
SCSS
$custom: #cd9eed;
$custom-light: #ddbbf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9eed",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 237
  },
  "hsl": {
    "h": 275.696,
    "s": 68.696,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77056,
    "c": 0.12042,
    "h": 310.9
  },
  "luminance": 0.43547
}

Semantic roles & 50–950 ramp

primary
#CD9EED
secondary
#E3F2D9
accent
#D11561
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EED

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

Preview Lab → · Contrast checker → · Palette generator →

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