#CD9FD5#CD9FD5

#CD9FD5 is a light, moderate purple. Relative luminance 0.426; OKLCH L 76.3% C 0.091 H 321.4°. Best body text is #000000 at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#CD9FD5
RGBrgb(205, 159, 213)
HSLhsl(291, 39%, 73%)
HSVhsv(291, 25%, 84%)
CMYKcmyk(3.8%, 25.4%, 0%, 16.5%)
CIE-LABlab(71.27, 26.34, -20.95)
CIE-LCHlch(71.27, 33.65, 321.51°)
OKLaboklab(76.26% 0.071 -0.0567)
OKLCHoklch(76.26% 0.091 321.4)
XYZxyz(49.5837, 42.5806, 68.5448)
Luminance0.4258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9FD5 #A7D59F
analogous
#B29FD5 #CD9FD5 #D59FC2
triadic
#CD9FD5 #D5CD9F #9FD5CD
tetradic
#CD9FD5 #D5B29F #A7D59F #9FC2D5
square
#CD9FD5 #D5B29F #A7D59F #9FC2D5
split-complementary
#CD9FD5 #C2D59F #9FD5B2
monochromatic
#9F4CAE #B774C2 #CD9FD5 #E3CAE8 #F4EAF6

Accessibility & contrast

On white

2.21
#CD9FD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.52
#CD9FD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9FD5
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9FD5#FFFFFF#000000##000000
##CD9FD51.002.219.529.52
#FFFFFF2.211.0021.0021.00
#0000009.5221.001.001.00
##0000009.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AABD7
Deuteranopia (green-blind)
#A4B0D3
Tritanopia (blue-blind)
#CFA4B2
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9fd5;
/* rgb */ color: rgb(205, 159, 213);
/* oklch */ color: oklch(76.3% 0.091 321.4);
Tailwind
colors: {
  custom: {
    50: '#dcbbe2',
    500: '#cd9fd5',
    950: '#000000',
  },
}
SCSS
$custom: #cd9fd5;
$custom-light: #dcbbe2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9fd5",
  "rgb": {
    "r": 205,
    "g": 159,
    "b": 213
  },
  "hsl": {
    "h": 291.111,
    "s": 39.13,
    "l": 72.941
  },
  "oklch": {
    "l": 0.76263,
    "c": 0.09082,
    "h": 321.4
  },
  "luminance": 0.4258
}

Semantic roles & 50–950 ramp

primary
#CD9FD5
secondary
#E1ECDF
accent
#B23346
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CD9FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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