#CC9AED#CC9AED

#CC9AED is a light, vivid violet. Relative luminance 0.421; OKLCH L 76.3% C 0.127 H 311.2°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#CC9AED
RGBrgb(204, 154, 237)
HSLhsl(276, 70%, 77%)
HSVhsv(276, 35%, 93%)
CMYKcmyk(13.9%, 35%, 0%, 7.1%)
CIE-LABlab(70.91, 33.63, -34.66)
CIE-LCHlch(70.91, 48.29, 314.13°)
OKLaboklab(76.27% 0.0835 -0.0954)
OKLCHoklch(76.27% 0.127 311.2)
XYZxyz(51.7408, 42.0637, 85.4978)
Luminance0.4206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC9AED #BBED9A
analogous
#A39AED #CC9AED #ED9AE4
triadic
#CC9AED #EDCC9A #9AEDCC
tetradic
#CC9AED #EDA39A #BBED9A #9AE4ED
square
#CC9AED #EDA39A #BBED9A #9AE4ED
split-complementary
#CC9AED #E4ED9A #9AEDA3
monochromatic
#9832DA #B266E4 #CC9AED #E6CEF6 #F2E5FA

Accessibility & contrast

On white

2.23
#CC9AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#CC9AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC9AED
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC9AED#FFFFFF#000000##000000
##CC9AED1.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BABF0
Deuteranopia (green-blind)
#96AFEB
Tritanopia (blue-blind)
#C9A5B9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cc9aed;
/* rgb */ color: rgb(204, 154, 237);
/* oklch */ color: oklch(76.3% 0.127 311.2);
Tailwind
colors: {
  custom: {
    50: '#dcb8f3',
    500: '#cc9aed',
    950: '#000000',
  },
}
SCSS
$custom: #cc9aed;
$custom-light: #dcb8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc9aed",
  "rgb": {
    "r": 204,
    "g": 154,
    "b": 237
  },
  "hsl": {
    "h": 276.145,
    "s": 69.748,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76266,
    "c": 0.12683,
    "h": 311.2
  },
  "luminance": 0.42063
}

Semantic roles & 50–950 ramp

primary
#CC9AED
secondary
#E3F2D9
accent
#D2145F
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CC9AED

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

Preview Lab → · Contrast checker → · Palette generator →

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