#CC78ED#CC78ED

#CC78ED is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.8% C 0.183 H 315.7°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CC78ED
RGBrgb(204, 120, 237)
HSLhsl(283, 76%, 70%)
HSVhsv(283, 49%, 93%)
CMYKcmyk(13.9%, 49.4%, 0%, 7.1%)
CIE-LABlab(63.66, 51.75, -46.00)
CIE-LCHlch(63.66, 69.24, 318.37°)
OKLaboklab(70.82% 0.1312 -0.1279)
OKLCHoklch(70.82% 0.183 315.7)
XYZxyz(46.9020, 32.3861, 83.8848)
Luminance0.3239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78ED #99ED78
analogous
#9178ED #CC78ED #ED78D4
triadic
#CC78ED #EDCC78 #78EDCC
tetradic
#CC78ED #ED9178 #99ED78 #78D4ED
square
#CC78ED #ED9178 #99ED78 #78D4ED
split-complementary
#CC78ED #D4ED78 #78ED91
monochromatic
#9C1CCF #B842E6 #CC78ED #E0AEF4 #F5E4FB

Accessibility & contrast

On white

2.81
#CC78ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CC78ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78ED
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78ED#FFFFFF#000000##000000
##CC78ED1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6095F1
Deuteranopia (green-blind)
#799DEA
Tritanopia (blue-blind)
#CA8AA8
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc78ed;
/* rgb */ color: rgb(204, 120, 237);
/* oklch */ color: oklch(70.8% 0.183 315.7);
Tailwind
colors: {
  custom: {
    50: '#dea1f3',
    500: '#cc78ed',
    950: '#000000',
  },
}
SCSS
$custom: #cc78ed;
$custom-light: #dea1f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78ed",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 237
  },
  "hsl": {
    "h": 283.077,
    "s": 76.471,
    "l": 70
  },
  "oklch": {
    "l": 0.70823,
    "c": 0.1832,
    "h": 315.7
  },
  "luminance": 0.32385
}

Semantic roles & 50–950 ramp

primary
#CC78ED
secondary
#D9F1D0
accent
#D90D46
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC78ED

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

Preview Lab → · Contrast checker → · Palette generator →

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