#CD9CDA#CD9CDA

#CD9CDA is a light, moderate purple. Relative luminance 0.418; OKLCH L 75.9% C 0.102 H 319.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#CD9CDA
RGBrgb(205, 156, 218)
HSLhsl(287, 46%, 73%)
HSVhsv(287, 28%, 85%)
CMYKcmyk(6%, 28.4%, 0%, 14.5%)
CIE-LABlab(70.75, 28.96, -24.49)
CIE-LCHlch(70.75, 37.93, 319.78°)
OKLaboklab(75.92% 0.0769 -0.0666)
OKLCHoklch(75.92% 0.102 319.1)
XYZxyz(49.7185, 41.8191, 71.7689)
Luminance0.4182 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CDA #A9DA9C
analogous
#AE9CDA #CD9CDA #DA9CC8
triadic
#CD9CDA #DACD9C #9CDACD
tetradic
#CD9CDA #DAAE9C #A9DA9C #9CC8DA
square
#CD9CDA #DAAE9C #A9DA9C #9CC8DA
split-complementary
#CD9CDA #C8DA9C #9CDAAE
monochromatic
#9F44B7 #B66FC9 #CD9CDA #E3C9EB #F4E9F7

Accessibility & contrast

On white

2.24
#CD9CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#CD9CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CDA
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CDA#FFFFFF#000000##000000
##CD9CDA1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#95AADC
Deuteranopia (green-blind)
#A0AFD8
Tritanopia (blue-blind)
#CEA3B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9cda;
/* rgb */ color: rgb(205, 156, 218);
/* oklch */ color: oklch(75.9% 0.102 319.1);
Tailwind
colors: {
  custom: {
    50: '#ddb9e5',
    500: '#cd9cda',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cda;
$custom-light: #ddb9e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cda",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 218
  },
  "hsl": {
    "h": 287.419,
    "s": 45.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75921,
    "c": 0.10173,
    "h": 319.1
  },
  "luminance": 0.41818
}

Semantic roles & 50–950 ramp

primary
#CD9CDA
secondary
#E1EEDD
accent
#B92D4A
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151115
muted
#838084

Preview Lab

Preview with #CD9CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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