#CC78CE#CC78CE

#CC78CE is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.3% C 0.152 H 326.2°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CC78CE
RGBrgb(204, 120, 206)
HSLhsl(299, 47%, 64%)
HSVhsv(299, 42%, 81%)
CMYKcmyk(1%, 41.7%, 0%, 19.2%)
CIE-LABlab(62.28, 45.71, -30.86)
CIE-LCHlch(62.28, 55.15, 325.97°)
OKLaboklab(69.34% 0.1262 -0.0844)
OKLCHoklch(69.34% 0.152 326.2)
XYZxyz(42.7580, 30.7285, 62.0595)
Luminance0.3073 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78CE #7ACE78
analogous
#A178CE #CC78CE #CE78A5
triadic
#CC78CE #CECC78 #78CECC
tetradic
#CC78CE #CEA178 #7ACE78 #78A5CE
square
#CC78CE #CEA178 #7ACE78 #78A5CE
split-complementary
#CC78CE #A5CE78 #78CEA1
monochromatic
#933695 #BB4BBE #CC78CE #DDA5DE #EED2EF

Accessibility & contrast

On white

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

On black

7.15
#CC78CE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78CE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78CE#FFFFFF#000000##000000
##CC78CE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7090D1
Deuteranopia (green-blind)
#879ACB
Tritanopia (blue-blind)
#D08199
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc78ce;
/* rgb */ color: rgb(204, 120, 206);
/* oklch */ color: oklch(69.3% 0.152 326.2);
Tailwind
colors: {
  custom: {
    50: '#dda1dd',
    500: '#cc78ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc78ce;
$custom-light: #dda1dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78ce",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 206
  },
  "hsl": {
    "h": 298.605,
    "s": 46.739,
    "l": 63.922
  },
  "oklch": {
    "l": 0.69341,
    "c": 0.15177,
    "h": 326.2
  },
  "luminance": 0.30727
}

Semantic roles & 50–950 ramp

primary
#CC78CE
secondary
#C3E0C2
accent
#BA2C2F
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC78CE

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

Preview Lab → · Contrast checker → · Palette generator →

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