#CD8ECD#CD8ECD

#CD8ECD is a light, moderate purple. Relative luminance 0.367; OKLCH L 73.0% C 0.113 H 326.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CD8ECD
RGBrgb(205, 142, 205)
HSLhsl(300, 39%, 68%)
HSVhsv(300, 31%, 80%)
CMYKcmyk(0%, 30.7%, 0%, 19.6%)
CIE-LABlab(67.08, 34.10, -22.91)
CIE-LCHlch(67.08, 41.08, 326.11°)
OKLaboklab(72.97% 0.0943 -0.062)
OKLCHoklch(72.97% 0.113 326.7)
XYZxyz(45.8683, 36.7345, 62.4201)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8ECD #8ECD8E
analogous
#AD8ECD #CD8ECD #CD8EAD
triadic
#CD8ECD #CDCD8E #8ECDCD
tetradic
#CD8ECD #CDAD8E #8ECD8E #8EADCD
square
#CD8ECD #CDAD8E #8ECD8E #8EADCD
split-complementary
#CD8ECD #ADCD8E #8ECDAD
monochromatic
#9C459C #BA64BA #CD8ECD #E0B8E0 #F3E3F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8ECD#FFFFFF#000000##000000
##CD8ECD1.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)
#8A9ECF
Deuteranopia (green-blind)
#99A6CB
Tritanopia (blue-blind)
#D194A5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ecd;
/* rgb */ color: rgb(205, 142, 205);
/* oklch */ color: oklch(73.0% 0.113 326.7);
Tailwind
colors: {
  custom: {
    50: '#ddb0dc',
    500: '#cd8ecd',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ecd;
$custom-light: #ddb0dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ecd",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 205
  },
  "hsl": {
    "h": 300,
    "s": 38.65,
    "l": 68.039
  },
  "oklch": {
    "l": 0.72971,
    "c": 0.11289,
    "h": 326.7
  },
  "luminance": 0.36733
}

Semantic roles & 50–950 ramp

primary
#CD8ECD
secondary
#D2E5D2
accent
#B23434
background
#FDFAFD
surface
#FBF5FB
border
#D4CFD4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD8ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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