#CD8CE2#CD8CE2

#CD8CE2 is a light, vivid purple. Relative luminance 0.372; OKLCH L 73.5% C 0.139 H 317.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#CD8CE2
RGBrgb(205, 140, 226)
HSLhsl(285, 60%, 72%)
HSVhsv(285, 38%, 89%)
CMYKcmyk(9.3%, 38.1%, 0%, 11.4%)
CIE-LABlab(67.45, 39.26, -33.99)
CIE-LCHlch(67.45, 51.93, 319.12°)
OKLaboklab(73.52% 0.1024 -0.0934)
OKLCHoklch(73.52% 0.139 317.6)
XYZxyz(48.2805, 37.2276, 76.5791)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CE2 #A1E28C
analogous
#A28CE2 #CD8CE2 #E28CCC
triadic
#CD8CE2 #E2CD8C #8CE2CD
tetradic
#CD8CE2 #E2A28C #A1E28C #8CCCE2
square
#CD8CE2 #E2A28C #A1E28C #8CCCE2
split-complementary
#CD8CE2 #CCE28C #8CE2A2
monochromatic
#9F31C3 #B85BD6 #CD8CE2 #E2BDEE #F4E7F9

Accessibility & contrast

On white

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

On black

8.45
#CD8CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CE2
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CE2#FFFFFF#000000##000000
##CD8CE21.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA0E5
Deuteranopia (green-blind)
#8FA6DF
Tritanopia (blue-blind)
#CD97AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cd8ce2;
/* rgb */ color: rgb(205, 140, 226);
/* oklch */ color: oklch(73.5% 0.139 317.6);
Tailwind
colors: {
  custom: {
    50: '#ddaeeb',
    500: '#cd8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ce2;
$custom-light: #ddaeeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ce2",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 285.349,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73519,
    "c": 0.13863,
    "h": 317.6
  },
  "luminance": 0.37226
}

Semantic roles & 50–950 ramp

primary
#CD8CE2
secondary
#DFF0DA
accent
#C71E47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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