#CD8DCD#CD8DCD

#CD8DCD is a light, moderate purple. Relative luminance 0.364; OKLCH L 72.8% C 0.115 H 326.7°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#CD8DCD
RGBrgb(205, 141, 205)
HSLhsl(300, 39%, 68%)
HSVhsv(300, 31%, 80%)
CMYKcmyk(0%, 31.2%, 0%, 19.6%)
CIE-LABlab(66.85, 34.64, -23.25)
CIE-LCHlch(66.85, 41.72, 326.13°)
OKLaboklab(72.8% 0.0958 -0.063)
OKLCHoklch(72.8% 0.115 326.7)
XYZxyz(45.7201, 36.4383, 62.3707)
Luminance0.3644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DCD #8DCD8D
analogous
#AD8DCD #CD8DCD #CD8DAD
triadic
#CD8DCD #CDCD8D #8DCDCD
tetradic
#CD8DCD #CDAD8D #8DCD8D #8DADCD
square
#CD8DCD #CDAD8D #8DCD8D #8DADCD
split-complementary
#CD8DCD #ADCD8D #8DCDAD
monochromatic
#9B449B #BA62BA #CD8DCD #E0B8E0 #F2E2F2

Accessibility & contrast

On white

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

On black

8.29
#CD8DCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DCD
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DCD#FFFFFF#000000##000000
##CD8DCD1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#899ECF
Deuteranopia (green-blind)
#98A6CB
Tritanopia (blue-blind)
#D193A4
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8dcd;
/* rgb */ color: rgb(205, 141, 205);
/* oklch */ color: oklch(72.8% 0.115 326.7);
Tailwind
colors: {
  custom: {
    50: '#ddafdc',
    500: '#cd8dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dcd;
$custom-light: #ddafdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dcd",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 39.024,
    "l": 67.843
  },
  "oklch": {
    "l": 0.72801,
    "c": 0.11468,
    "h": 326.7
  },
  "luminance": 0.36437
}

Semantic roles & 50–950 ramp

primary
#CD8DCD
secondary
#D1E5D1
accent
#B23333
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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