#CD8CD7#CD8CD7

#CD8CD7 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.0% C 0.127 H 322.0°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CD8CD7
RGBrgb(205, 140, 215)
HSLhsl(292, 48%, 70%)
HSVhsv(292, 35%, 84%)
CMYKcmyk(4.7%, 34.9%, 0%, 15.7%)
CIE-LABlab(67.01, 37.09, -28.57)
CIE-LCHlch(67.01, 46.82, 322.39°)
OKLaboklab(73.04% 0.0999 -0.078)
OKLCHoklch(73.04% 0.127 322)
XYZxyz(46.8192, 36.6431, 68.8833)
Luminance0.3664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD7 #96D78C
analogous
#A88CD7 #CD8CD7 #D78CBC
triadic
#CD8CD7 #D7CD8C #8CD7CD
tetradic
#CD8CD7 #D7A88C #96D78C #8CBCD7
square
#CD8CD7 #D7A88C #96D78C #8CBCD7
split-complementary
#CD8CD7 #BCD78C #8CD7A8
monochromatic
#9E3CAD #B95FC7 #CD8CD7 #E1B9E7 #F4E7F7

Accessibility & contrast

On white

2.52
#CD8CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CD8CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CD7
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CD7#FFFFFF#000000##000000
##CD8CD71.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#849EDA
Deuteranopia (green-blind)
#94A6D5
Tritanopia (blue-blind)
#CF94A8
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cd7;
/* rgb */ color: rgb(205, 140, 215);
/* oklch */ color: oklch(73.0% 0.127 322.0);
Tailwind
colors: {
  custom: {
    50: '#ddaee3',
    500: '#cd8cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd7;
$custom-light: #ddaee3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd7",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 292,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73043,
    "c": 0.12675,
    "h": 322
  },
  "luminance": 0.36642
}

Semantic roles & 50–950 ramp

primary
#CD8CD7
secondary
#D8EAD5
accent
#BC2A3D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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