#CC89EB#CC89EB

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

Color values

HEX#CC89EB
RGBrgb(204, 137, 235)
HSLhsl(281, 71%, 73%)
HSVhsv(281, 42%, 92%)
CMYKcmyk(13.2%, 41.7%, 0%, 7.8%)
CIE-LABlab(67.07, 42.41, -39.54)
CIE-LCHlch(67.07, 57.99, 317.01°)
OKLaboklab(73.34% 0.1074 -0.1093)
OKLCHoklch(73.34% 0.153 314.5)
XYZxyz(48.8405, 36.7280, 83.0975)
Luminance0.3673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89EB #A8EB89
analogous
#9B89EB #CC89EB #EB89D9
triadic
#CC89EB #EBCC89 #89EBCC
tetradic
#CC89EB #EB9B89 #A8EB89 #89D9EB
square
#CC89EB #EB9B89 #A8EB89 #89D9EB
split-complementary
#CC89EB #D9EB89 #89EB9B
monochromatic
#9D24D5 #B555E2 #CC89EB #E3BDF4 #F4E5FB

Accessibility & contrast

On white

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

On black

8.35
#CC89EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89EB
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89EB#FFFFFF#000000##000000
##CC89EB1.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#CA97AF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cc89eb;
/* rgb */ color: rgb(204, 137, 235);
/* oklch */ color: oklch(73.3% 0.153 314.5);
Tailwind
colors: {
  custom: {
    50: '#ddadf2',
    500: '#cc89eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc89eb;
$custom-light: #ddadf2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89eb",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 235
  },
  "hsl": {
    "h": 281.02,
    "s": 71.014,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73337,
    "c": 0.15324,
    "h": 314.5
  },
  "luminance": 0.36727
}

Semantic roles & 50–950 ramp

primary
#CC89EB
secondary
#E1F2D9
accent
#D3124F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CC89EB

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

Preview Lab → · Contrast checker → · Palette generator →

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