#CD9FDF#CD9FDF

#CD9FDF is a light, moderate purple. Relative luminance 0.431; OKLCH L 76.7% C 0.102 H 316.3°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#CD9FDF
RGBrgb(205, 159, 223)
HSLhsl(283, 50%, 75%)
HSVhsv(283, 29%, 87%)
CMYKcmyk(8.1%, 28.7%, 0%, 12.5%)
CIE-LABlab(71.63, 28.32, -25.89)
CIE-LCHlch(71.63, 38.37, 317.56°)
OKLaboklab(76.65% 0.0738 -0.0706)
OKLCHoklch(76.65% 0.102 316.3)
XYZxyz(50.8923, 43.1041, 75.4367)
Luminance0.4310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FDF #B1DF9F
analogous
#AD9FDF #CD9FDF #DF9FD1
triadic
#CD9FDF #DFCD9F #9FDFCD
tetradic
#CD9FDF #DFAD9F #B1DF9F #9FD1DF
square
#CD9FDF #DFAD9F #B1DF9F #9FD1DF
split-complementary
#CD9FDF #D1DF9F #9FDFAD
monochromatic
#9D43C0 #B571D0 #CD9FDF #E5CDEE #F3E8F7

Accessibility & contrast

On white

2.18
#CD9FDF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#CD9FDF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FDF
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FDF#FFFFFF#000000##000000
##CD9FDF1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#96ADE2
Deuteranopia (green-blind)
#A1B1DD
Tritanopia (blue-blind)
#CDA6B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9fdf;
/* rgb */ color: rgb(205, 159, 223);
/* oklch */ color: oklch(76.7% 0.102 316.3);
Tailwind
colors: {
  custom: {
    50: '#ddbbe9',
    500: '#cd9fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fdf;
$custom-light: #ddbbe9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fdf",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 223
  },
  "hsl": {
    "h": 283.125,
    "s": 50,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76653,
    "c": 0.10214,
    "h": 316.3
  },
  "luminance": 0.43103
}

Semantic roles & 50–950 ramp

primary
#CD9FDF
secondary
#E2EEDD
accent
#BD2852
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151216
muted
#838184

Preview Lab

Preview with #CD9FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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