#CD8DE5#CD8DE5

#CD8DE5 is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.8% C 0.140 H 316.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CD8DE5
RGBrgb(205, 141, 229)
HSLhsl(284, 63%, 73%)
HSVhsv(284, 38%, 90%)
CMYKcmyk(10.5%, 38.4%, 0%, 10.2%)
CIE-LABlab(67.79, 39.33, -35.11)
CIE-LCHlch(67.79, 52.72, 318.24°)
OKLaboklab(73.82% 0.1016 -0.0966)
OKLCHoklch(73.82% 0.14 316.4)
XYZxyz(48.8425, 37.6873, 78.8150)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DE5 #A5E58D
analogous
#A18DE5 #CD8DE5 #E58DD1
triadic
#CD8DE5 #E5CD8D #8DE5CD
tetradic
#CD8DE5 #E5A18D #A5E58D #8DD1E5
square
#CD8DE5 #E5A18D #A5E58D #8DD1E5
split-complementary
#CD8DE5 #D1E58D #8DE5A1
monochromatic
#9F2ECA #B75BDA #CD8DE5 #E3BFF0 #F4E6F9

Accessibility & contrast

On white

2.46
#CD8DE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CD8DE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DE5
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DE5#FFFFFF#000000##000000
##CD8DE51.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA1E8
Deuteranopia (green-blind)
#8FA7E2
Tritanopia (blue-blind)
#CC98AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8de5;
/* rgb */ color: rgb(205, 141, 229);
/* oklch */ color: oklch(73.8% 0.140 316.4);
Tailwind
colors: {
  custom: {
    50: '#ddafed',
    500: '#cd8de5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8de5;
$custom-light: #ddafed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8de5",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 229
  },
  "hsl": {
    "h": 283.636,
    "s": 62.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73817,
    "c": 0.14023,
    "h": 316.4
  },
  "luminance": 0.37686
}

Semantic roles & 50–950 ramp

primary
#CD8DE5
secondary
#E0F1DA
accent
#CB1B4B
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8DE5

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

Preview Lab → · Contrast checker → · Palette generator →

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