#CD8AE2#CD8AE2

#CD8AE2 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.2% C 0.142 H 317.9°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CD8AE2
RGBrgb(205, 138, 226)
HSLhsl(286, 60%, 71%)
HSVhsv(286, 39%, 89%)
CMYKcmyk(9.3%, 38.9%, 0%, 11.4%)
CIE-LABlab(67.01, 40.34, -34.66)
CIE-LCHlch(67.01, 53.18, 319.33°)
OKLaboklab(73.19% 0.1053 -0.0953)
OKLCHoklch(73.19% 0.142 317.9)
XYZxyz(47.9909, 36.6484, 76.4826)
Luminance0.3665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AE2 #9FE28A
analogous
#A18AE2 #CD8AE2 #E28ACB
triadic
#CD8AE2 #E2CD8A #8AE2CD
tetradic
#CD8AE2 #E2A18A #9FE28A #8ACBE2
square
#CD8AE2 #E2A18A #9FE28A #8ACBE2
split-complementary
#CD8AE2 #CBE28A #8AE2A1
monochromatic
#9F30C2 #B859D6 #CD8AE2 #E2BBEE #F5E6F9

Accessibility & contrast

On white

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

On black

8.33
#CD8AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AE2
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AE2#FFFFFF#000000##000000
##CD8AE21.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8ae2;
/* rgb */ color: rgb(205, 138, 226);
/* oklch */ color: oklch(73.2% 0.142 317.9);
Tailwind
colors: {
  custom: {
    50: '#ddadeb',
    500: '#cd8ae2',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ae2;
$custom-light: #ddadeb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ae2",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 226
  },
  "hsl": {
    "h": 285.682,
    "s": 60.274,
    "l": 71.373
  },
  "oklch": {
    "l": 0.73191,
    "c": 0.14205,
    "h": 317.9
  },
  "luminance": 0.36647
}

Semantic roles & 50–950 ramp

primary
#CD8AE2
secondary
#DEEFD8
accent
#C81E46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CD8AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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