#CD9ED2#CD9ED2

#CD9ED2 is a light, moderate purple. Relative luminance 0.421; OKLCH L 76.0% C 0.089 H 323.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#CD9ED2
RGBrgb(205, 158, 210)
HSLhsl(294, 37%, 72%)
HSVhsv(294, 25%, 82%)
CMYKcmyk(2.4%, 24.8%, 0%, 17.6%)
CIE-LABlab(70.93, 26.31, -19.81)
CIE-LCHlch(70.93, 32.93, 323.03°)
OKLaboklab(75.97% 0.0716 -0.0535)
OKLCHoklch(75.97% 0.089 323.2)
XYZxyz(49.0352, 42.0872, 66.5008)
Luminance0.4209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9ED2 #A3D29E
analogous
#B39ED2 #CD9ED2 #D29EBD
triadic
#CD9ED2 #D2CD9E #9ED2CD
tetradic
#CD9ED2 #D2B39E #A3D29E #9EBDD2
square
#CD9ED2 #D2B39E #A3D29E #9EBDD2
split-complementary
#CD9ED2 #BDD29E #9ED2B3
monochromatic
#9F4EA8 #B774BF #CD9ED2 #E3C8E5 #F4EAF5

Accessibility & contrast

On white

2.23
#CD9ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#CD9ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9ED2
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9ED2#FFFFFF#000000##000000
##CD9ED21.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99AAD4
Deuteranopia (green-blind)
#A4B0D0
Tritanopia (blue-blind)
#CFA3B0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9ed2;
/* rgb */ color: rgb(205, 158, 210);
/* oklch */ color: oklch(76.0% 0.089 323.2);
Tailwind
colors: {
  custom: {
    50: '#dcbbe0',
    500: '#cd9ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ed2;
$custom-light: #dcbbe0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ed2",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 210
  },
  "hsl": {
    "h": 294.231,
    "s": 36.62,
    "l": 72.157
  },
  "oklch": {
    "l": 0.75969,
    "c": 0.08935,
    "h": 323.2
  },
  "luminance": 0.42086
}

Semantic roles & 50–950 ramp

primary
#CD9ED2
secondary
#E0ECDF
accent
#B03642
background
#FDFBFD
surface
#FBF6FB
border
#D4D0D4
text
#151215
muted
#838183

Preview Lab

Preview with #CD9ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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