#CC78CA#CC78CA

#CC78CA is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.2% C 0.148 H 327.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CC78CA
RGBrgb(204, 120, 202)
HSLhsl(301, 45%, 64%)
HSVhsv(301, 41%, 80%)
CMYKcmyk(0%, 41.2%, 1%, 20%)
CIE-LABlab(62.11, 44.98, -28.86)
CIE-LCHlch(62.11, 53.44, 327.31°)
OKLaboklab(69.16% 0.1253 -0.0787)
OKLCHoklch(69.16% 0.148 327.9)
XYZxyz(42.2782, 30.5366, 59.5329)
Luminance0.3054 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78CA #78CC7A
analogous
#A478CC #CC78CA #CC78A0
triadic
#CC78CA #CACC78 #78CACC
tetradic
#CC78CA #CCA478 #78CC7A #78A0CC
square
#CC78CA #CCA478 #78CC7A #78A0CC
split-complementary
#CC78CA #A0CC78 #78CCA4
monochromatic
#923790 #BB4CB9 #CC78CA #DDA4DB #EED1ED

Accessibility & contrast

On white

2.95
#CC78CA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#CC78CA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78CA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78CA#FFFFFF#000000##000000
##CC78CA1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#728FCD
Deuteranopia (green-blind)
#899AC7
Tritanopia (blue-blind)
#D18098
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc78ca;
/* rgb */ color: rgb(204, 120, 202);
/* oklch */ color: oklch(69.2% 0.148 327.9);
Tailwind
colors: {
  custom: {
    50: '#dda1da',
    500: '#cc78ca',
    950: '#000000',
  },
}
SCSS
$custom: #cc78ca;
$custom-light: #dda1da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78ca",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 202
  },
  "hsl": {
    "h": 301.429,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69165,
    "c": 0.14797,
    "h": 327.9
  },
  "luminance": 0.30535
}

Semantic roles & 50–950 ramp

primary
#CC78CA
secondary
#C1DFC2
accent
#B8302D
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC78CA

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

Preview Lab → · Contrast checker → · Palette generator →

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