#CD8CD5#CD8CD5

#CD8CD5 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.0% C 0.125 H 322.9°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#CD8CD5
RGBrgb(205, 140, 213)
HSLhsl(293, 46%, 69%)
HSVhsv(293, 34%, 84%)
CMYKcmyk(3.8%, 34.3%, 0%, 16.5%)
CIE-LABlab(66.93, 36.70, -27.58)
CIE-LCHlch(66.93, 45.91, 323.07°)
OKLaboklab(72.96% 0.0994 -0.0752)
OKLCHoklch(72.96% 0.125 322.9)
XYZxyz(46.5638, 36.5409, 67.5382)
Luminance0.3654 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD5 #94D58C
analogous
#A98CD5 #CD8CD5 #D58CB9
triadic
#CD8CD5 #D5CD8C #8CD5CD
tetradic
#CD8CD5 #D5A98C #94D58C #8CB9D5
square
#CD8CD5 #D5A98C #94D58C #8CB9D5
split-complementary
#CD8CD5 #B9D58C #8CD5A9
monochromatic
#9D3EA9 #BA5FC5 #CD8CD5 #E0B9E5 #F4E6F6

Accessibility & contrast

On white

2.53
#CD8CD5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#CD8CD5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CD5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CD5#FFFFFF#000000##000000
##CD8CD51.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#859ED8
Deuteranopia (green-blind)
#94A6D3
Tritanopia (blue-blind)
#D094A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cd5;
/* rgb */ color: rgb(205, 140, 213);
/* oklch */ color: oklch(73.0% 0.125 322.9);
Tailwind
colors: {
  custom: {
    50: '#ddaee2',
    500: '#cd8cd5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd5;
$custom-light: #ddaee2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd5",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 213
  },
  "hsl": {
    "h": 293.425,
    "s": 46.497,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72959,
    "c": 0.12464,
    "h": 322.9
  },
  "luminance": 0.36539
}

Semantic roles & 50–950 ramp

primary
#CD8CD5
secondary
#D6E9D4
accent
#BA2C3B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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