#CD9CE2#CD9CE2

#CD9CE2 is a light, moderate purple. Relative luminance 0.422; OKLCH L 76.2% C 0.111 H 315.5°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CD9CE2
RGBrgb(205, 156, 226)
HSLhsl(282, 55%, 75%)
HSVhsv(282, 31%, 89%)
CMYKcmyk(9.3%, 31%, 0%, 11.4%)
CIE-LABlab(71.04, 30.56, -28.43)
CIE-LCHlch(71.04, 41.75, 317.07°)
OKLaboklab(76.24% 0.0791 -0.0777)
OKLCHoklch(76.24% 0.111 315.5)
XYZxyz(50.7907, 42.2480, 77.4158)
Luminance0.4225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CE2 #B1E29C
analogous
#AA9CE2 #CD9CE2 #E29CD4
triadic
#CD9CE2 #E2CD9C #9CE2CD
tetradic
#CD9CE2 #E2AA9C #B1E29C #9CD4E2
square
#CD9CE2 #E2AA9C #B1E29C #9CD4E2
split-complementary
#CD9CE2 #D4E29C #9CE2AA
monochromatic
#9D3DC6 #B56DD4 #CD9CE2 #E5CBF0 #F3E7F8

Accessibility & contrast

On white

2.22
#CD9CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#CD9CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CE2
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CE2#FFFFFF#000000##000000
##CD9CE21.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#92ABE5
Deuteranopia (green-blind)
#9DAFE0
Tritanopia (blue-blind)
#CCA5B5
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cd9ce2;
/* rgb */ color: rgb(205, 156, 226);
/* oklch */ color: oklch(76.2% 0.111 315.5);
Tailwind
colors: {
  custom: {
    50: '#ddb9eb',
    500: '#cd9ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cd9ce2;
$custom-light: #ddb9eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9ce2",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 226
  },
  "hsl": {
    "h": 282,
    "s": 54.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76244,
    "c": 0.11086,
    "h": 315.5
  },
  "luminance": 0.42247
}

Semantic roles & 50–950 ramp

primary
#CD9CE2
secondary
#E2EFDC
accent
#C22353
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CD9CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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