#CD8CED#CD8CED

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

Color values

HEX#CD8CED
RGBrgb(205, 140, 237)
HSLhsl(280, 73%, 74%)
HSVhsv(280, 41%, 93%)
CMYKcmyk(13.5%, 40.9%, 0%, 7.1%)
CIE-LABlab(67.91, 41.51, -39.33)
CIE-LCHlch(67.91, 57.18, 316.55°)
OKLaboklab(74.02% 0.1047 -0.1087)
OKLCHoklch(74.02% 0.151 313.9)
XYZxyz(49.8385, 37.8508, 84.7849)
Luminance0.3785 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CED #ACED8C
analogous
#9D8CED #CD8CED #ED8CDD
triadic
#CD8CED #EDCD8C #8CEDCD
tetradic
#CD8CED #ED9D8C #ACED8C #8CDDED
square
#CD8CED #ED9D8C #ACED8C #8CDDED
split-complementary
#CD8CED #DDED8C #8CED9D
monochromatic
#9F22DC #B657E5 #CD8CED #E4C1F5 #F3E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD8CED#FFFFFF#000000##000000
##CD8CED1.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)
#7AA2F1
Deuteranopia (green-blind)
#8BA7EA
Tritanopia (blue-blind)
#CB9AB1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8ced;
/* rgb */ color: rgb(205, 140, 237);
/* oklch */ color: oklch(74.0% 0.151 313.9);
Tailwind
colors: {
  custom: {
    50: '#deaff3',
    500: '#cd8ced',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ced;
$custom-light: #deaff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ced",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 237
  },
  "hsl": {
    "h": 280.206,
    "s": 72.932,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74019,
    "c": 0.1509,
    "h": 313.9
  },
  "luminance": 0.3785
}

Semantic roles & 50–950 ramp

primary
#CD8CED
secondary
#E1F3D8
accent
#D51051
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8CED

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

Preview Lab → · Contrast checker → · Palette generator →

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