#CC89F6#CC89F6

#CC89F6 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.9% C 0.166 H 311.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CC89F6
RGBrgb(204, 137, 246)
HSLhsl(277, 86%, 75%)
HSVhsv(277, 44%, 96%)
CMYKcmyk(17.1%, 44.3%, 0%, 3.5%)
CIE-LABlab(67.56, 44.72, -44.81)
CIE-LCHlch(67.56, 63.31, 314.94°)
OKLaboklab(73.87% 0.1092 -0.1245)
OKLCHoklch(73.87% 0.166 311.2)
XYZxyz(50.4791, 37.3834, 91.7274)
Luminance0.3738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89F6 #B3F689
analogous
#9689F6 #CC89F6 #F689E9
triadic
#CC89F6 #F6CC89 #89F6CC
tetradic
#CC89F6 #F69689 #B3F689 #89E9F6
square
#CC89F6 #F69689 #B3F689 #89E9F6
split-complementary
#CC89F6 #E9F689 #89F696
monochromatic
#9B17ED #B350F2 #CC89F6 #E5C2FA #F3E3FD

Accessibility & contrast

On white

2.48
#CC89F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CC89F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89F6
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89F6#FFFFFF#000000##000000
##CC89F61.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FA
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#C79AB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc89f6;
/* rgb */ color: rgb(204, 137, 246);
/* oklch */ color: oklch(73.9% 0.166 311.2);
Tailwind
colors: {
  custom: {
    50: '#ddadf9',
    500: '#cc89f6',
    950: '#000000',
  },
}
SCSS
$custom: #cc89f6;
$custom-light: #ddadf9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89f6",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 246
  },
  "hsl": {
    "h": 276.881,
    "s": 85.827,
    "l": 75.098
  },
  "oklch": {
    "l": 0.73867,
    "c": 0.16565,
    "h": 311.2
  },
  "luminance": 0.37383
}

Semantic roles & 50–950 ramp

primary
#CC89F6
secondary
#E2F5D6
accent
#E20359
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC89F6

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

Preview Lab → · Contrast checker → · Palette generator →

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