#CC89DF#CC89DF

#CC89DF is a light, vivid purple. Relative luminance 0.361; OKLCH L 72.8% C 0.140 H 318.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#CC89DF
RGBrgb(204, 137, 223)
HSLhsl(287, 57%, 71%)
HSVhsv(287, 39%, 87%)
CMYKcmyk(8.5%, 38.6%, 0%, 12.5%)
CIE-LABlab(66.56, 39.97, -33.71)
CIE-LCHlch(66.56, 52.28, 319.86°)
OKLaboklab(72.79% 0.105 -0.0926)
OKLCHoklch(72.79% 0.14 318.6)
XYZxyz(47.1650, 36.0578, 74.2730)
Luminance0.3606 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89DF #9CDF89
analogous
#A189DF #CC89DF #DF89C7
triadic
#CC89DF #DFCC89 #89DFCC
tetradic
#CC89DF #DFA189 #9CDF89 #89C7DF
square
#CC89DF #DFA189 #9CDF89 #89C7DF
split-complementary
#CC89DF #C7DF89 #89DFA1
monochromatic
#9D33BB #B759D2 #CC89DF #E1B9EC #F5E7F8

Accessibility & contrast

On white

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

On black

8.21
#CC89DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89DF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89DF#FFFFFF#000000##000000
##CC89DF1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9DE2
Deuteranopia (green-blind)
#8EA4DC
Tritanopia (blue-blind)
#CC94AA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cc89df;
/* rgb */ color: rgb(204, 137, 223);
/* oklch */ color: oklch(72.8% 0.140 318.6);
Tailwind
colors: {
  custom: {
    50: '#ddace9',
    500: '#cc89df',
    950: '#000000',
  },
}
SCSS
$custom: #cc89df;
$custom-light: #ddace9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89df",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 223
  },
  "hsl": {
    "h": 286.744,
    "s": 57.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72788,
    "c": 0.13998,
    "h": 318.6
  },
  "luminance": 0.36056
}

Semantic roles & 50–950 ramp

primary
#CC89DF
secondary
#DBEED6
accent
#C52145
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC89DF

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

Preview Lab → · Contrast checker → · Palette generator →

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