#CD8CE5#CD8CE5

#CD8CE5 is a light, vivid purple. Relative luminance 0.374; OKLCH L 73.7% C 0.142 H 316.6°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CD8CE5
RGBrgb(205, 140, 229)
HSLhsl(284, 63%, 72%)
HSVhsv(284, 39%, 90%)
CMYKcmyk(10.5%, 38.9%, 0%, 10.2%)
CIE-LABlab(67.57, 39.87, -35.45)
CIE-LCHlch(67.57, 53.35, 318.36°)
OKLaboklab(73.65% 0.1031 -0.0976)
OKLCHoklch(73.65% 0.142 316.6)
XYZxyz(48.6957, 37.3937, 78.7661)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CE5 #A4E58C
analogous
#A08CE5 #CD8CE5 #E58CD1
triadic
#CD8CE5 #E5CD8C #8CE5CD
tetradic
#CD8CE5 #E5A08C #A4E58C #8CD1E5
square
#CD8CE5 #E5A08C #A4E58C #8CD1E5
split-complementary
#CD8CE5 #D1E58C #8CE5A0
monochromatic
#9F2DC9 #B75ADA #CD8CE5 #E3BEF0 #F4E6F9

Accessibility & contrast

On white

2.48
#CD8CE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CD8CE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CE5
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CE5#FFFFFF#000000##000000
##CD8CE51.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EA0E8
Deuteranopia (green-blind)
#8EA7E2
Tritanopia (blue-blind)
#CC98AE
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8ce5;
/* rgb */ color: rgb(205, 140, 229);
/* oklch */ color: oklch(73.7% 0.142 316.6);
Tailwind
colors: {
  custom: {
    50: '#ddafed',
    500: '#cd8ce5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ce5;
$custom-light: #ddafed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ce5",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 229
  },
  "hsl": {
    "h": 283.82,
    "s": 63.121,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73653,
    "c": 0.14194,
    "h": 316.6
  },
  "luminance": 0.37392
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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