#CC89DE#CC89DE

#CC89DE is a light, vivid purple. Relative luminance 0.360; OKLCH L 72.7% C 0.139 H 319.0°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CC89DE
RGBrgb(204, 137, 222)
HSLhsl(287, 56%, 70%)
HSVhsv(287, 38%, 87%)
CMYKcmyk(8.1%, 38.3%, 0%, 12.9%)
CIE-LABlab(66.52, 39.77, -33.22)
CIE-LCHlch(66.52, 51.82, 320.13°)
OKLaboklab(72.74% 0.1048 -0.0912)
OKLCHoklch(72.74% 0.139 319)
XYZxyz(47.0306, 36.0040, 73.5651)
Luminance0.3600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89DE #9BDE89
analogous
#A189DE #CC89DE #DE89C5
triadic
#CC89DE #DECC89 #89DECC
tetradic
#CC89DE #DEA189 #9BDE89 #89C5DE
square
#CC89DE #DEA189 #9BDE89 #89C5DE
split-complementary
#CC89DE #C5DE89 #89DEA1
monochromatic
#9D34B9 #B759D1 #CC89DE #E1B9EB #F5E7F8

Accessibility & contrast

On white

2.56
#CC89DE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#CC89DE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89DE
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89DE#FFFFFF#000000##000000
##CC89DE1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE1
Deuteranopia (green-blind)
#8EA4DB
Tritanopia (blue-blind)
#CD93A9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc89de;
/* rgb */ color: rgb(204, 137, 222);
/* oklch */ color: oklch(72.7% 0.139 319.0);
Tailwind
colors: {
  custom: {
    50: '#ddace8',
    500: '#cc89de',
    950: '#000000',
  },
}
SCSS
$custom: #cc89de;
$custom-light: #ddace8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89de",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 222
  },
  "hsl": {
    "h": 287.294,
    "s": 56.291,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72744,
    "c": 0.1389,
    "h": 319
  },
  "luminance": 0.36003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC89DE

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

Preview Lab → · Contrast checker → · Palette generator →

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