#CC89DB#CC89DB

#CC89DB is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.6% C 0.136 H 320.1°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#CC89DB
RGBrgb(204, 137, 219)
HSLhsl(289, 53%, 70%)
HSVhsv(289, 37%, 86%)
CMYKcmyk(6.8%, 37.4%, 0%, 14.1%)
CIE-LABlab(66.40, 39.18, -31.74)
CIE-LCHlch(66.40, 50.42, 320.99°)
OKLaboklab(72.61% 0.1041 -0.087)
OKLCHoklch(72.61% 0.136 320.1)
XYZxyz(46.6321, 35.8446, 71.4664)
Luminance0.3584 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89DB #98DB89
analogous
#A389DB #CC89DB #DB89C1
triadic
#CC89DB #DBCC89 #89DBCC
tetradic
#CC89DB #DBA389 #98DB89 #89C1DB
square
#CC89DB #DBA389 #98DB89 #89C1DB
split-complementary
#CC89DB #C1DB89 #89DBA3
monochromatic
#9C37B3 #B85ACD #CC89DB #E0B8E9 #F5E7F8

Accessibility & contrast

On white

2.57
#CC89DB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#CC89DB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89DB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89DB#FFFFFF#000000##000000
##CC89DB1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E9DDE
Deuteranopia (green-blind)
#8FA4D8
Tritanopia (blue-blind)
#CD93A8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cc89db;
/* rgb */ color: rgb(204, 137, 219);
/* oklch */ color: oklch(72.6% 0.136 320.1);
Tailwind
colors: {
  custom: {
    50: '#ddace6',
    500: '#cc89db',
    950: '#000000',
  },
}
SCSS
$custom: #cc89db;
$custom-light: #ddace6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89db",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 219
  },
  "hsl": {
    "h": 289.024,
    "s": 53.247,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72612,
    "c": 0.13567,
    "h": 320.1
  },
  "luminance": 0.35843
}

Semantic roles & 50–950 ramp

primary
#CC89DB
secondary
#D9EBD4
accent
#C12541
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#151016
muted
#837F84

Preview Lab

Preview with #CC89DB

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

Preview Lab → · Contrast checker → · Palette generator →

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