#CD8DE7#CD8DE7

#CD8DE7 is a light, vivid purple. Relative luminance 0.378; OKLCH L 73.9% C 0.142 H 315.7°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CD8DE7
RGBrgb(205, 141, 231)
HSLhsl(283, 65%, 73%)
HSVhsv(283, 39%, 91%)
CMYKcmyk(11.3%, 39%, 0%, 9.4%)
CIE-LABlab(67.87, 39.73, -36.08)
CIE-LCHlch(67.87, 53.67, 317.76°)
OKLaboklab(73.91% 0.102 -0.0994)
OKLCHoklch(73.91% 0.142 315.7)
XYZxyz(49.1233, 37.7996, 80.2941)
Luminance0.3780 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DE7 #A7E78D
analogous
#A08DE7 #CD8DE7 #E78DD4
triadic
#CD8DE7 #E7CD8D #8DE7CD
tetradic
#CD8DE7 #E7A08D #A7E78D #8DD4E7
square
#CD8DE7 #E7A08D #A7E78D #8DD4E7
split-complementary
#CD8DE7 #D4E78D #8DE7A0
monochromatic
#9F2BCE #B75ADC #CD8DE7 #E3C0F2 #F4E6FA

Accessibility & contrast

On white

2.45
#CD8DE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.56
#CD8DE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DE7
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DE7#FFFFFF#000000##000000
##CD8DE71.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA1EA
Deuteranopia (green-blind)
#8EA7E4
Tritanopia (blue-blind)
#CC99AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8de7;
/* rgb */ color: rgb(205, 141, 231);
/* oklch */ color: oklch(73.9% 0.142 315.7);
Tailwind
colors: {
  custom: {
    50: '#ddafef',
    500: '#cd8de7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8de7;
$custom-light: #ddafef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8de7",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 231
  },
  "hsl": {
    "h": 282.667,
    "s": 65.217,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73907,
    "c": 0.14246,
    "h": 315.7
  },
  "luminance": 0.37798
}

Semantic roles & 50–950 ramp

primary
#CD8DE7
secondary
#E1F1DA
accent
#CD184D
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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