#CD9BDF#CD9BDF

#CD9BDF is a light, moderate purple. Relative luminance 0.417; OKLCH L 75.9% C 0.109 H 316.9°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#CD9BDF
RGBrgb(205, 155, 223)
HSLhsl(284, 52%, 74%)
HSVhsv(284, 30%, 87%)
CMYKcmyk(8.1%, 30.5%, 0%, 12.5%)
CIE-LABlab(70.70, 30.51, -27.31)
CIE-LCHlch(70.70, 40.95, 318.16°)
OKLaboklab(75.94% 0.0797 -0.0746)
OKLCHoklch(75.94% 0.109 316.9)
XYZxyz(50.2155, 41.7506, 75.2111)
Luminance0.4175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9BDF #ADDF9B
analogous
#AB9BDF #CD9BDF #DF9BCF
triadic
#CD9BDF #DFCD9B #9BDFCD
tetradic
#CD9BDF #DFAB9B #ADDF9B #9BCFDF
square
#CD9BDF #DFAB9B #ADDF9B #9BCFDF
split-complementary
#CD9BDF #CFDF9B #9BDFAB
monochromatic
#9F3EC1 #B66DD0 #CD9BDF #E4C9EE #F3E8F8

Accessibility & contrast

On white

2.25
#CD9BDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#CD9BDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9BDF
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9BDF#FFFFFF#000000##000000
##CD9BDF1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AAE2
Deuteranopia (green-blind)
#9DAFDD
Tritanopia (blue-blind)
#CDA3B4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9bdf;
/* rgb */ color: rgb(205, 155, 223);
/* oklch */ color: oklch(75.9% 0.109 316.9);
Tailwind
colors: {
  custom: {
    50: '#ddb9e9',
    500: '#cd9bdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd9bdf;
$custom-light: #ddb9e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9bdf",
  "rgb": {
    "r": 205,
    "g": 155,
    "b": 223
  },
  "hsl": {
    "h": 284.118,
    "s": 51.515,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75945,
    "c": 0.10916,
    "h": 316.9
  },
  "luminance": 0.4175
}

Semantic roles & 50–950 ramp

primary
#CD9BDF
secondary
#E1EFDC
accent
#BF274F
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9BDF

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

Preview Lab → · Contrast checker → · Palette generator →

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