#CC78EA#CC78EA

#CC78EA is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.7% C 0.180 H 316.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#CC78EA
RGBrgb(204, 120, 234)
HSLhsl(284, 73%, 69%)
HSVhsv(284, 49%, 92%)
CMYKcmyk(12.8%, 48.7%, 0%, 8.2%)
CIE-LABlab(63.52, 51.14, -44.56)
CIE-LCHlch(63.52, 67.83, 318.93°)
OKLaboklab(70.67% 0.1308 -0.1237)
OKLCHoklch(70.67% 0.18 316.6)
XYZxyz(46.4674, 32.2123, 81.5958)
Luminance0.3221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78EA #96EA78
analogous
#9378EA #CC78EA #EA78CF
triadic
#CC78EA #EACC78 #78EACC
tetradic
#CC78EA #EA9378 #96EA78 #78CFEA
square
#CC78EA #EA9378 #96EA78 #78CFEA
split-complementary
#CC78EA #CFEA78 #78EA93
monochromatic
#9C1FC8 #B843E2 #CC78EA #E0ADF2 #F4E2FA

Accessibility & contrast

On white

2.82
#CC78EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#CC78EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78EA
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78EA#FFFFFF#000000##000000
##CC78EA1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6295EE
Deuteranopia (green-blind)
#7A9CE7
Tritanopia (blue-blind)
#CB89A6
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc78ea;
/* rgb */ color: rgb(204, 120, 234);
/* oklch */ color: oklch(70.7% 0.180 316.6);
Tailwind
colors: {
  custom: {
    50: '#dea1f1',
    500: '#cc78ea',
    950: '#000000',
  },
}
SCSS
$custom: #cc78ea;
$custom-light: #dea1f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78ea",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 234
  },
  "hsl": {
    "h": 284.211,
    "s": 73.077,
    "l": 69.412
  },
  "oklch": {
    "l": 0.7067,
    "c": 0.18006,
    "h": 316.6
  },
  "luminance": 0.32211
}

Semantic roles & 50–950 ramp

primary
#CC78EA
secondary
#D7EFCE
accent
#D51044
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC78EA

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

Preview Lab → · Contrast checker → · Palette generator →

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