#CD9FDE#CD9FDE

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

Color values

HEX#CD9FDE
RGBrgb(205, 159, 222)
HSLhsl(284, 49%, 75%)
HSVhsv(284, 28%, 87%)
CMYKcmyk(7.7%, 28.4%, 0%, 12.9%)
CIE-LABlab(71.59, 28.12, -25.40)
CIE-LCHlch(71.59, 37.89, 317.91°)
OKLaboklab(76.61% 0.0736 -0.0692)
OKLCHoklch(76.61% 0.101 316.7)
XYZxyz(50.7578, 43.0503, 74.7287)
Luminance0.4305 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FDE #B0DE9F
analogous
#AE9FDE #CD9FDE #DE9FCF
triadic
#CD9FDE #DECD9F #9FDECD
tetradic
#CD9FDE #DEAE9F #B0DE9F #9FCFDE
square
#CD9FDE #DEAE9F #B0DE9F #9FCFDE
split-complementary
#CD9FDE #CFDE9F #9FDEAE
monochromatic
#9E44BF #B571CE #CD9FDE #E5CDEE #F3E8F7

Accessibility & contrast

On white

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

On black

9.61
#CD9FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FDE
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FDE#FFFFFF#000000##000000
##CD9FDE1.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd9fde;
/* rgb */ color: rgb(205, 159, 222);
/* oklch */ color: oklch(76.6% 0.101 316.7);
Tailwind
colors: {
  custom: {
    50: '#ddbbe8',
    500: '#cd9fde',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fde;
$custom-light: #ddbbe8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fde",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 222
  },
  "hsl": {
    "h": 283.81,
    "s": 48.837,
    "l": 74.706
  },
  "oklch": {
    "l": 0.76613,
    "c": 0.10098,
    "h": 316.7
  },
  "luminance": 0.43049
}

Semantic roles & 50–950 ramp

primary
#CD9FDE
secondary
#E1EEDD
accent
#BC2951
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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