#CD8DDC#CD8DDC

#CD8DDC is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.4% C 0.130 H 319.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#CD8DDC
RGBrgb(205, 141, 220)
HSLhsl(289, 53%, 71%)
HSVhsv(289, 36%, 86%)
CMYKcmyk(6.8%, 35.9%, 0%, 13.7%)
CIE-LABlab(67.42, 37.52, -30.70)
CIE-LCHlch(67.42, 48.48, 320.71°)
OKLaboklab(73.42% 0.0996 -0.0841)
OKLCHoklch(73.42% 0.13 319.8)
XYZxyz(47.6183, 37.1976, 72.3677)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DDC #9CDC8D
analogous
#A58DDC #CD8DDC #DC8DC3
triadic
#CD8DDC #DCCD8D #8DDCCD
tetradic
#CD8DDC #DCA58D #9CDC8D #8DC3DC
square
#CD8DDC #DCA58D #9CDC8D #8DC3DC
split-complementary
#CD8DDC #C3DC8D #8DDCA5
monochromatic
#9F38B7 #B85ECE #CD8DDC #E2BCEA #F5E8F8

Accessibility & contrast

On white

2.49
#CD8DDC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#CD8DDC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DDC
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DDC#FFFFFF#000000##000000
##CD8DDC1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A0DF
Deuteranopia (green-blind)
#93A7DA
Tritanopia (blue-blind)
#CE96AA
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ddc;
/* rgb */ color: rgb(205, 141, 220);
/* oklch */ color: oklch(73.4% 0.130 319.8);
Tailwind
colors: {
  custom: {
    50: '#ddafe7',
    500: '#cd8ddc',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ddc;
$custom-light: #ddafe7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ddc",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 220
  },
  "hsl": {
    "h": 288.608,
    "s": 53.02,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73422,
    "c": 0.13035,
    "h": 319.8
  },
  "luminance": 0.37196
}

Semantic roles & 50–950 ramp

primary
#CD8DDC
secondary
#DCEDD8
accent
#C02543
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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