#CD8EDD#CD8EDD

#CD8EDD is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.6% C 0.130 H 319.3°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CD8EDD
RGBrgb(205, 142, 221)
HSLhsl(288, 54%, 71%)
HSVhsv(288, 36%, 87%)
CMYKcmyk(7.2%, 35.7%, 0%, 13.3%)
CIE-LABlab(67.69, 37.18, -30.85)
CIE-LCHlch(67.69, 48.32, 320.31°)
OKLaboklab(73.63% 0.0984 -0.0845)
OKLCHoklch(73.63% 0.13 319.3)
XYZxyz(47.8993, 37.5469, 73.1167)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8EDD #9EDD8E
analogous
#A58EDD #CD8EDD #DD8EC5
triadic
#CD8EDD #DDCD8E #8EDDCD
tetradic
#CD8EDD #DDA58E #9EDD8E #8EC5DD
square
#CD8EDD #DDA58E #9EDD8E #8EC5DD
split-complementary
#CD8EDD #C5DD8E #8EDDA5
monochromatic
#9F38B9 #B85FCF #CD8EDD #E2BDEB #F5E7F8

Accessibility & contrast

On white

2.47
#CD8EDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CD8EDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8EDD
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8EDD#FFFFFF#000000##000000
##CD8EDD1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A1E0
Deuteranopia (green-blind)
#93A7DB
Tritanopia (blue-blind)
#CE97AB
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8edd;
/* rgb */ color: rgb(205, 142, 221);
/* oklch */ color: oklch(73.6% 0.130 319.3);
Tailwind
colors: {
  custom: {
    50: '#ddb0e7',
    500: '#cd8edd',
    950: '#000000',
  },
}
SCSS
$custom: #cd8edd;
$custom-light: #ddb0e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8edd",
  "rgb": {
    "r": 205,
    "g": 142,
    "b": 221
  },
  "hsl": {
    "h": 287.848,
    "s": 53.741,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73632,
    "c": 0.12969,
    "h": 319.3
  },
  "luminance": 0.37546
}

Semantic roles & 50–950 ramp

primary
#CD8EDD
secondary
#DDEED9
accent
#C12444
background
#FDFAFE
surface
#FBF5FC
border
#D4CFD5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8EDD

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

Preview Lab → · Contrast checker → · Palette generator →

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