#CD7AED#CD7AED

#CD7AED is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.2% C 0.180 H 315.9°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CD7AED
RGBrgb(205, 122, 237)
HSLhsl(283, 76%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(13.5%, 48.5%, 0%, 7.1%)
CIE-LABlab(64.17, 50.99, -45.19)
CIE-LCHlch(64.17, 68.13, 318.45°)
OKLaboklab(71.23% 0.1296 -0.1255)
OKLCHoklch(71.23% 0.18 315.9)
XYZxyz(47.4201, 33.0140, 83.9787)
Luminance0.3301 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7AED #9AED7A
analogous
#937AED #CD7AED #ED7AD4
triadic
#CD7AED #EDCD7A #7AEDCD
tetradic
#CD7AED #ED937A #9AED7A #7AD4ED
square
#CD7AED #ED937A #9AED7A #7AD4ED
split-complementary
#CD7AED #D4ED7A #7AED93
monochromatic
#9E1CD0 #B944E6 #CD7AED #E1B0F4 #F5E4FB

Accessibility & contrast

On white

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

On black

7.60
#CD7AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7AED
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7AED#FFFFFF#000000##000000
##CD7AED1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6396F1
Deuteranopia (green-blind)
#7B9EEA
Tritanopia (blue-blind)
#CB8BA9
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd7aed;
/* rgb */ color: rgb(205, 122, 237);
/* oklch */ color: oklch(71.2% 0.180 315.9);
Tailwind
colors: {
  custom: {
    50: '#dea3f3',
    500: '#cd7aed',
    950: '#000000',
  },
}
SCSS
$custom: #cd7aed;
$custom-light: #dea3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7aed",
  "rgb": {
    "r": 205,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 283.304,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71227,
    "c": 0.18046,
    "h": 315.9
  },
  "luminance": 0.33013
}

Semantic roles & 50–950 ramp

primary
#CD7AED
secondary
#DAF1D2
accent
#D80D46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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