#CD8AE4#CD8AE4

#CD8AE4 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.3% C 0.144 H 317.1°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#CD8AE4
RGBrgb(205, 138, 228)
HSLhsl(285, 63%, 72%)
HSVhsv(285, 39%, 89%)
CMYKcmyk(10.1%, 39.5%, 0%, 10.6%)
CIE-LABlab(67.10, 40.74, -35.64)
CIE-LCHlch(67.10, 54.13, 318.82°)
OKLaboklab(73.28% 0.1057 -0.0981)
OKLCHoklch(73.28% 0.144 317.1)
XYZxyz(48.2669, 36.7588, 77.9363)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AE4 #A1E48A
analogous
#A08AE4 #CD8AE4 #E48ACE
triadic
#CD8AE4 #E4CD8A #8AE4CD
tetradic
#CD8AE4 #E4A08A #A1E48A #8ACEE4
square
#CD8AE4 #E4A08A #A1E48A #8ACEE4
split-complementary
#CD8AE4 #CEE48A #8AE4A0
monochromatic
#9F2EC6 #B858D9 #CD8AE4 #E2BCEF #F4E6F9

Accessibility & contrast

On white

2.51
#CD8AE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#CD8AE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AE4
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AE4#FFFFFF#000000##000000
##CD8AE41.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE7
Deuteranopia (green-blind)
#8DA5E1
Tritanopia (blue-blind)
#CD96AC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ae4;
/* rgb */ color: rgb(205, 138, 228);
/* oklch */ color: oklch(73.3% 0.144 317.1);
Tailwind
colors: {
  custom: {
    50: '#ddaded',
    500: '#cd8ae4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ae4;
$custom-light: #ddaded;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ae4",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 228
  },
  "hsl": {
    "h": 284.667,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73281,
    "c": 0.14425,
    "h": 317.1
  },
  "luminance": 0.36758
}

Semantic roles & 50–950 ramp

primary
#CD8AE4
secondary
#DFF0D9
accent
#CA1B48
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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