#CC78EE#CC78EE

#CC78EE is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.9% C 0.184 H 315.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CC78EE
RGBrgb(204, 120, 238)
HSLhsl(283, 78%, 70%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(14.3%, 49.6%, 0%, 6.7%)
CIE-LABlab(63.71, 51.95, -46.48)
CIE-LCHlch(63.71, 69.71, 318.18°)
OKLaboklab(70.87% 0.1313 -0.1293)
OKLCHoklch(70.87% 0.184 315.4)
XYZxyz(47.0485, 32.4447, 84.6564)
Luminance0.3244 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78EE #9AEE78
analogous
#9178EE #CC78EE #EE78D5
triadic
#CC78EE #EECC78 #78EECC
tetradic
#CC78EE #EE9178 #9AEE78 #78D5EE
square
#CC78EE #EE9178 #9AEE78 #78D5EE
split-complementary
#CC78EE #D5EE78 #78EE91
monochromatic
#9D1AD1 #B742E7 #CC78EE #E1AEF5 #F5E4FC

Accessibility & contrast

On white

2.80
#CC78EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CC78EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78EE
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78EE#FFFFFF#000000##000000
##CC78EE1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#789DEB
Tritanopia (blue-blind)
#CA8AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc78ee;
/* rgb */ color: rgb(204, 120, 238);
/* oklch */ color: oklch(70.9% 0.184 315.4);
Tailwind
colors: {
  custom: {
    50: '#dea1f4',
    500: '#cc78ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc78ee;
$custom-light: #dea1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78ee",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 238
  },
  "hsl": {
    "h": 282.712,
    "s": 77.632,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70874,
    "c": 0.18426,
    "h": 315.4
  },
  "luminance": 0.32443
}

Semantic roles & 50–950 ramp

primary
#CC78EE
secondary
#DAF1D1
accent
#DA0C47
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC78EE

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

Preview Lab → · Contrast checker → · Palette generator →

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