#CC8AED#CC8AED

#CC8AED is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.6% C 0.154 H 313.7°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#CC8AED
RGBrgb(204, 138, 237)
HSLhsl(280, 73%, 74%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(13.9%, 41.8%, 0%, 7.1%)
CIE-LABlab(67.37, 42.29, -40.17)
CIE-LCHlch(67.37, 58.33, 316.47°)
OKLaboklab(73.59% 0.1063 -0.1111)
OKLCHoklch(73.59% 0.154 313.7)
XYZxyz(49.2739, 37.1298, 84.6754)
Luminance0.3713 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8AED #ABED8A
analogous
#9A8AED #CC8AED #ED8ADC
triadic
#CC8AED #EDCC8A #8AEDCC
tetradic
#CC8AED #ED9A8A #ABED8A #8ADCED
square
#CC8AED #ED9A8A #ABED8A #8ADCED
split-complementary
#CC8AED #DCED8A #8AED9A
monochromatic
#9D22DB #B555E5 #CC8AED #E3BFF5 #F3E4FB

Accessibility & contrast

On white

2.49
#CC8AED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#CC8AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8AED
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8AED#FFFFFF#000000##000000
##CC8AED1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A0F1
Deuteranopia (green-blind)
#88A6EA
Tritanopia (blue-blind)
#C998B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc8aed;
/* rgb */ color: rgb(204, 138, 237);
/* oklch */ color: oklch(73.6% 0.154 313.7);
Tailwind
colors: {
  custom: {
    50: '#ddadf3',
    500: '#cc8aed',
    950: '#000000',
  },
}
SCSS
$custom: #cc8aed;
$custom-light: #ddadf3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8aed",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 237
  },
  "hsl": {
    "h": 280,
    "s": 73.333,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73593,
    "c": 0.15381,
    "h": 313.7
  },
  "luminance": 0.37129
}

Semantic roles & 50–950 ramp

primary
#CC8AED
secondary
#E1F3D8
accent
#D51052
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC8AED

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

Preview Lab → · Contrast checker → · Palette generator →

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