#CC78F7#CC78F7

#CC78F7 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.3% C 0.194 H 313.0°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CC78F7
RGBrgb(204, 120, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 51%, 97%)
CMYKcmyk(17.4%, 51.4%, 0%, 3.1%)
CIE-LABlab(64.15, 53.81, -50.75)
CIE-LCHlch(64.15, 73.96, 316.68°)
OKLaboklab(71.34% 0.1322 -0.1417)
OKLCHoklch(71.34% 0.194 313)
XYZxyz(48.4040, 32.9869, 91.7949)
Luminance0.3299 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78F7 #A3F778
analogous
#8D78F7 #CC78F7 #F778E3
triadic
#CC78F7 #F7CC78 #78F7CC
tetradic
#CC78F7 #F78D78 #A3F778 #78E3F7
square
#CC78F7 #F78D78 #A3F778 #78E3F7
split-complementary
#CC78F7 #E3F778 #78F78D
monochromatic
#9D0EE7 #B63EF4 #CC78F7 #E2B2FA #F4E2FD

Accessibility & contrast

On white

2.76
#CC78F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#CC78F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78F7
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78F7#FFFFFF#000000##000000
##CC78F71.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FB
Deuteranopia (green-blind)
#739DF4
Tritanopia (blue-blind)
#C88DAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc78f7;
/* rgb */ color: rgb(204, 120, 247);
/* oklch */ color: oklch(71.3% 0.194 313.0);
Tailwind
colors: {
  custom: {
    50: '#dea2fa',
    500: '#cc78f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc78f7;
$custom-light: #dea2fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78f7",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 247
  },
  "hsl": {
    "h": 279.685,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71344,
    "c": 0.19379,
    "h": 313
  },
  "luminance": 0.32986
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC78F7

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

Preview Lab → · Contrast checker → · Palette generator →

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