#CD9EDA#CD9EDA

#CD9EDA is a light, moderate purple. Relative luminance 0.425; OKLCH L 76.3% C 0.098 H 318.8°. Best body text is #000000 at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#CD9EDA
RGBrgb(205, 158, 218)
HSLhsl(287, 45%, 74%)
HSVhsv(287, 28%, 85%)
CMYKcmyk(6%, 27.5%, 0%, 14.5%)
CIE-LABlab(71.21, 27.87, -23.78)
CIE-LCHlch(71.21, 36.64, 319.52°)
OKLaboklab(76.28% 0.0739 -0.0646)
OKLCHoklch(76.28% 0.098 318.8)
XYZxyz(50.0568, 42.4959, 71.8817)
Luminance0.4249 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EDA #ABDA9E
analogous
#AF9EDA #CD9EDA #DA9EC9
triadic
#CD9EDA #DACD9E #9EDACD
tetradic
#CD9EDA #DAAF9E #ABDA9E #9EC9DA
square
#CD9EDA #DAAF9E #ABDA9E #9EC9DA
split-complementary
#CD9EDA #C9DA9E #9EDAAF
monochromatic
#9F46B8 #B672C9 #CD9EDA #E4CAEB #F4E9F7

Accessibility & contrast

On white

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

On black

9.50
#CD9EDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EDA
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EDA#FFFFFF#000000##000000
##CD9EDA1.002.219.509.50
#FFFFFF2.211.0021.0021.00
#0000009.5021.001.001.00
##0000009.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97ABDC
Deuteranopia (green-blind)
#A1B0D8
Tritanopia (blue-blind)
#CEA5B3
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9eda;
/* rgb */ color: rgb(205, 158, 218);
/* oklch */ color: oklch(76.3% 0.098 318.8);
Tailwind
colors: {
  custom: {
    50: '#ddbbe5',
    500: '#cd9eda',
    950: '#000000',
  },
}
SCSS
$custom: #cd9eda;
$custom-light: #ddbbe5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9eda",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 218
  },
  "hsl": {
    "h": 287,
    "s": 44.776,
    "l": 73.725
  },
  "oklch": {
    "l": 0.76277,
    "c": 0.09817,
    "h": 318.8
  },
  "luminance": 0.42495
}

Semantic roles & 50–950 ramp

primary
#CD9EDA
secondary
#E1EDDE
accent
#B82E4C
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151215
muted
#838184

Preview Lab

Preview with #CD9EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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