#CD7AE9#CD7AE9

#CD7AE9 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.0% C 0.176 H 317.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#CD7AE9
RGBrgb(205, 122, 233)
HSLhsl(285, 72%, 70%)
HSVhsv(285, 48%, 91%)
CMYKcmyk(12%, 47.6%, 0%, 8.6%)
CIE-LABlab(63.98, 50.18, -43.27)
CIE-LCHlch(63.98, 66.26, 319.23°)
OKLaboklab(71.03% 0.1291 -0.12)
OKLCHoklch(71.03% 0.176 317.1)
XYZxyz(46.8422, 32.7829, 80.9352)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AE9 #96E97A
analogous
#967AE9 #CD7AE9 #E97ACE
triadic
#CD7AE9 #E9CD7A #7AE9CD
tetradic
#CD7AE9 #E9967A #96E97A #7ACEE9
square
#CD7AE9 #E9967A #96E97A #7ACEE9
split-complementary
#CD7AE9 #CEE97A #7AE996
monochromatic
#9E21C8 #B945E0 #CD7AE9 #E1AFF2 #F4E3FA

Accessibility & contrast

On white

2.78
#CD7AE9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#CD7AE9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AE9
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AE9#FFFFFF#000000##000000
##CD7AE91.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6596ED
Deuteranopia (green-blind)
#7D9EE6
Tritanopia (blue-blind)
#CC8AA7
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ae9;
/* rgb */ color: rgb(205, 122, 233);
/* oklch */ color: oklch(71.0% 0.176 317.1);
Tailwind
colors: {
  custom: {
    50: '#dea3f0',
    500: '#cd7ae9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ae9;
$custom-light: #dea3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ae9",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 233
  },
  "hsl": {
    "h": 284.865,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.71027,
    "c": 0.17625,
    "h": 317.1
  },
  "luminance": 0.32781
}

Semantic roles & 50–950 ramp

primary
#CD7AE9
secondary
#D8EFD0
accent
#D41243
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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