#CD8CEA#CD8CEA

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

Color values

HEX#CD8CEA
RGBrgb(205, 140, 234)
HSLhsl(281, 69%, 73%)
HSVhsv(281, 40%, 92%)
CMYKcmyk(12.4%, 40.2%, 0%, 8.2%)
CIE-LABlab(67.78, 40.89, -37.88)
CIE-LCHlch(67.78, 55.74, 317.19°)
OKLaboklab(73.88% 0.1041 -0.1045)
OKLCHoklch(73.88% 0.148 314.9)
XYZxyz(49.4039, 37.6770, 82.4958)
Luminance0.3768 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8CEA #A9EA8C
analogous
#9E8CEA #CD8CEA #EA8CD8
triadic
#CD8CEA #EACD8C #8CEACD
tetradic
#CD8CEA #EA9E8C #A9EA8C #8CD8EA
square
#CD8CEA #EA9E8C #A9EA8C #8CD8EA
split-complementary
#CD8CEA #D8EA8C #8CEA9E
monochromatic
#9F27D5 #B658E1 #CD8CEA #E3C0F3 #F4E5FA

Accessibility & contrast

On white

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

On black

8.54
#CD8CEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8CEA
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8CEA#FFFFFF#000000##000000
##CD8CEA1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8cea;
/* rgb */ color: rgb(205, 140, 234);
/* oklch */ color: oklch(73.9% 0.148 314.9);
Tailwind
colors: {
  custom: {
    50: '#ddaff1',
    500: '#cd8cea',
    950: '#000000',
  },
}
SCSS
$custom: #cd8cea;
$custom-light: #ddaff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8cea",
  "rgb": {
    "r": 205,
    "g": 140,
    "b": 234
  },
  "hsl": {
    "h": 281.489,
    "s": 69.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7388,
    "c": 0.14752,
    "h": 314.9
  },
  "luminance": 0.37676
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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