#CC89FB#CC89FB

#CC89FB is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.1% C 0.171 H 309.9°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CC89FB
RGBrgb(204, 137, 251)
HSLhsl(275, 93%, 76%)
HSVhsv(275, 45%, 98%)
CMYKcmyk(18.7%, 45.4%, 0%, 1.6%)
CIE-LABlab(67.79, 45.80, -47.19)
CIE-LCHlch(67.79, 65.76, 314.14°)
OKLaboklab(74.11% 0.11 -0.1314)
OKLCHoklch(74.11% 0.171 309.9)
XYZxyz(51.2569, 37.6945, 95.8237)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89FB #B8FB89
analogous
#9389FB #CC89FB #FB89F1
triadic
#CC89FB #FBCC89 #89FBCC
tetradic
#CC89FB #FB9389 #B8FB89 #89F1FB
square
#CC89FB #FB9389 #B8FB89 #89F1FB
split-complementary
#CC89FB #F1FB89 #89FB93
monochromatic
#9913F7 #B24EF9 #CC89FB #E6C4FD #F2E1FE

Accessibility & contrast

On white

2.46
#CC89FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CC89FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89FB
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89FB#FFFFFF#000000##000000
##CC89FB1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#C69BB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc89fb;
/* rgb */ color: rgb(204, 137, 251);
/* oklch */ color: oklch(74.1% 0.171 309.9);
Tailwind
colors: {
  custom: {
    50: '#ddadfd',
    500: '#cc89fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc89fb;
$custom-light: #ddadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89fb",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 275.263,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74115,
    "c": 0.17135,
    "h": 309.9
  },
  "luminance": 0.37694
}

Semantic roles & 50–950 ramp

primary
#CC89FB
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CC89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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