#CD8DEB#CD8DEB

#CD8DEB is a light, vivid purple. Relative luminance 0.380; OKLCH L 74.1% C 0.147 H 314.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#CD8DEB
RGBrgb(205, 141, 235)
HSLhsl(281, 70%, 74%)
HSVhsv(281, 40%, 92%)
CMYKcmyk(12.8%, 40%, 0%, 7.8%)
CIE-LABlab(68.04, 40.56, -38.02)
CIE-LCHlch(68.04, 55.59, 316.85°)
OKLaboklab(74.09% 0.1029 -0.105)
OKLCHoklch(74.09% 0.147 314.4)
XYZxyz(49.6947, 38.0281, 83.3035)
Luminance0.3803 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DEB #ABEB8D
analogous
#9E8DEB #CD8DEB #EB8DDA
triadic
#CD8DEB #EBCD8D #8DEBCD
tetradic
#CD8DEB #EB9E8D #ABEB8D #8DDAEB
square
#CD8DEB #EB9E8D #ABEB8D #8DDAEB
split-complementary
#CD8DEB #DAEB8D #8DEB9E
monochromatic
#9F26D8 #B659E2 #CD8DEB #E4C1F4 #F4E5FA

Accessibility & contrast

On white

2.44
#CD8DEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.61
#CD8DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DEB
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DEB#FFFFFF#000000##000000
##CD8DEB1.002.448.618.61
#FFFFFF2.441.0021.0021.00
#0000008.6121.001.001.00
##0000008.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA2EE
Deuteranopia (green-blind)
#8CA8E8
Tritanopia (blue-blind)
#CB9AB1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cd8deb;
/* rgb */ color: rgb(205, 141, 235);
/* oklch */ color: oklch(74.1% 0.147 314.4);
Tailwind
colors: {
  custom: {
    50: '#ddaff1',
    500: '#cd8deb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8deb;
$custom-light: #ddaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8deb",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 235
  },
  "hsl": {
    "h": 280.851,
    "s": 70.149,
    "l": 73.725
  },
  "oklch": {
    "l": 0.7409,
    "c": 0.14696,
    "h": 314.4
  },
  "luminance": 0.38027
}

Semantic roles & 50–950 ramp

primary
#CD8DEB
secondary
#E1F2D9
accent
#D21350
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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