#CD8CDC#CD8CDC

#CD8CDC is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.3% C 0.132 H 319.9°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CD8CDC
RGBrgb(205, 140, 220)
HSLhsl(289, 53%, 71%)
HSVhsv(289, 36%, 86%)
CMYKcmyk(6.8%, 36.4%, 0%, 13.7%)
CIE-LABlab(67.20, 38.06, -31.04)
CIE-LCHlch(67.20, 49.12, 320.80°)
OKLaboklab(73.26% 0.1011 -0.085)
OKLCHoklch(73.26% 0.132 319.9)
XYZxyz(47.4715, 36.9040, 72.3188)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CDC #9BDC8C
analogous
#A58CDC #CD8CDC #DC8CC3
triadic
#CD8CDC #DCCD8C #8CDCCD
tetradic
#CD8CDC #DCA58C #9BDC8C #8CC3DC
square
#CD8CDC #DCA58C #9BDC8C #8CC3DC
split-complementary
#CD8CDC #C3DC8C #8CDCA5
monochromatic
#9E37B6 #B95DCE #CD8CDC #E1BBEA #F5E8F8

Accessibility & contrast

On white

2.51
#CD8CDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CD8CDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CDC
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CDC#FFFFFF#000000##000000
##CD8CDC1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#829FDF
Deuteranopia (green-blind)
#92A6D9
Tritanopia (blue-blind)
#CE95AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8cdc;
/* rgb */ color: rgb(205, 140, 220);
/* oklch */ color: oklch(73.3% 0.132 319.9);
Tailwind
colors: {
  custom: {
    50: '#ddaee7',
    500: '#cd8cdc',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cdc;
$custom-light: #ddaee7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cdc",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 220
  },
  "hsl": {
    "h": 288.75,
    "s": 53.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.13209,
    "h": 319.9
  },
  "luminance": 0.36903
}

Semantic roles & 50–950 ramp

primary
#CD8CDC
secondary
#DBEDD7
accent
#C12542
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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