#CD9FDA#CD9FDA

#CD9FDA is a light, moderate purple. Relative luminance 0.428; OKLCH L 76.5% C 0.096 H 318.7°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#CD9FDA
RGBrgb(205, 159, 218)
HSLhsl(287, 44%, 74%)
HSVhsv(287, 27%, 85%)
CMYKcmyk(6%, 27.1%, 0%, 14.5%)
CIE-LABlab(71.45, 27.32, -23.43)
CIE-LCHlch(71.45, 35.99, 319.39°)
OKLaboklab(76.46% 0.0724 -0.0636)
OKLCHoklch(76.46% 0.096 318.7)
XYZxyz(50.2281, 42.8384, 71.9388)
Luminance0.4284 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FDA #ACDA9F
analogous
#B09FDA #CD9FDA #DA9FCA
triadic
#CD9FDA #DACD9F #9FDACD
tetradic
#CD9FDA #DAB09F #ACDA9F #9FCADA
square
#CD9FDA #DAB09F #ACDA9F #9FCADA
split-complementary
#CD9FDA #CADA9F #9FDAB0
monochromatic
#9F47B8 #B673C9 #CD9FDA #E4CBEB #F3E9F6

Accessibility & contrast

On white

2.19
#CD9FDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#CD9FDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FDA
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FDA#FFFFFF#000000##000000
##CD9FDA1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#98ACDC
Deuteranopia (green-blind)
#A2B1D8
Tritanopia (blue-blind)
#CEA5B4
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9fda;
/* rgb */ color: rgb(205, 159, 218);
/* oklch */ color: oklch(76.5% 0.096 318.7);
Tailwind
colors: {
  custom: {
    50: '#ddbbe5',
    500: '#cd9fda',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fda;
$custom-light: #ddbbe5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fda",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 218
  },
  "hsl": {
    "h": 286.78,
    "s": 44.361,
    "l": 73.922
  },
  "oklch": {
    "l": 0.76455,
    "c": 0.0964,
    "h": 318.7
  },
  "luminance": 0.42837
}

Semantic roles & 50–950 ramp

primary
#CD9FDA
secondary
#E1EDDE
accent
#B82E4C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151215
muted
#838184

Preview Lab

Preview with #CD9FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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