#CC89EA#CC89EA

#CC89EA is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.3% C 0.152 H 314.8°. Best body text is #000000 at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#CC89EA
RGBrgb(204, 137, 234)
HSLhsl(281, 70%, 73%)
HSVhsv(281, 41%, 92%)
CMYKcmyk(12.8%, 41.5%, 0%, 8.2%)
CIE-LABlab(67.03, 42.20, -39.06)
CIE-LCHlch(67.03, 57.51, 317.22°)
OKLaboklab(73.29% 0.1072 -0.1079)
OKLCHoklch(73.29% 0.152 314.8)
XYZxyz(48.6964, 36.6704, 82.3388)
Luminance0.3667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89EA #A7EA89
analogous
#9B89EA #CC89EA #EA89D8
triadic
#CC89EA #EACC89 #89EACC
tetradic
#CC89EA #EA9B89 #A7EA89 #89D8EA
square
#CC89EA #EA9B89 #A7EA89 #89D8EA
split-complementary
#CC89EA #D8EA89 #89EA9B
monochromatic
#9D26D3 #B655E1 #CC89EA #E2BDF3 #F4E5FA

Accessibility & contrast

On white

2.52
#CC89EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.33
#CC89EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89EA
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89EA#FFFFFF#000000##000000
##CC89EA1.002.528.338.33
#FFFFFF2.521.0021.0021.00
#0000008.3321.001.001.00
##0000008.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#789FEE
Deuteranopia (green-blind)
#89A5E7
Tritanopia (blue-blind)
#CA96AE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc89ea;
/* rgb */ color: rgb(204, 137, 234);
/* oklch */ color: oklch(73.3% 0.152 314.8);
Tailwind
colors: {
  custom: {
    50: '#ddadf1',
    500: '#cc89ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc89ea;
$custom-light: #ddadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89ea",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 234
  },
  "hsl": {
    "h": 281.443,
    "s": 69.784,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73291,
    "c": 0.15211,
    "h": 314.8
  },
  "luminance": 0.36669
}

Semantic roles & 50–950 ramp

primary
#CC89EA
secondary
#E1F2D9
accent
#D2144F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC89EA

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

Preview Lab → · Contrast checker → · Palette generator →

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