#CD9ECA#CD9ECA

#CD9ECA is a light, moderate purple. Relative luminance 0.417; OKLCH L 75.7% C 0.081 H 328.4°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#CD9ECA
RGBrgb(205, 158, 202)
HSLhsl(304, 32%, 71%)
HSVhsv(304, 23%, 80%)
CMYKcmyk(0%, 22.9%, 1.5%, 19.6%)
CIE-LABlab(70.66, 24.80, -15.80)
CIE-LCHlch(70.66, 29.41, 327.50°)
OKLaboklab(75.68% 0.0691 -0.0424)
OKLCHoklch(75.68% 0.081 328.4)
XYZxyz(48.0633, 41.6985, 61.3824)
Luminance0.4170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9ECA #9ECDA1
analogous
#B89ECD #CD9ECA #CD9EB2
triadic
#CD9ECA #CACD9E #9ECACD
tetradic
#CD9ECA #CDB89E #9ECDA1 #9EB2CD
square
#CD9ECA #CDB89E #9ECDA1 #9EB2CD
split-complementary
#CD9ECA #B2CD9E #9ECDB8
monochromatic
#9F529A #B876B4 #CD9ECA #E2C6E0 #F5EBF4

Accessibility & contrast

On white

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

On black

9.34
#CD9ECA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9ECA
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9ECA#FFFFFF#000000##000000
##CD9ECA1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9CA9CC
Deuteranopia (green-blind)
#A7AFC8
Tritanopia (blue-blind)
#D1A1AD
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cd9eca;
/* rgb */ color: rgb(205, 158, 202);
/* oklch */ color: oklch(75.7% 0.081 328.4);
Tailwind
colors: {
  custom: {
    50: '#dcbbda',
    500: '#cd9eca',
    950: '#000000',
  },
}
SCSS
$custom: #cd9eca;
$custom-light: #dcbbda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9eca",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 202
  },
  "hsl": {
    "h": 303.83,
    "s": 31.973,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75675,
    "c": 0.08104,
    "h": 328.4
  },
  "luminance": 0.41697
}

Semantic roles & 50–950 ramp

primary
#CD9ECA
secondary
#DDEADE
accent
#AB423B
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151214
muted
#838183

Preview Lab

Preview with #CD9ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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