#CD9DE5#CD9DE5

#CD9DE5 is a light, moderate purple. Relative luminance 0.427; OKLCH L 76.5% C 0.113 H 314.1°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CD9DE5
RGBrgb(205, 157, 229)
HSLhsl(280, 58%, 76%)
HSVhsv(280, 31%, 90%)
CMYKcmyk(10.5%, 31.4%, 0%, 10.2%)
CIE-LABlab(71.39, 30.63, -29.55)
CIE-LCHlch(71.39, 42.56, 316.03°)
OKLaboklab(76.54% 0.0784 -0.0809)
OKLCHoklch(76.54% 0.113 314.1)
XYZxyz(51.3744, 42.7511, 79.6590)
Luminance0.4275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DE5 #B5E59D
analogous
#A99DE5 #CD9DE5 #E59DD9
triadic
#CD9DE5 #E5CD9D #9DE5CD
tetradic
#CD9DE5 #E5A99D #B5E59D #9DD9E5
square
#CD9DE5 #E5A99D #B5E59D #9DD9E5
split-complementary
#CD9DE5 #D9E59D #9DE5A9
monochromatic
#9C3CCB #B46DD8 #CD9DE5 #E6CDF2 #F3E7F9

Accessibility & contrast

On white

2.20
#CD9DE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CD9DE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DE5
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DE5#FFFFFF#000000##000000
##CD9DE51.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ACE8
Deuteranopia (green-blind)
#9DB0E3
Tritanopia (blue-blind)
#CCA6B7
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9de5;
/* rgb */ color: rgb(205, 157, 229);
/* oklch */ color: oklch(76.5% 0.113 314.1);
Tailwind
colors: {
  custom: {
    50: '#ddbaed',
    500: '#cd9de5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9de5;
$custom-light: #ddbaed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9de5",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 229
  },
  "hsl": {
    "h": 280,
    "s": 58.065,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76544,
    "c": 0.11263,
    "h": 314.1
  },
  "luminance": 0.4275
}

Semantic roles & 50–950 ramp

primary
#CD9DE5
secondary
#E2F0DB
accent
#C62057
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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