#CD9FDD#CD9FDD

#CD9FDD is a light, moderate purple. Relative luminance 0.430; OKLCH L 76.6% C 0.100 H 317.2°. Best body text is #000000 at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#CD9FDD
RGBrgb(205, 159, 221)
HSLhsl(285, 48%, 75%)
HSVhsv(285, 28%, 87%)
CMYKcmyk(7.2%, 28.1%, 0%, 13.3%)
CIE-LABlab(71.55, 27.92, -24.91)
CIE-LCHlch(71.55, 37.41, 318.26°)
OKLaboklab(76.57% 0.0733 -0.0678)
OKLCHoklch(76.57% 0.1 317.2)
XYZxyz(50.6242, 42.9969, 74.0250)
Luminance0.4300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FDD #AFDD9F
analogous
#AE9FDD #CD9FDD #DD9FCE
triadic
#CD9FDD #DDCD9F #9FDDCD
tetradic
#CD9FDD #DDAE9F #AFDD9F #9FCEDD
square
#CD9FDD #DDAE9F #AFDD9F #9FCEDD
split-complementary
#CD9FDD #CEDD9F #9FDDAE
monochromatic
#9E45BD #B572CD #CD9FDD #E5CCED #F3E8F7

Accessibility & contrast

On white

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

On black

9.60
#CD9FDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FDD
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FDD#FFFFFF#000000##000000
##CD9FDD1.002.199.609.60
#FFFFFF2.191.0021.0021.00
#0000009.6021.001.001.00
##0000009.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ACDF
Deuteranopia (green-blind)
#A1B1DB
Tritanopia (blue-blind)
#CDA6B5
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9fdd;
/* rgb */ color: rgb(205, 159, 221);
/* oklch */ color: oklch(76.6% 0.100 317.2);
Tailwind
colors: {
  custom: {
    50: '#ddbbe7',
    500: '#cd9fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fdd;
$custom-light: #ddbbe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fdd",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 221
  },
  "hsl": {
    "h": 284.516,
    "s": 47.692,
    "l": 74.51
  },
  "oklch": {
    "l": 0.76573,
    "c": 0.09983,
    "h": 317.2
  },
  "luminance": 0.42996
}

Semantic roles & 50–950 ramp

primary
#CD9FDD
secondary
#E1EEDD
accent
#BB2B50
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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