#CC78FC#CC78FC

#CC78FC is a light, vivid violet. Relative luminance 0.333; OKLCH L 71.6% C 0.199 H 311.8°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#CC78FC
RGBrgb(204, 120, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 52%, 99%)
CMYKcmyk(19%, 52.4%, 0%, 1.2%)
CIE-LABlab(64.40, 54.86, -53.10)
CIE-LCHlch(64.40, 76.35, 315.94°)
OKLaboklab(71.61% 0.1326 -0.1485)
OKLCHoklch(71.61% 0.199 311.8)
XYZxyz(49.1859, 33.2997, 95.9130)
Luminance0.3330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78FC #A8FC78
analogous
#8A78FC #CC78FC #FC78EA
triadic
#CC78FC #FCCC78 #78FCCC
tetradic
#CC78FC #FC8A78 #A8FC78 #78EAFC
square
#CC78FC #FC8A78 #A8FC78 #78EAFC
split-complementary
#CC78FC #EAFC78 #78FC8A
monochromatic
#9D05F4 #B53CFB #CC78FC #E3B4FD #F4E1FE

Accessibility & contrast

On white

2.74
#CC78FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#CC78FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78FC
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78FC#FFFFFF#000000##000000
##CC78FC1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5598FF
Deuteranopia (green-blind)
#709EF9
Tritanopia (blue-blind)
#C78EAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc78fc;
/* rgb */ color: rgb(204, 120, 252);
/* oklch */ color: oklch(71.6% 0.199 311.8);
Tailwind
colors: {
  custom: {
    50: '#dea2fe',
    500: '#cc78fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc78fc;
$custom-light: #dea2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78fc",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 252
  },
  "hsl": {
    "h": 278.182,
    "s": 95.652,
    "l": 72.941
  },
  "oklch": {
    "l": 0.71612,
    "c": 0.19911,
    "h": 311.8
  },
  "luminance": 0.33299
}

Semantic roles & 50–950 ramp

primary
#CC78FC
secondary
#E1F7D4
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC78FC

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

Preview Lab → · Contrast checker → · Palette generator →

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