#CD7AE2#CD7AE2

#CD7AE2 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.7% C 0.169 H 319.3°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CD7AE2
RGBrgb(205, 122, 226)
HSLhsl(288, 64%, 68%)
HSVhsv(288, 46%, 89%)
CMYKcmyk(9.3%, 46%, 0%, 11.4%)
CIE-LABlab(63.66, 48.79, -39.88)
CIE-LCHlch(63.66, 63.02, 320.74°)
OKLaboklab(70.68% 0.1281 -0.1102)
OKLCHoklch(70.68% 0.169 319.3)
XYZxyz(45.8621, 32.3908, 75.7730)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AE2 #8FE27A
analogous
#997AE2 #CD7AE2 #E27AC3
triadic
#CD7AE2 #E2CD7A #7AE2CD
tetradic
#CD7AE2 #E2997A #8FE27A #7AC3E2
square
#CD7AE2 #E2997A #8FE27A #7AC3E2
split-complementary
#CD7AE2 #C3E27A #7AE299
monochromatic
#9C28B9 #BA48D7 #CD7AE2 #E0ACED #F3DEF8

Accessibility & contrast

On white

2.81
#CD7AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CD7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AE2
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AE2#FFFFFF#000000##000000
##CD7AE21.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6995E6
Deuteranopia (green-blind)
#819DDF
Tritanopia (blue-blind)
#CE88A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7ae2;
/* rgb */ color: rgb(205, 122, 226);
/* oklch */ color: oklch(70.7% 0.169 319.3);
Tailwind
colors: {
  custom: {
    50: '#dea3eb',
    500: '#cd7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ae2;
$custom-light: #dea3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ae2",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 287.885,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.70684,
    "c": 0.16897,
    "h": 319.3
  },
  "luminance": 0.32389
}

Semantic roles & 50–950 ramp

primary
#CD7AE2
secondary
#D2ECCC
accent
#CC193E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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