#CD9DE3#CD9DE3

#CD9DE3 is a light, moderate purple. Relative luminance 0.426; OKLCH L 76.5% C 0.110 H 314.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#CD9DE3
RGBrgb(205, 157, 227)
HSLhsl(281, 56%, 75%)
HSVhsv(281, 31%, 89%)
CMYKcmyk(9.7%, 30.8%, 0%, 11%)
CIE-LABlab(71.31, 30.22, -28.57)
CIE-LCHlch(71.31, 41.59, 316.61°)
OKLaboklab(76.46% 0.0779 -0.0781)
OKLCHoklch(76.46% 0.11 314.9)
XYZxyz(51.0968, 42.6400, 78.1968)
Luminance0.4264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DE3 #B3E39D
analogous
#AA9DE3 #CD9DE3 #E39DD6
triadic
#CD9DE3 #E3CD9D #9DE3CD
tetradic
#CD9DE3 #E3AA9D #B3E39D #9DD6E3
square
#CD9DE3 #E3AA9D #B3E39D #9DD6E3
split-complementary
#CD9DE3 #D6E39D #9DE3AA
monochromatic
#9C3EC8 #B56DD5 #CD9DE3 #E5CDF1 #F3E7F8

Accessibility & contrast

On white

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

On black

9.53
#CD9DE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DE3
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DE3#FFFFFF#000000##000000
##CD9DE31.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93ACE6
Deuteranopia (green-blind)
#9DB0E1
Tritanopia (blue-blind)
#CCA6B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9de3;
/* rgb */ color: rgb(205, 157, 227);
/* oklch */ color: oklch(76.5% 0.110 314.9);
Tailwind
colors: {
  custom: {
    50: '#ddbaec',
    500: '#cd9de3',
    950: '#000000',
  },
}
SCSS
$custom: #cd9de3;
$custom-light: #ddbaec;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9de3",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 227
  },
  "hsl": {
    "h": 281.143,
    "s": 55.556,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76461,
    "c": 0.11029,
    "h": 314.9
  },
  "luminance": 0.42639
}

Semantic roles & 50–950 ramp

primary
#CD9DE3
secondary
#E2EFDC
accent
#C32255
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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