#CD8AE5#CD8AE5

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

Color values

HEX#CD8AE5
RGBrgb(205, 138, 229)
HSLhsl(284, 64%, 72%)
HSVhsv(284, 40%, 90%)
CMYKcmyk(10.5%, 39.7%, 0%, 10.2%)
CIE-LABlab(67.14, 40.94, -36.12)
CIE-LCHlch(67.14, 54.60, 318.58°)
OKLaboklab(73.33% 0.1059 -0.0995)
OKLCHoklch(73.33% 0.145 316.8)
XYZxyz(48.4061, 36.8145, 78.6695)
Luminance0.3681 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AE5 #A2E58A
analogous
#A08AE5 #CD8AE5 #E58ACF
triadic
#CD8AE5 #E5CD8A #8AE5CD
tetradic
#CD8AE5 #E5A08A #A2E58A #8ACFE5
square
#CD8AE5 #E5A08A #A2E58A #8ACFE5
split-complementary
#CD8AE5 #CFE58A #8AE5A0
monochromatic
#9F2CC8 #B858DA #CD8AE5 #E2BCF0 #F4E6F9

Accessibility & contrast

On white

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

On black

8.36
#CD8AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AE5
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AE5#FFFFFF#000000##000000
##CD8AE51.002.518.368.36
#FFFFFF2.511.0021.0021.00
#0000008.3621.001.001.00
##0000008.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C9FE8
Deuteranopia (green-blind)
#8DA6E2
Tritanopia (blue-blind)
#CC96AD
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cd8ae5;
/* rgb */ color: rgb(205, 138, 229);
/* oklch */ color: oklch(73.3% 0.145 316.8);
Tailwind
colors: {
  custom: {
    50: '#ddaded',
    500: '#cd8ae5',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ae5;
$custom-light: #ddaded;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ae5",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 229
  },
  "hsl": {
    "h": 284.176,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.73326,
    "c": 0.14535,
    "h": 316.8
  },
  "luminance": 0.36813
}

Semantic roles & 50–950 ramp

primary
#CD8AE5
secondary
#E0F1DA
accent
#CB1A49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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