#CC7AED#CC7AED

#CC7AED is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.1% C 0.180 H 315.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CC7AED
RGBrgb(204, 122, 237)
HSLhsl(283, 76%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(13.9%, 48.5%, 0%, 7.1%)
CIE-LABlab(64.06, 50.72, -45.38)
CIE-LCHlch(64.06, 68.05, 318.18°)
OKLaboklab(71.12% 0.1285 -0.1261)
OKLCHoklch(71.12% 0.18 315.5)
XYZxyz(47.1451, 32.8722, 83.9658)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7AED #9BED7A
analogous
#937AED #CC7AED #ED7AD4
triadic
#CC7AED #EDCC7A #7AEDCC
tetradic
#CC7AED #ED937A #9BED7A #7AD4ED
square
#CC7AED #ED937A #9BED7A #7AD4ED
split-complementary
#CC7AED #D4ED7A #7AED93
monochromatic
#9D1CD0 #B744E6 #CC7AED #E1B0F4 #F5E4FB

Accessibility & contrast

On white

2.77
#CC7AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CC7AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7AED
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7AED#FFFFFF#000000##000000
##CC7AED1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6296F1
Deuteranopia (green-blind)
#7A9EEA
Tritanopia (blue-blind)
#CA8BA9
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc7aed;
/* rgb */ color: rgb(204, 122, 237);
/* oklch */ color: oklch(71.1% 0.180 315.5);
Tailwind
colors: {
  custom: {
    50: '#dea3f3',
    500: '#cc7aed',
    950: '#000000',
  },
}
SCSS
$custom: #cc7aed;
$custom-light: #dea3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7aed",
  "rgb": {
    "r": 204,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 282.783,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.71117,
    "c": 0.18001,
    "h": 315.5
  },
  "luminance": 0.32871
}

Semantic roles & 50–950 ramp

primary
#CC7AED
secondary
#DBF1D2
accent
#D80D47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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