#CC78DF#CC78DF

#CC78DF is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.1% C 0.169 H 320.0°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CC78DF
RGBrgb(204, 120, 223)
HSLhsl(289, 62%, 67%)
HSVhsv(289, 46%, 87%)
CMYKcmyk(8.5%, 46.2%, 0%, 12.5%)
CIE-LABlab(63.01, 48.95, -39.24)
CIE-LCHlch(63.01, 62.74, 321.28°)
OKLaboklab(70.13% 0.1293 -0.1084)
OKLCHoklch(70.13% 0.169 320)
XYZxyz(44.9359, 31.5997, 73.5300)
Luminance0.3160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78DF #8BDF78
analogous
#9978DF #CC78DF #DF78BF
triadic
#CC78DF #DFCC78 #78DFCC
tetradic
#CC78DF #DF9978 #8BDF78 #78BFDF
square
#CC78DF #DF9978 #8BDF78 #78BFDF
split-complementary
#CC78DF #BFDF78 #78DF99
monochromatic
#992AB2 #B947D3 #CC78DF #DFA9EB #F1DBF6

Accessibility & contrast

On white

2.87
#CC78DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#CC78DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78DF
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78DF#FFFFFF#000000##000000
##CC78DF1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6893E3
Deuteranopia (green-blind)
#809CDC
Tritanopia (blue-blind)
#CD85A1
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc78df;
/* rgb */ color: rgb(204, 120, 223);
/* oklch */ color: oklch(70.1% 0.169 320.0);
Tailwind
colors: {
  custom: {
    50: '#dda1e9',
    500: '#cc78df',
    950: '#000000',
  },
}
SCSS
$custom: #cc78df;
$custom-light: #dda1e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78df",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 223
  },
  "hsl": {
    "h": 288.932,
    "s": 61.677,
    "l": 67.255
  },
  "oklch": {
    "l": 0.70128,
    "c": 0.16867,
    "h": 320
  },
  "luminance": 0.31598
}

Semantic roles & 50–950 ramp

primary
#CC78DF
secondary
#CFEAC9
accent
#C91C3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC78DF

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

Preview Lab → · Contrast checker → · Palette generator →

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