#CC78C8#CC78C8

#CC78C8 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.1% C 0.146 H 328.7°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC78C8
RGBrgb(204, 120, 200)
HSLhsl(303, 45%, 64%)
HSVhsv(303, 41%, 80%)
CMYKcmyk(0%, 41.2%, 2%, 20%)
CIE-LABlab(62.03, 44.61, -27.86)
CIE-LCHlch(62.03, 52.60, 328.02°)
OKLaboklab(69.08% 0.1249 -0.0758)
OKLCHoklch(69.08% 0.146 328.7)
XYZxyz(42.0430, 30.4425, 58.2938)
Luminance0.3044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78C8 #78CC7C
analogous
#A678CC #CC78C8 #CC789E
triadic
#CC78C8 #C8CC78 #78C8CC
tetradic
#CC78C8 #CCA678 #78CC7C #789ECC
square
#CC78C8 #CCA678 #78CC7C #789ECC
split-complementary
#CC78C8 #9ECC78 #78CCA6
monochromatic
#92378E #BB4CB6 #CC78C8 #DDA4DA #EED1EC

Accessibility & contrast

On white

2.96
#CC78C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CC78C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78C8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78C8#FFFFFF#000000##000000
##CC78C81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#738FCB
Deuteranopia (green-blind)
#899AC5
Tritanopia (blue-blind)
#D17F97
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc78c8;
/* rgb */ color: rgb(204, 120, 200);
/* oklch */ color: oklch(69.1% 0.146 328.7);
Tailwind
colors: {
  custom: {
    50: '#dda1d9',
    500: '#cc78c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc78c8;
$custom-light: #dda1d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78c8",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 200
  },
  "hsl": {
    "h": 302.857,
    "s": 45.161,
    "l": 63.529
  },
  "oklch": {
    "l": 0.69078,
    "c": 0.1461,
    "h": 328.7
  },
  "luminance": 0.3044
}

Semantic roles & 50–950 ramp

primary
#CC78C8
secondary
#C1DFC2
accent
#B8342D
background
#FDFAFD
surface
#FBF3FA
border
#D4CDD3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC78C8

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

Preview Lab → · Contrast checker → · Palette generator →

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