#CD9CDE#CD9CDE

#CD9CDE is a light, moderate purple. Relative luminance 0.420; OKLCH L 76.1% C 0.106 H 317.2°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#CD9CDE
RGBrgb(205, 156, 222)
HSLhsl(285, 50%, 74%)
HSVhsv(285, 30%, 87%)
CMYKcmyk(7.7%, 29.7%, 0%, 12.9%)
CIE-LABlab(70.89, 29.76, -26.47)
CIE-LCHlch(70.89, 39.83, 318.35°)
OKLaboklab(76.08% 0.078 -0.0722)
OKLCHoklch(76.08% 0.106 317.2)
XYZxyz(50.2482, 42.0310, 74.5589)
Luminance0.4203 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CDE #ADDE9C
analogous
#AC9CDE #CD9CDE #DE9CCE
triadic
#CD9CDE #DECD9C #9CDECD
tetradic
#CD9CDE #DEAC9C #ADDE9C #9CCEDE
square
#CD9CDE #DEAC9C #ADDE9C #9CCEDE
split-complementary
#CD9CDE #CEDE9C #9CDEAC
monochromatic
#9F40BF #B66ECF #CD9CDE #E4CAED #F3E8F7

Accessibility & contrast

On white

2.23
#CD9CDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CD9CDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CDE
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CDE#FFFFFF#000000##000000
##CD9CDE1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AAE1
Deuteranopia (green-blind)
#9EAFDC
Tritanopia (blue-blind)
#CDA4B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cde;
/* rgb */ color: rgb(205, 156, 222);
/* oklch */ color: oklch(76.1% 0.106 317.2);
Tailwind
colors: {
  custom: {
    50: '#ddb9e8',
    500: '#cd9cde',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cde;
$custom-light: #ddb9e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cde",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 222
  },
  "hsl": {
    "h": 284.545,
    "s": 50,
    "l": 74.118
  },
  "oklch": {
    "l": 0.76081,
    "c": 0.10627,
    "h": 317.2
  },
  "luminance": 0.4203
}

Semantic roles & 50–950 ramp

primary
#CD9CDE
secondary
#E1EEDD
accent
#BD284F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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