#CD8DEC#CD8DEC

#CD8DEC is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.1% C 0.148 H 314.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#CD8DEC
RGBrgb(205, 141, 236)
HSLhsl(280, 71%, 74%)
HSVhsv(280, 40%, 93%)
CMYKcmyk(13.1%, 40.3%, 0%, 7.5%)
CIE-LABlab(68.08, 40.76, -38.51)
CIE-LCHlch(68.08, 56.08, 316.63°)
OKLaboklab(74.14% 0.103 -0.1064)
OKLCHoklch(74.14% 0.148 314.1)
XYZxyz(49.8396, 38.0861, 84.0665)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DEC #ACEC8D
analogous
#9E8DEC #CD8DEC #EC8DDC
triadic
#CD8DEC #ECCD8D #8DECCD
tetradic
#CD8DEC #EC9E8D #ACEC8D #8DDCEC
square
#CD8DEC #EC9E8D #ACEC8D #8DDCEC
split-complementary
#CD8DEC #DCEC8D #8DEC9E
monochromatic
#9F24DA #B659E3 #CD8DEC #E4C1F5 #F3E5FB

Accessibility & contrast

On white

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

On black

8.62
#CD8DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DEC
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DEC#FFFFFF#000000##000000
##CD8DEC1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8dec;
/* rgb */ color: rgb(205, 141, 236);
/* oklch */ color: oklch(74.1% 0.148 314.1);
Tailwind
colors: {
  custom: {
    50: '#ddaff2',
    500: '#cd8dec',
    950: '#000000',
  },
}
SCSS
$custom: #cd8dec;
$custom-light: #ddaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8dec",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 280.421,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74136,
    "c": 0.14809,
    "h": 314.1
  },
  "luminance": 0.38085
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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