#CC8ADE#CC8ADE

#CC8ADE is a light, vivid purple. Relative luminance 0.363; OKLCH L 72.9% C 0.137 H 318.9°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#CC8ADE
RGBrgb(204, 138, 222)
HSLhsl(287, 56%, 71%)
HSVhsv(287, 38%, 87%)
CMYKcmyk(8.1%, 37.8%, 0%, 12.9%)
CIE-LABlab(66.74, 39.23, -32.88)
CIE-LCHlch(66.74, 51.19, 320.04°)
OKLaboklab(72.91% 0.1033 -0.0902)
OKLCHoklch(72.91% 0.137 318.9)
XYZxyz(47.1734, 36.2896, 73.6127)
Luminance0.3629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC8ADE #9CDE8A
analogous
#A28ADE #CC8ADE #DE8AC6
triadic
#CC8ADE #DECC8A #8ADECC
tetradic
#CC8ADE #DEA28A #9CDE8A #8AC6DE
square
#CC8ADE #DEA28A #9CDE8A #8AC6DE
split-complementary
#CC8ADE #C6DE8A #8ADEA2
monochromatic
#9D34B9 #B75AD1 #CC8ADE #E1BAEB #F5E7F8

Accessibility & contrast

On white

2.54
#CC8ADE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#CC8ADE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC8ADE
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC8ADE#FFFFFF#000000##000000
##CC8ADE1.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9EE1
Deuteranopia (green-blind)
#8FA5DB
Tritanopia (blue-blind)
#CD94AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc8ade;
/* rgb */ color: rgb(204, 138, 222);
/* oklch */ color: oklch(72.9% 0.137 318.9);
Tailwind
colors: {
  custom: {
    50: '#ddade8',
    500: '#cc8ade',
    950: '#000000',
  },
}
SCSS
$custom: #cc8ade;
$custom-light: #ddade8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc8ade",
  "rgb": {
    "r": 204,
    "g": 138,
    "b": 222
  },
  "hsl": {
    "h": 287.143,
    "s": 56,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72908,
    "c": 0.13718,
    "h": 318.9
  },
  "luminance": 0.36288
}

Semantic roles & 50–950 ramp

primary
#CC8ADE
secondary
#DBEDD6
accent
#C42245
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC8ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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