#CD8BDE#CD8BDE

#CD8BDE is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.2% C 0.136 H 319.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#CD8BDE
RGBrgb(205, 139, 222)
HSLhsl(288, 56%, 71%)
HSVhsv(288, 37%, 87%)
CMYKcmyk(7.7%, 37.4%, 0%, 12.9%)
CIE-LABlab(67.07, 39.00, -32.36)
CIE-LCHlch(67.07, 50.68, 320.31°)
OKLaboklab(73.18% 0.103 -0.0888)
OKLCHoklch(73.18% 0.136 319.2)
XYZxyz(47.5925, 36.7197, 73.6736)
Luminance0.3672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8BDE #9CDE8B
analogous
#A38BDE #CD8BDE #DE8BC5
triadic
#CD8BDE #DECD8B #8BDECD
tetradic
#CD8BDE #DEA38B #9CDE8B #8BC5DE
square
#CD8BDE #DEA38B #9CDE8B #8BC5DE
split-complementary
#CD8BDE #C5DE8B #8BDEA3
monochromatic
#9F35BA #B85BD0 #CD8BDE #E2BBEC #F5E7F8

Accessibility & contrast

On white

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

On black

8.34
#CD8BDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8BDE
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8BDE#FFFFFF#000000##000000
##CD8BDE1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#809FE1
Deuteranopia (green-blind)
#90A6DB
Tritanopia (blue-blind)
#CE95AA
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8bde;
/* rgb */ color: rgb(205, 139, 222);
/* oklch */ color: oklch(73.2% 0.136 319.2);
Tailwind
colors: {
  custom: {
    50: '#ddaee8',
    500: '#cd8bde',
    950: '#000000',
  },
}
SCSS
$custom: #cd8bde;
$custom-light: #ddaee8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8bde",
  "rgb": {
    "r": 205,
    "g": 139,
    "b": 222
  },
  "hsl": {
    "h": 287.711,
    "s": 55.705,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73178,
    "c": 0.13599,
    "h": 319.2
  },
  "luminance": 0.36718
}

Semantic roles & 50–950 ramp

primary
#CD8BDE
secondary
#DCEED7
accent
#C32243
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8BDE

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

Preview Lab → · Contrast checker → · Palette generator →

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