#CD8CE7#CD8CE7

#CD8CE7 is a light, vivid purple. Relative luminance 0.375; OKLCH L 73.7% C 0.144 H 315.9°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#CD8CE7
RGBrgb(205, 140, 231)
HSLhsl(283, 65%, 73%)
HSVhsv(283, 39%, 91%)
CMYKcmyk(11.3%, 39.4%, 0%, 9.4%)
CIE-LABlab(67.65, 40.27, -36.42)
CIE-LCHlch(67.65, 54.30, 317.87°)
OKLaboklab(73.74% 0.1035 -0.1004)
OKLCHoklch(73.74% 0.144 315.9)
XYZxyz(48.9765, 37.5060, 80.2452)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CE7 #A6E78C
analogous
#9F8CE7 #CD8CE7 #E78CD4
triadic
#CD8CE7 #E7CD8C #8CE7CD
tetradic
#CD8CE7 #E79F8C #A6E78C #8CD4E7
square
#CD8CE7 #E79F8C #A6E78C #8CD4E7
split-complementary
#CD8CE7 #D4E78C #8CE79F
monochromatic
#9F2BCE #B759DC #CD8CE7 #E3BFF2 #F4E6FA

Accessibility & contrast

On white

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

On black

8.50
#CD8CE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CE7
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CE7#FFFFFF#000000##000000
##CD8CE71.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA1EA
Deuteranopia (green-blind)
#8DA7E4
Tritanopia (blue-blind)
#CC98AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8ce7;
/* rgb */ color: rgb(205, 140, 231);
/* oklch */ color: oklch(73.7% 0.144 315.9);
Tailwind
colors: {
  custom: {
    50: '#ddafef',
    500: '#cd8ce7',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ce7;
$custom-light: #ddafef;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ce7",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 231
  },
  "hsl": {
    "h": 282.857,
    "s": 65.468,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73743,
    "c": 0.14417,
    "h": 315.9
  },
  "luminance": 0.37505
}

Semantic roles & 50–950 ramp

primary
#CD8CE7
secondary
#E0F1DA
accent
#CD184C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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