#CD9DDE#CD9DDE

#CD9DDE is a light, moderate purple. Relative luminance 0.424; OKLCH L 76.3% C 0.104 H 317.1°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#CD9DDE
RGBrgb(205, 157, 222)
HSLhsl(284, 50%, 74%)
HSVhsv(284, 29%, 87%)
CMYKcmyk(7.7%, 29.3%, 0%, 12.9%)
CIE-LABlab(71.12, 29.21, -26.11)
CIE-LCHlch(71.12, 39.18, 318.21°)
OKLaboklab(76.26% 0.0765 -0.0712)
OKLCHoklch(76.26% 0.105 317.1)
XYZxyz(50.4167, 42.3680, 74.6150)
Luminance0.4237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DDE #AEDE9D
analogous
#AD9DDE #CD9DDE #DE9DCF
triadic
#CD9DDE #DECD9D #9DDECD
tetradic
#CD9DDE #DEAD9D #AEDE9D #9DCFDE
square
#CD9DDE #DEAD9D #AEDE9D #9DCFDE
split-complementary
#CD9DDE #CFDE9D #9DDEAD
monochromatic
#9E41BF #B66FCF #CD9DDE #E4CBED #F3E8F7

Accessibility & contrast

On white

2.22
#CD9DDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#CD9DDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DDE
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DDE#FFFFFF#000000##000000
##CD9DDE1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#94ABE1
Deuteranopia (green-blind)
#9FB0DC
Tritanopia (blue-blind)
#CDA5B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9dde;
/* rgb */ color: rgb(205, 157, 222);
/* oklch */ color: oklch(76.3% 0.104 317.1);
Tailwind
colors: {
  custom: {
    50: '#ddbae8',
    500: '#cd9dde',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dde;
$custom-light: #ddbae8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dde",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 222
  },
  "hsl": {
    "h": 284.308,
    "s": 49.618,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76258,
    "c": 0.1045,
    "h": 317.1
  },
  "luminance": 0.42367
}

Semantic roles & 50–950 ramp

primary
#CD9DDE
secondary
#E1EEDD
accent
#BD294F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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