#CD8CE9#CD8CE9

#CD8CE9 is a light, vivid purple. Relative luminance 0.376; OKLCH L 73.8% C 0.146 H 315.2°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#CD8CE9
RGBrgb(205, 140, 233)
HSLhsl(282, 68%, 73%)
HSVhsv(282, 40%, 91%)
CMYKcmyk(12%, 39.9%, 0%, 8.6%)
CIE-LABlab(67.74, 40.68, -37.39)
CIE-LCHlch(67.74, 55.26, 317.41°)
OKLaboklab(73.83% 0.1039 -0.1032)
OKLCHoklch(73.83% 0.146 315.2)
XYZxyz(49.2606, 37.6197, 81.7413)
Luminance0.3762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CE9 #A8E98C
analogous
#9E8CE9 #CD8CE9 #E98CD7
triadic
#CD8CE9 #E9CD8C #8CE9CD
tetradic
#CD8CE9 #E99E8C #A8E98C #8CD7E9
square
#CD8CE9 #E99E8C #A8E98C #8CD7E9
split-complementary
#CD8CE9 #D7E98C #8CE99E
monochromatic
#9F28D2 #B759DF #CD8CE9 #E3BFF3 #F4E5FA

Accessibility & contrast

On white

2.46
#CD8CE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#CD8CE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CE9
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CE9#FFFFFF#000000##000000
##CD8CE91.002.468.528.52
#FFFFFF2.461.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8ce9;
/* rgb */ color: rgb(205, 140, 233);
/* oklch */ color: oklch(73.8% 0.146 315.2);
Tailwind
colors: {
  custom: {
    50: '#ddaff0',
    500: '#cd8ce9',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ce9;
$custom-light: #ddaff0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ce9",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 233
  },
  "hsl": {
    "h": 281.935,
    "s": 67.883,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73834,
    "c": 0.1464,
    "h": 315.2
  },
  "luminance": 0.37618
}

Semantic roles & 50–950 ramp

primary
#CD8CE9
secondary
#E1F2D9
accent
#D0164E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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