#CD8CD9#CD8CD9

#CD8CD9 is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.1% C 0.129 H 321.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CD8CD9
RGBrgb(205, 140, 217)
HSLhsl(291, 50%, 70%)
HSVhsv(291, 35%, 85%)
CMYKcmyk(5.5%, 35.5%, 0%, 14.9%)
CIE-LABlab(67.09, 37.47, -29.56)
CIE-LCHlch(67.09, 47.73, 321.73°)
OKLaboklab(73.13% 0.1004 -0.0808)
OKLCHoklch(73.13% 0.129 321.2)
XYZxyz(47.0778, 36.7465, 70.2451)
Luminance0.3674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CD9 #98D98C
analogous
#A68CD9 #CD8CD9 #D98CBF
triadic
#CD8CD9 #D9CD8C #8CD9CD
tetradic
#CD8CD9 #D9A68C #98D98C #8CBFD9
square
#CD8CD9 #D9A68C #98D98C #8CBFD9
split-complementary
#CD8CD9 #BFD98C #8CD9A6
monochromatic
#9E3AB0 #B95ECA #CD8CD9 #E1BAE8 #F5E8F7

Accessibility & contrast

On white

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

On black

8.35
#CD8CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CD9
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CD9#FFFFFF#000000##000000
##CD8CD91.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#839FDC
Deuteranopia (green-blind)
#93A6D7
Tritanopia (blue-blind)
#CF95A9
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8cd9;
/* rgb */ color: rgb(205, 140, 217);
/* oklch */ color: oklch(73.1% 0.129 321.2);
Tailwind
colors: {
  custom: {
    50: '#ddaee5',
    500: '#cd8cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cd9;
$custom-light: #ddaee5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cd9",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 217
  },
  "hsl": {
    "h": 290.649,
    "s": 50.327,
    "l": 70
  },
  "oklch": {
    "l": 0.73127,
    "c": 0.12887,
    "h": 321.2
  },
  "luminance": 0.36745
}

Semantic roles & 50–950 ramp

primary
#CD8CD9
secondary
#D9EBD6
accent
#BE283F
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151015
muted
#837F84

Preview Lab

Preview with #CD8CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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