#CD8DE8#CD8DE8

#CD8DE8 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.0% C 0.144 H 315.4°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#CD8DE8
RGBrgb(205, 141, 232)
HSLhsl(282, 66%, 73%)
HSVhsv(282, 39%, 91%)
CMYKcmyk(11.6%, 39.2%, 0%, 9%)
CIE-LABlab(67.91, 39.94, -36.57)
CIE-LCHlch(67.91, 54.15, 317.52°)
OKLaboklab(73.95% 0.1022 -0.1008)
OKLCHoklch(73.95% 0.144 315.4)
XYZxyz(49.2650, 37.8562, 81.0401)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8DE8 #A8E88D
analogous
#9F8DE8 #CD8DE8 #E88DD5
triadic
#CD8DE8 #E8CD8D #8DE8CD
tetradic
#CD8DE8 #E89F8D #A8E88D #8DD5E8
square
#CD8DE8 #E89F8D #A8E88D #8DD5E8
split-complementary
#CD8DE8 #D5E88D #8DE89F
monochromatic
#9F2AD1 #B75ADE #CD8DE8 #E3C0F2 #F4E6FA

Accessibility & contrast

On white

2.45
#CD8DE8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#CD8DE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8DE8
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8DE8#FFFFFF#000000##000000
##CD8DE81.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA2EB
Deuteranopia (green-blind)
#8EA7E5
Tritanopia (blue-blind)
#CC99B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8de8;
/* rgb */ color: rgb(205, 141, 232);
/* oklch */ color: oklch(74.0% 0.144 315.4);
Tailwind
colors: {
  custom: {
    50: '#ddafef',
    500: '#cd8de8',
    950: '#000000',
  },
}
SCSS
$custom: #cd8de8;
$custom-light: #ddafef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8de8",
  "rgb": {
    "r": 205,
    "g": 141,
    "b": 232
  },
  "hsl": {
    "h": 282.198,
    "s": 66.423,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73953,
    "c": 0.14359,
    "h": 315.4
  },
  "luminance": 0.37855
}

Semantic roles & 50–950 ramp

primary
#CD8DE8
secondary
#E1F1DA
accent
#CE174E
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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