#CD9CDF#CD9CDF

#CD9CDF is a light, moderate purple. Relative luminance 0.421; OKLCH L 76.1% C 0.107 H 316.8°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CD9CDF
RGBrgb(205, 156, 223)
HSLhsl(284, 51%, 74%)
HSVhsv(284, 30%, 87%)
CMYKcmyk(8.1%, 30%, 0%, 12.5%)
CIE-LABlab(70.93, 29.96, -26.96)
CIE-LCHlch(70.93, 40.30, 318.01°)
OKLaboklab(76.12% 0.0783 -0.0736)
OKLCHoklch(76.12% 0.107 316.8)
XYZxyz(50.3826, 42.0848, 75.2668)
Luminance0.4208 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CDF #AEDF9C
analogous
#AC9CDF #CD9CDF #DF9CD0
triadic
#CD9CDF #DFCD9C #9CDFCD
tetradic
#CD9CDF #DFAC9C #AEDF9C #9CD0DF
square
#CD9CDF #DFAC9C #AEDF9C #9CD0DF
split-complementary
#CD9CDF #D0DF9C #9CDFAC
monochromatic
#9E40C1 #B66ED0 #CD9CDF #E4CAEE #F3E8F8

Accessibility & contrast

On white

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

On black

9.42
#CD9CDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CDF
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CDF#FFFFFF#000000##000000
##CD9CDF1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AAE2
Deuteranopia (green-blind)
#9EAFDD
Tritanopia (blue-blind)
#CDA4B4
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9cdf;
/* rgb */ color: rgb(205, 156, 223);
/* oklch */ color: oklch(76.1% 0.107 316.8);
Tailwind
colors: {
  custom: {
    50: '#ddb9e9',
    500: '#cd9cdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cdf;
$custom-light: #ddb9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cdf",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 223
  },
  "hsl": {
    "h": 283.881,
    "s": 51.145,
    "l": 74.314
  },
  "oklch": {
    "l": 0.76121,
    "c": 0.10741,
    "h": 316.8
  },
  "luminance": 0.42084
}

Semantic roles & 50–950 ramp

primary
#CD9CDF
secondary
#E1EFDC
accent
#BF2750
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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