#CC89EE#CC89EE

#CC89EE is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.5% C 0.157 H 313.6°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CC89EE
RGBrgb(204, 137, 238)
HSLhsl(280, 75%, 74%)
HSVhsv(280, 42%, 93%)
CMYKcmyk(14.3%, 42.4%, 0%, 6.7%)
CIE-LABlab(67.20, 43.04, -40.99)
CIE-LCHlch(67.20, 59.43, 316.40°)
OKLaboklab(73.48% 0.1079 -0.1135)
OKLCHoklch(73.48% 0.157 313.6)
XYZxyz(49.2776, 36.9028, 85.3994)
Luminance0.3690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89EE #ABEE89
analogous
#9989EE #CC89EE #EE89DD
triadic
#CC89EE #EECC89 #89EECC
tetradic
#CC89EE #EE9989 #ABEE89 #89DDEE
square
#CC89EE #EE9989 #ABEE89 #89DDEE
split-complementary
#CC89EE #DDEE89 #89EE99
monochromatic
#9D20DD #B554E6 #CC89EE #E3BEF6 #F3E4FB

Accessibility & contrast

On white

2.51
#CC89EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CC89EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89EE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89EE#FFFFFF#000000##000000
##CC89EE1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F2
Deuteranopia (green-blind)
#87A5EB
Tritanopia (blue-blind)
#C997B0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cc89ee;
/* rgb */ color: rgb(204, 137, 238);
/* oklch */ color: oklch(73.5% 0.157 313.6);
Tailwind
colors: {
  custom: {
    50: '#ddadf4',
    500: '#cc89ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc89ee;
$custom-light: #ddadf4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89ee",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 238
  },
  "hsl": {
    "h": 279.802,
    "s": 74.815,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73479,
    "c": 0.1566,
    "h": 313.6
  },
  "luminance": 0.36902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC89EE

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

Preview Lab → · Contrast checker → · Palette generator →

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