#CD8AE6#CD8AE6

#CD8AE6 is a light, vivid purple. Relative luminance 0.369; OKLCH L 73.4% C 0.146 H 316.4°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#CD8AE6
RGBrgb(205, 138, 230)
HSLhsl(284, 65%, 72%)
HSVhsv(284, 40%, 90%)
CMYKcmyk(10.9%, 40%, 0%, 9.8%)
CIE-LABlab(67.18, 41.14, -36.61)
CIE-LCHlch(67.18, 55.07, 318.34°)
OKLaboklab(73.37% 0.1061 -0.1009)
OKLCHoklch(73.37% 0.146 316.4)
XYZxyz(48.5461, 36.8705, 79.4070)
Luminance0.3687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AE6 #A3E68A
analogous
#9F8AE6 #CD8AE6 #E68AD1
triadic
#CD8AE6 #E6CD8A #8AE6CD
tetradic
#CD8AE6 #E69F8A #A3E68A #8AD1E6
square
#CD8AE6 #E69F8A #A3E68A #8AD1E6
split-complementary
#CD8AE6 #D1E68A #8AE69F
monochromatic
#9F2BCA #B758DB #CD8AE6 #E3BCF1 #F4E6FA

Accessibility & contrast

On white

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

On black

8.37
#CD8AE6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AE6
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AE6#FFFFFF#000000##000000
##CD8AE61.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd8ae6;
/* rgb */ color: rgb(205, 138, 230);
/* oklch */ color: oklch(73.4% 0.146 316.4);
Tailwind
colors: {
  custom: {
    50: '#ddadee',
    500: '#cd8ae6',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ae6;
$custom-light: #ddadee;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ae6",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 230
  },
  "hsl": {
    "h": 283.696,
    "s": 64.789,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73372,
    "c": 0.14645,
    "h": 316.4
  },
  "luminance": 0.36869
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD8AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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