#CC78E7#CC78E7

#CC78E7 is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.177 H 317.5°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#CC78E7
RGBrgb(204, 120, 231)
HSLhsl(285, 70%, 69%)
HSVhsv(285, 48%, 91%)
CMYKcmyk(11.7%, 48.1%, 0%, 9.4%)
CIE-LABlab(63.38, 50.54, -43.12)
CIE-LCHlch(63.38, 66.43, 319.53°)
OKLaboklab(70.52% 0.1304 -0.1196)
OKLCHoklch(70.52% 0.177 317.5)
XYZxyz(46.0401, 32.0413, 79.3452)
Luminance0.3204 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78E7 #93E778
analogous
#9578E7 #CC78E7 #E778CB
triadic
#CC78E7 #E7CC78 #78E7CC
tetradic
#CC78E7 #E79578 #93E778 #78CBE7
square
#CC78E7 #E79578 #93E778 #78CBE7
split-complementary
#CC78E7 #CBE778 #78E795
monochromatic
#9B23C2 #B844DE #CC78E7 #E0ACF0 #F3E0F9

Accessibility & contrast

On white

2.83
#CC78E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#CC78E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78E7
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78E7#FFFFFF#000000##000000
##CC78E71.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6394EB
Deuteranopia (green-blind)
#7C9CE4
Tritanopia (blue-blind)
#CC88A5
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc78e7;
/* rgb */ color: rgb(204, 120, 231);
/* oklch */ color: oklch(70.5% 0.177 317.5);
Tailwind
colors: {
  custom: {
    50: '#dda1ef',
    500: '#cc78e7',
    950: '#000000',
  },
}
SCSS
$custom: #cc78e7;
$custom-light: #dda1ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78e7",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 231
  },
  "hsl": {
    "h": 285.405,
    "s": 69.811,
    "l": 68.824
  },
  "oklch": {
    "l": 0.7052,
    "c": 0.17693,
    "h": 317.5
  },
  "luminance": 0.3204
}

Semantic roles & 50–950 ramp

primary
#CC78E7
secondary
#D5EECD
accent
#D21442
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC78E7

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

Preview Lab → · Contrast checker → · Palette generator →

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