#CC89F7#CC89F7

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

Color values

HEX#CC89F7
RGBrgb(204, 137, 247)
HSLhsl(277, 87%, 75%)
HSVhsv(277, 45%, 97%)
CMYKcmyk(17.4%, 44.5%, 0%, 3.1%)
CIE-LABlab(67.61, 44.94, -45.29)
CIE-LCHlch(67.61, 63.80, 314.78°)
OKLaboklab(73.92% 0.1094 -0.1259)
OKLCHoklch(73.92% 0.167 311)
XYZxyz(50.6330, 37.4450, 92.5379)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89F7 #B4F789
analogous
#9589F7 #CC89F7 #F789EB
triadic
#CC89F7 #F7CC89 #89F7CC
tetradic
#CC89F7 #F79589 #B4F789 #89EBF7
square
#CC89F7 #F79589 #B4F789 #89EBF7
split-complementary
#CC89F7 #EBF789 #89F795
monochromatic
#9A16EF #B350F3 #CC89F7 #E5C2FB #F3E2FD

Accessibility & contrast

On white

2.47
#CC89F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#CC89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89F7
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89F7#FFFFFF#000000##000000
##CC89F71.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A1FB
Deuteranopia (green-blind)
#82A6F4
Tritanopia (blue-blind)
#C79AB4
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc89f7;
/* rgb */ color: rgb(204, 137, 247);
/* oklch */ color: oklch(73.9% 0.167 311.0);
Tailwind
colors: {
  custom: {
    50: '#ddadfa',
    500: '#cc89f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc89f7;
$custom-light: #ddadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89f7",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 276.545,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.73916,
    "c": 0.16679,
    "h": 311
  },
  "luminance": 0.37444
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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