#CC89FE#CC89FE

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

Color values

HEX#CC89FE
RGBrgb(204, 137, 254)
HSLhsl(274, 98%, 77%)
HSVhsv(274, 46%, 100%)
CMYKcmyk(19.7%, 46.1%, 0%, 0.4%)
CIE-LABlab(67.94, 46.45, -48.60)
CIE-LCHlch(67.94, 67.23, 313.70°)
OKLaboklab(74.27% 0.1104 -0.1355)
OKLCHoklch(74.27% 0.175 309.2)
XYZxyz(51.7335, 37.8852, 98.3340)
Luminance0.3788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89FE #BBFE89
analogous
#9289FE #CC89FE #FE89F5
triadic
#CC89FE #FECC89 #89FECC
tetradic
#CC89FE #FE9289 #BBFE89 #89F5FE
square
#CC89FE #FE9289 #BBFE89 #89F5FE
split-complementary
#CC89FE #F5FE89 #89FE92
monochromatic
#9810FD #B24CFD #CC89FE #E6C6FF #F2E1FF

Accessibility & contrast

On white

2.45
#CC89FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#CC89FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89FE
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89FE#FFFFFF#000000##000000
##CC89FE1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#C69CB8
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cc89fe;
/* rgb */ color: rgb(204, 137, 254);
/* oklch */ color: oklch(74.3% 0.175 309.2);
Tailwind
colors: {
  custom: {
    50: '#deadff',
    500: '#cc89fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc89fe;
$custom-light: #deadff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89fe",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 254
  },
  "hsl": {
    "h": 274.359,
    "s": 98.319,
    "l": 76.667
  },
  "oklch": {
    "l": 0.74266,
    "c": 0.17478,
    "h": 309.2
  },
  "luminance": 0.37884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC89FE

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

Preview Lab → · Contrast checker → · Palette generator →

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