#CC78CD#CC78CD

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

Color values

HEX#CC78CD
RGBrgb(204, 120, 205)
HSLhsl(299, 46%, 64%)
HSVhsv(299, 41%, 80%)
CMYKcmyk(0.5%, 41.5%, 0%, 19.6%)
CIE-LABlab(62.24, 45.53, -30.36)
CIE-LCHlch(62.24, 54.72, 326.30°)
OKLaboklab(69.3% 0.126 -0.0829)
OKLCHoklch(69.3% 0.151 326.6)
XYZxyz(42.6369, 30.6801, 61.4218)
Luminance0.3068 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78CD #79CD78
analogous
#A178CD #CC78CD #CD78A3
triadic
#CC78CD #CDCC78 #78CDCC
tetradic
#CC78CD #CDA178 #79CD78 #78A3CD
square
#CC78CD #CDA178 #79CD78 #78A3CD
split-complementary
#CC78CD #A3CD78 #78CDA1
monochromatic
#933794 #BB4BBC #CC78CD #DDA5DE #EED1EE

Accessibility & contrast

On white

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

On black

7.14
#CC78CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78CD
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78CD#FFFFFF#000000##000000
##CC78CD1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D0
Deuteranopia (green-blind)
#889ACA
Tritanopia (blue-blind)
#D18099
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc78cd;
/* rgb */ color: rgb(204, 120, 205);
/* oklch */ color: oklch(69.3% 0.151 326.6);
Tailwind
colors: {
  custom: {
    50: '#dda1dc',
    500: '#cc78cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc78cd;
$custom-light: #dda1dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78cd",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 205
  },
  "hsl": {
    "h": 299.294,
    "s": 45.946,
    "l": 63.725
  },
  "oklch": {
    "l": 0.69296,
    "c": 0.15082,
    "h": 326.6
  },
  "luminance": 0.30678
}

Semantic roles & 50–950 ramp

primary
#CC78CD
secondary
#C2DFC1
accent
#B92C2E
background
#FDFAFD
surface
#FBF3FB
border
#D4CDD4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC78CD

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

Preview Lab → · Contrast checker → · Palette generator →

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