#CD8AE1#CD8AE1

#CD8AE1 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.1% C 0.141 H 318.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#CD8AE1
RGBrgb(205, 138, 225)
HSLhsl(286, 59%, 71%)
HSVhsv(286, 39%, 88%)
CMYKcmyk(8.9%, 38.7%, 0%, 11.8%)
CIE-LABlab(66.97, 40.13, -34.17)
CIE-LCHlch(66.97, 52.71, 319.59°)
OKLaboklab(73.15% 0.1051 -0.0939)
OKLCHoklch(73.15% 0.141 318.2)
XYZxyz(47.8541, 36.5937, 75.7620)
Luminance0.3659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AE1 #9EE18A
analogous
#A18AE1 #CD8AE1 #E18AC9
triadic
#CD8AE1 #E1CD8A #8AE1CD
tetradic
#CD8AE1 #E1A18A #9EE18A #8AC9E1
square
#CD8AE1 #E1A18A #9EE18A #8AC9E1
split-complementary
#CD8AE1 #C9E18A #8AE1A1
monochromatic
#9F31BF #B859D5 #CD8AE1 #E2BBED #F5E7F9

Accessibility & contrast

On white

2.52
#CD8AE1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#CD8AE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AE1
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AE1#FFFFFF#000000##000000
##CD8AE11.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9FE4
Deuteranopia (green-blind)
#8EA5DE
Tritanopia (blue-blind)
#CD95AB
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ae1;
/* rgb */ color: rgb(205, 138, 225);
/* oklch */ color: oklch(73.1% 0.141 318.2);
Tailwind
colors: {
  custom: {
    50: '#ddadea',
    500: '#cd8ae1',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ae1;
$custom-light: #ddadea;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ae1",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 225
  },
  "hsl": {
    "h": 286.207,
    "s": 59.184,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73146,
    "c": 0.14096,
    "h": 318.2
  },
  "luminance": 0.36592
}

Semantic roles & 50–950 ramp

primary
#CD8AE1
secondary
#DDEFD8
accent
#C71F45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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