#CD7AE5#CD7AE5

#CD7AE5 is a light, vivid purple. Relative luminance 0.326; OKLCH L 70.8% C 0.172 H 318.3°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#CD7AE5
RGBrgb(205, 122, 229)
HSLhsl(287, 67%, 69%)
HSVhsv(287, 47%, 90%)
CMYKcmyk(10.5%, 46.7%, 0%, 10.2%)
CIE-LABlab(63.80, 49.38, -41.34)
CIE-LCHlch(63.80, 64.40, 320.07°)
OKLaboklab(70.83% 0.1286 -0.1144)
OKLCHoklch(70.83% 0.172 318.3)
XYZxyz(46.2773, 32.5569, 77.9599)
Luminance0.3256 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AE5 #92E57A
analogous
#987AE5 #CD7AE5 #E57AC8
triadic
#CD7AE5 #E5CD7A #7AE5CD
tetradic
#CD7AE5 #E5987A #92E57A #7AC8E5
square
#CD7AE5 #E5987A #92E57A #7AC8E5
split-complementary
#CD7AE5 #C8E57A #7AE598
monochromatic
#9D25BF #BA47DB #CD7AE5 #E0ADEF #F3E0F9

Accessibility & contrast

On white

2.80
#CD7AE5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#CD7AE5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AE5
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AE5#FFFFFF#000000##000000
##CD7AE51.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6895E9
Deuteranopia (green-blind)
#7F9DE2
Tritanopia (blue-blind)
#CD89A5
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cd7ae5;
/* rgb */ color: rgb(205, 122, 229);
/* oklch */ color: oklch(70.8% 0.172 318.3);
Tailwind
colors: {
  custom: {
    50: '#dea3ed',
    500: '#cd7ae5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ae5;
$custom-light: #dea3ed;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ae5",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 229
  },
  "hsl": {
    "h": 286.542,
    "s": 67.296,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70829,
    "c": 0.17208,
    "h": 318.3
  },
  "luminance": 0.32555
}

Semantic roles & 50–950 ramp

primary
#CD7AE5
secondary
#D5EDCE
accent
#CF1640
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CD7AE5

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

Preview Lab → · Contrast checker → · Palette generator →

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