#CD8CE0#CD8CE0

#CD8CE0 is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.4% C 0.136 H 318.4°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#CD8CE0
RGBrgb(205, 140, 224)
HSLhsl(286, 58%, 71%)
HSVhsv(286, 38%, 88%)
CMYKcmyk(8.5%, 37.5%, 0%, 12.2%)
CIE-LABlab(67.37, 38.86, -33.01)
CIE-LCHlch(67.37, 50.98, 319.65°)
OKLaboklab(73.43% 0.102 -0.0906)
OKLCHoklch(73.43% 0.136 318.4)
XYZxyz(48.0076, 37.1185, 75.1422)
Luminance0.3712 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CE0 #9FE08C
analogous
#A38CE0 #CD8CE0 #E08CC9
triadic
#CD8CE0 #E0CD8C #8CE0CD
tetradic
#CD8CE0 #E0A38C #9FE08C #8CC9E0
square
#CD8CE0 #E0A38C #9FE08C #8CC9E0
split-complementary
#CD8CE0 #C9E08C #8CE0A3
monochromatic
#9F33BE #B85CD3 #CD8CE0 #E2BCED #F5E7F9

Accessibility & contrast

On white

2.49
#CD8CE0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#CD8CE0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CE0
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CE0#FFFFFF#000000##000000
##CD8CE01.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A0E3
Deuteranopia (green-blind)
#90A6DD
Tritanopia (blue-blind)
#CD96AC
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ce0;
/* rgb */ color: rgb(205, 140, 224);
/* oklch */ color: oklch(73.4% 0.136 318.4);
Tailwind
colors: {
  custom: {
    50: '#ddaeea',
    500: '#cd8ce0',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ce0;
$custom-light: #ddaeea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ce0",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 224
  },
  "hsl": {
    "h": 286.429,
    "s": 57.534,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7343,
    "c": 0.13643,
    "h": 318.4
  },
  "luminance": 0.37117
}

Semantic roles & 50–950 ramp

primary
#CD8CE0
secondary
#DEEFD9
accent
#C52046
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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