#CD9FD8#CD9FD8

#CD9FD8 is a light, moderate purple. Relative luminance 0.427; OKLCH L 76.4% C 0.094 H 319.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#CD9FD8
RGBrgb(205, 159, 216)
HSLhsl(288, 42%, 74%)
HSVhsv(288, 26%, 85%)
CMYKcmyk(5.1%, 26.4%, 0%, 15.3%)
CIE-LABlab(71.37, 26.93, -22.43)
CIE-LCHlch(71.37, 35.05, 320.20°)
OKLaboklab(76.38% 0.0718 -0.0609)
OKLCHoklch(76.38% 0.094 319.7)
XYZxyz(49.9680, 42.7344, 70.5687)
Luminance0.4273 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FD8 #AAD89F
analogous
#B09FD8 #CD9FD8 #D89FC6
triadic
#CD9FD8 #D8CD9F #9FD8CD
tetradic
#CD9FD8 #D8B09F #AAD89F #9FC6D8
square
#CD9FD8 #D8B09F #AAD89F #9FC6D8
split-complementary
#CD9FD8 #C6D89F #9FD8B0
monochromatic
#9F49B4 #B673C6 #CD9FD8 #E4CBEA #F4E9F6

Accessibility & contrast

On white

2.20
#CD9FD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.55
#CD9FD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FD8
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FD8#FFFFFF#000000##000000
##CD9FD81.002.209.559.55
#FFFFFF2.201.0021.0021.00
#0000009.5521.001.001.00
##0000009.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#99ACDA
Deuteranopia (green-blind)
#A3B0D6
Tritanopia (blue-blind)
#CEA5B3
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cd9fd8;
/* rgb */ color: rgb(205, 159, 216);
/* oklch */ color: oklch(76.4% 0.094 319.7);
Tailwind
colors: {
  custom: {
    50: '#ddbbe4',
    500: '#cd9fd8',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fd8;
$custom-light: #ddbbe4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fd8",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 216
  },
  "hsl": {
    "h": 288.421,
    "s": 42.222,
    "l": 73.529
  },
  "oklch": {
    "l": 0.76378,
    "c": 0.09415,
    "h": 319.7
  },
  "luminance": 0.42733
}

Semantic roles & 50–950 ramp

primary
#CD9FD8
secondary
#E1EDDE
accent
#B5304A
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CD9FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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