#CD9DE2#CD9DE2

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

Color values

HEX#CD9DE2
RGBrgb(205, 157, 226)
HSLhsl(282, 54%, 75%)
HSVhsv(282, 31%, 89%)
CMYKcmyk(9.3%, 30.5%, 0%, 11.4%)
CIE-LABlab(71.27, 30.02, -28.08)
CIE-LCHlch(71.27, 41.10, 316.91°)
OKLaboklab(76.42% 0.0776 -0.0767)
OKLCHoklch(76.42% 0.109 315.3)
XYZxyz(50.9592, 42.5850, 77.4720)
Luminance0.4258 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DE2 #B2E29D
analogous
#AA9DE2 #CD9DE2 #E29DD5
triadic
#CD9DE2 #E2CD9D #9DE2CD
tetradic
#CD9DE2 #E2AA9D #B2E29D #9DD5E2
square
#CD9DE2 #E2AA9D #B2E29D #9DD5E2
split-complementary
#CD9DE2 #D5E29D #9DE2AA
monochromatic
#9D3FC6 #B56ED4 #CD9DE2 #E5CCF0 #F3E7F8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD9DE2#FFFFFF#000000##000000
##CD9DE21.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)
#93ACE5
Deuteranopia (green-blind)
#9EB0E0
Tritanopia (blue-blind)
#CCA5B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9de2;
/* rgb */ color: rgb(205, 157, 226);
/* oklch */ color: oklch(76.4% 0.109 315.3);
Tailwind
colors: {
  custom: {
    50: '#ddbaeb',
    500: '#cd9de2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9de2;
$custom-light: #ddbaeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9de2",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 226
  },
  "hsl": {
    "h": 281.739,
    "s": 54.331,
    "l": 75.098
  },
  "oklch": {
    "l": 0.7642,
    "c": 0.10912,
    "h": 315.3
  },
  "luminance": 0.42584
}

Semantic roles & 50–950 ramp

primary
#CD9DE2
secondary
#E2EFDC
accent
#C22454
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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