#CD8CEB#CD8CEB

#CD8CEB is a light, vivid purple. Relative luminance 0.377; OKLCH L 73.9% C 0.149 H 314.5°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#CD8CEB
RGBrgb(205, 140, 235)
HSLhsl(281, 70%, 74%)
HSVhsv(281, 40%, 92%)
CMYKcmyk(12.8%, 40.4%, 0%, 7.8%)
CIE-LABlab(67.82, 41.09, -38.36)
CIE-LCHlch(67.82, 56.22, 316.97°)
OKLaboklab(73.93% 0.1043 -0.1059)
OKLCHoklch(73.93% 0.149 314.5)
XYZxyz(49.5479, 37.7346, 83.2545)
Luminance0.3773 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CEB #AAEB8C
analogous
#9D8CEB #CD8CEB #EB8CD9
triadic
#CD8CEB #EBCD8C #8CEBCD
tetradic
#CD8CEB #EB9D8C #AAEB8C #8CD9EB
square
#CD8CEB #EB9D8C #AAEB8C #8CD9EB
split-complementary
#CD8CEB #D9EB8C #8CEB9D
monochromatic
#9F25D7 #B658E2 #CD8CEB #E4C0F4 #F4E5FA

Accessibility & contrast

On white

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

On black

8.55
#CD8CEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CEB
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CEB#FFFFFF#000000##000000
##CD8CEB1.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA1EE
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#CB99B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8ceb;
/* rgb */ color: rgb(205, 140, 235);
/* oklch */ color: oklch(73.9% 0.149 314.5);
Tailwind
colors: {
  custom: {
    50: '#deaff1',
    500: '#cd8ceb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ceb;
$custom-light: #deaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ceb",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 235
  },
  "hsl": {
    "h": 281.053,
    "s": 70.37,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73926,
    "c": 0.14865,
    "h": 314.5
  },
  "luminance": 0.37733
}

Semantic roles & 50–950 ramp

primary
#CD8CEB
secondary
#E1F2D9
accent
#D21350
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8CEB

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

Preview Lab → · Contrast checker → · Palette generator →

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