#CC78F6#CC78F6

#CC78F6 is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.3% C 0.193 H 313.3°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#CC78F6
RGBrgb(204, 120, 246)
HSLhsl(280, 88%, 72%)
HSVhsv(280, 51%, 96%)
CMYKcmyk(17.1%, 51.2%, 0%, 3.5%)
CIE-LABlab(64.10, 53.60, -50.27)
CIE-LCHlch(64.10, 73.49, 316.83°)
OKLaboklab(71.29% 0.1321 -0.1403)
OKLCHoklch(71.29% 0.193 313.3)
XYZxyz(48.2501, 32.9253, 90.9844)
Luminance0.3292 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78F6 #A2F678
analogous
#8D78F6 #CC78F6 #F678E1
triadic
#CC78F6 #F6CC78 #78F6CC
tetradic
#CC78F6 #F68D78 #A2F678 #78E1F6
square
#CC78F6 #F68D78 #A2F678 #78E1F6
split-complementary
#CC78F6 #E1F678 #78F68D
monochromatic
#9D0FE4 #B63FF2 #CC78F6 #E2B1FA #F4E2FD

Accessibility & contrast

On white

2.77
#CC78F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#CC78F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78F6
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78F6#FFFFFF#000000##000000
##CC78F61.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FA
Deuteranopia (green-blind)
#749DF3
Tritanopia (blue-blind)
#C88CAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc78f6;
/* rgb */ color: rgb(204, 120, 246);
/* oklch */ color: oklch(71.3% 0.193 313.3);
Tailwind
colors: {
  custom: {
    50: '#dea2fa',
    500: '#cc78f6',
    950: '#000000',
  },
}
SCSS
$custom: #cc78f6;
$custom-light: #dea2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78f6",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 246
  },
  "hsl": {
    "h": 280,
    "s": 87.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71291,
    "c": 0.19272,
    "h": 313.3
  },
  "luminance": 0.32924
}

Semantic roles & 50–950 ramp

primary
#CC78F6
secondary
#E0F5D5
accent
#E4014D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC78F6

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

Preview Lab → · Contrast checker → · Palette generator →

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