#CD7AE1#CD7AE1

#CD7AE1 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.6% C 0.168 H 319.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CD7AE1
RGBrgb(205, 122, 225)
HSLhsl(288, 63%, 68%)
HSVhsv(288, 46%, 88%)
CMYKcmyk(8.9%, 45.8%, 0%, 11.8%)
CIE-LABlab(63.62, 48.59, -39.40)
CIE-LCHlch(63.62, 62.56, 320.97°)
OKLaboklab(70.64% 0.1279 -0.1088)
OKLCHoklch(70.64% 0.168 319.6)
XYZxyz(45.7253, 32.3361, 75.0524)
Luminance0.3233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AE1 #8EE17A
analogous
#9A7AE1 #CD7AE1 #E17AC1
triadic
#CD7AE1 #E1CD7A #7AE1CD
tetradic
#CD7AE1 #E19A7A #8EE17A #7AC1E1
square
#CD7AE1 #E19A7A #8EE17A #7AC1E1
split-complementary
#CD7AE1 #C1E17A #7AE19A
monochromatic
#9C29B7 #BA48D6 #CD7AE1 #E0ACEC #F3DEF8

Accessibility & contrast

On white

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

On black

7.47
#CD7AE1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AE1
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AE1#FFFFFF#000000##000000
##CD7AE11.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A94E5
Deuteranopia (green-blind)
#819DDE
Tritanopia (blue-blind)
#CE88A3
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cd7ae1;
/* rgb */ color: rgb(205, 122, 225);
/* oklch */ color: oklch(70.6% 0.168 319.6);
Tailwind
colors: {
  custom: {
    50: '#dea3eb',
    500: '#cd7ae1',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ae1;
$custom-light: #dea3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ae1",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 225
  },
  "hsl": {
    "h": 288.35,
    "s": 63.19,
    "l": 68.039
  },
  "oklch": {
    "l": 0.70636,
    "c": 0.16795,
    "h": 319.6
  },
  "luminance": 0.32334
}

Semantic roles & 50–950 ramp

primary
#CD7AE1
secondary
#D2EBCC
accent
#CB1B3D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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