#CD7AE8#CD7AE8

#CD7AE8 is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.0% C 0.175 H 317.4°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CD7AE8
RGBrgb(205, 122, 232)
HSLhsl(285, 71%, 69%)
HSVhsv(285, 47%, 91%)
CMYKcmyk(11.6%, 47.4%, 0%, 9%)
CIE-LABlab(63.94, 49.98, -42.78)
CIE-LCHlch(63.94, 65.79, 319.44°)
OKLaboklab(70.98% 0.129 -0.1186)
OKLCHoklch(70.98% 0.175 317.4)
XYZxyz(46.6998, 32.7259, 80.1850)
Luminance0.3272 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AE8 #95E87A
analogous
#967AE8 #CD7AE8 #E87ACC
triadic
#CD7AE8 #E8CD7A #7AE8CD
tetradic
#CD7AE8 #E8967A #95E87A #7ACCE8
square
#CD7AE8 #E8967A #95E87A #7ACCE8
split-complementary
#CD7AE8 #CCE87A #7AE896
monochromatic
#9D22C5 #B946DF #CD7AE8 #E1AEF1 #F4E2FA

Accessibility & contrast

On white

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

On black

7.54
#CD7AE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AE8
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AE8#FFFFFF#000000##000000
##CD7AE81.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6696EC
Deuteranopia (green-blind)
#7E9EE5
Tritanopia (blue-blind)
#CD8AA6
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ae8;
/* rgb */ color: rgb(205, 122, 232);
/* oklch */ color: oklch(71.0% 0.175 317.4);
Tailwind
colors: {
  custom: {
    50: '#dea3f0',
    500: '#cd7ae8',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ae8;
$custom-light: #dea3f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ae8",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 232
  },
  "hsl": {
    "h": 285.273,
    "s": 70.513,
    "l": 69.412
  },
  "oklch": {
    "l": 0.70977,
    "c": 0.17521,
    "h": 317.4
  },
  "luminance": 0.32724
}

Semantic roles & 50–950 ramp

primary
#CD7AE8
secondary
#D7EFCF
accent
#D31342
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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