#CC89FD#CC89FD

#CC89FD is a light, vivid violet. Relative luminance 0.378; OKLCH L 74.2% C 0.174 H 309.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#CC89FD
RGBrgb(204, 137, 253)
HSLhsl(275, 97%, 76%)
HSVhsv(275, 46%, 99%)
CMYKcmyk(19.4%, 45.8%, 0%, 0.8%)
CIE-LABlab(67.89, 46.23, -48.13)
CIE-LCHlch(67.89, 66.74, 313.84°)
OKLaboklab(74.22% 0.1102 -0.1342)
OKLCHoklch(74.22% 0.174 309.4)
XYZxyz(51.5738, 37.8213, 97.4928)
Luminance0.3782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC89FD #BAFD89
analogous
#9289FD #CC89FD #FD89F4
triadic
#CC89FD #FDCC89 #89FDCC
tetradic
#CC89FD #FD9289 #BAFD89 #89F4FD
square
#CC89FD #FD9289 #BAFD89 #89F4FD
split-complementary
#CC89FD #F4FD89 #89FD92
monochromatic
#9811FB #B24DFC #CC89FD #E6C5FE #F2E1FE

Accessibility & contrast

On white

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

On black

8.56
#CC89FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC89FD
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC89FD#FFFFFF#000000##000000
##CC89FD1.002.458.568.56
#FFFFFF2.451.0021.0021.00
#0000008.5621.001.001.00
##0000008.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#7FA7FA
Tritanopia (blue-blind)
#C69CB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cc89fd;
/* rgb */ color: rgb(204, 137, 253);
/* oklch */ color: oklch(74.2% 0.174 309.4);
Tailwind
colors: {
  custom: {
    50: '#ddadfe',
    500: '#cc89fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc89fd;
$custom-light: #ddadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc89fd",
  "rgb": {
    "r": 204,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 274.655,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74216,
    "c": 0.17364,
    "h": 309.4
  },
  "luminance": 0.37821
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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