#CC89FF#CC89FF

#CC89FF is a light, vivid violet. Relative luminance 0.379; OKLCH L 74.3% C 0.176 H 308.9°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#CC89FF
RGBrgb(204, 137, 255)
HSLhsl(274, 100%, 77%)
HSVhsv(274, 46%, 100%)
CMYKcmyk(20%, 46.3%, 0%, 0%)
CIE-LABlab(67.98, 46.66, -49.07)
CIE-LCHlch(67.98, 67.72, 313.56°)
OKLaboklab(74.32% 0.1105 -0.1369)
OKLCHoklch(74.32% 0.176 308.9)
XYZxyz(51.8941, 37.9494, 99.1795)
Luminance0.3795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89FF #BCFF89
analogous
#9189FF #CC89FF #FF89F7
triadic
#CC89FF #FFCC89 #89FFCC
tetradic
#CC89FF #FF9189 #BCFF89 #89F7FF
square
#CC89FF #FF9189 #BCFF89 #89F7FF
split-complementary
#CC89FF #F7FF89 #89FF91
monochromatic
#970FFF #B24CFF #CC89FF #E6C6FF #F2E0FF

Accessibility & contrast

On white

2.44
#CC89FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#CC89FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89FF
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89FF#FFFFFF#000000##000000
##CC89FF1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6CA3FF
Deuteranopia (green-blind)
#7EA7FC
Tritanopia (blue-blind)
#C59CB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc89ff;
/* rgb */ color: rgb(204, 137, 255);
/* oklch */ color: oklch(74.3% 0.176 308.9);
Tailwind
colors: {
  custom: {
    50: '#deadff',
    500: '#cc89ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc89ff;
$custom-light: #deadff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89ff",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 255
  },
  "hsl": {
    "h": 274.068,
    "s": 100,
    "l": 76.863
  },
  "oklch": {
    "l": 0.74317,
    "c": 0.17592,
    "h": 308.9
  },
  "luminance": 0.37949
}

Semantic roles & 50–950 ramp

primary
#CC89FF
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CC89FF

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

Preview Lab → · Contrast checker → · Palette generator →

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