#CC78CF#CC78CF

#CC78CF is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.4% C 0.153 H 325.8°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CC78CF
RGBrgb(204, 120, 207)
HSLhsl(298, 48%, 64%)
HSVhsv(298, 42%, 81%)
CMYKcmyk(1.4%, 42%, 0%, 18.8%)
CIE-LABlab(62.32, 45.90, -31.36)
CIE-LCHlch(62.32, 55.59, 325.66°)
OKLaboklab(69.38% 0.1264 -0.0858)
OKLCHoklch(69.38% 0.153 325.8)
XYZxyz(42.8799, 30.7772, 62.7013)
Luminance0.3078 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78CF #7BCF78
analogous
#A178CF #CC78CF #CF78A7
triadic
#CC78CF #CFCC78 #78CFCC
tetradic
#CC78CF #CFA178 #7BCF78 #78A7CF
square
#CC78CF #CFA178 #7BCF78 #78A7CF
split-complementary
#CC78CF #A7CF78 #78CFA1
monochromatic
#943697 #BB4BBF #CC78CF #DDA5DF #EED2EF

Accessibility & contrast

On white

2.94
#CC78CF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CC78CF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78CF
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78CF#FFFFFF#000000##000000
##CC78CF1.002.947.167.16
#FFFFFF2.941.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7090D2
Deuteranopia (green-blind)
#879ACC
Tritanopia (blue-blind)
#D0819A
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc78cf;
/* rgb */ color: rgb(204, 120, 207);
/* oklch */ color: oklch(69.4% 0.153 325.8);
Tailwind
colors: {
  custom: {
    50: '#dda1de',
    500: '#cc78cf',
    950: '#000000',
  },
}
SCSS
$custom: #cc78cf;
$custom-light: #dda1de;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78cf",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 207
  },
  "hsl": {
    "h": 297.931,
    "s": 47.541,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69385,
    "c": 0.15274,
    "h": 325.8
  },
  "luminance": 0.30775
}

Semantic roles & 50–950 ramp

primary
#CC78CF
secondary
#C3E1C2
accent
#BB2B30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC78CF

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

Preview Lab → · Contrast checker → · Palette generator →

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