#CD7AEE#CD7AEE

#CD7AEE is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.3% C 0.182 H 315.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CD7AEE
RGBrgb(205, 122, 238)
HSLhsl(283, 77%, 71%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(13.9%, 48.7%, 0%, 6.7%)
CIE-LABlab(64.22, 51.20, -45.66)
CIE-LCHlch(64.22, 68.60, 318.27°)
OKLaboklab(71.28% 0.1298 -0.1269)
OKLCHoklch(71.28% 0.182 315.6)
XYZxyz(47.5666, 33.0726, 84.7503)
Luminance0.3307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AEE #9BEE7A
analogous
#937AEE #CD7AEE #EE7AD5
triadic
#CD7AEE #EECD7A #7AEECD
tetradic
#CD7AEE #EE937A #9BEE7A #7AD5EE
square
#CD7AEE #EE937A #9BEE7A #7AD5EE
split-complementary
#CD7AEE #D5EE7A #7AEE93
monochromatic
#9E1BD3 #B944E7 #CD7AEE #E1B0F5 #F5E4FC

Accessibility & contrast

On white

2.76
#CD7AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CD7AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AEE
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AEE#FFFFFF#000000##000000
##CD7AEE1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6297F2
Deuteranopia (green-blind)
#7B9EEB
Tritanopia (blue-blind)
#CB8BA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7aee;
/* rgb */ color: rgb(205, 122, 238);
/* oklch */ color: oklch(71.3% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#dea3f4',
    500: '#cd7aee',
    950: '#000000',
  },
}
SCSS
$custom: #cd7aee;
$custom-light: #dea3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7aee",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 282.931,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71278,
    "c": 0.18151,
    "h": 315.6
  },
  "luminance": 0.33071
}

Semantic roles & 50–950 ramp

primary
#CD7AEE
secondary
#DBF2D2
accent
#DA0C46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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