#CD6AEE#CD6AEE

#CD6AEE is a light, highly saturated purple. Relative luminance 0.295; OKLCH L 69.0% C 0.206 H 317.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#CD6AEE
RGBrgb(205, 106, 238)
HSLhsl(285, 80%, 67%)
HSVhsv(285, 55%, 93%)
CMYKcmyk(13.9%, 55.5%, 0%, 6.7%)
CIE-LABlab(61.19, 59.18, -50.46)
CIE-LCHlch(61.19, 77.77, 319.55°)
OKLaboklab(69.04% 0.1508 -0.1407)
OKLCHoklch(69.04% 0.206 317)
XYZxyz(45.7612, 29.4619, 84.1485)
Luminance0.2946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6AEE #8BEE6A
analogous
#8B6AEE #CD6AEE #EE6ACD
triadic
#CD6AEE #EECD6A #6AEECD
tetradic
#CD6AEE #EE8B6A #8BEE6A #6ACDEE
square
#CD6AEE #EE8B6A #8BEE6A #6ACDEE
split-complementary
#CD6AEE #CDEE6A #6AEE8B
monochromatic
#9B17C7 #BB33E8 #CD6AEE #DFA1F4 #F2D8FB

Accessibility & contrast

On white

3.05
#CD6AEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CD6AEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD6AEE
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6AEE#FFFFFF#000000##000000
##CD6AEE1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B8DF2
Deuteranopia (green-blind)
#6D97EB
Tritanopia (blue-blind)
#CC7FA2
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd6aee;
/* rgb */ color: rgb(205, 106, 238);
/* oklch */ color: oklch(69.0% 0.206 317.0);
Tailwind
colors: {
  custom: {
    50: '#df99f4',
    500: '#cd6aee',
    950: '#000000',
  },
}
SCSS
$custom: #cd6aee;
$custom-light: #df99f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6aee",
  "rgb": {
    "r": 205,
    "g": 106,
    "b": 238
  },
  "hsl": {
    "h": 285,
    "s": 79.518,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69042,
    "c": 0.20624,
    "h": 317
  },
  "luminance": 0.2946
}

Semantic roles & 50–950 ramp

primary
#CD6AEE
secondary
#D0EFC5
accent
#DC0A3E
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD6AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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