#CC78FA#CC78FA

#CC78FA is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.197 H 312.3°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CC78FA
RGBrgb(204, 120, 250)
HSLhsl(279, 93%, 73%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18.4%, 52%, 0%, 2%)
CIE-LABlab(64.30, 54.44, -52.16)
CIE-LCHlch(64.30, 75.39, 316.23°)
OKLaboklab(71.5% 0.1325 -0.1458)
OKLCHoklch(71.5% 0.197 312.3)
XYZxyz(48.8706, 33.1736, 94.2526)
Luminance0.3317 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78FA #A6FA78
analogous
#8B78FA #CC78FA #FA78E7
triadic
#CC78FA #FACC78 #78FACC
tetradic
#CC78FA #FA8B78 #A6FA78 #78E7FA
square
#CC78FA #FA8B78 #A6FA78 #78E7FA
split-complementary
#CC78FA #E7FA78 #78FA8B
monochromatic
#9D09EF #B63DF8 #CC78FA #E2B3FC #F4E1FE

Accessibility & contrast

On white

2.75
#CC78FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CC78FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78FA
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78FA#FFFFFF#000000##000000
##CC78FA1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FE
Deuteranopia (green-blind)
#719EF7
Tritanopia (blue-blind)
#C78EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc78fa;
/* rgb */ color: rgb(204, 120, 250);
/* oklch */ color: oklch(71.5% 0.197 312.3);
Tailwind
colors: {
  custom: {
    50: '#dea2fc',
    500: '#cc78fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc78fa;
$custom-light: #dea2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78fa",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 250
  },
  "hsl": {
    "h": 278.769,
    "s": 92.857,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71504,
    "c": 0.19698,
    "h": 312.3
  },
  "luminance": 0.33172
}

Semantic roles & 50–950 ramp

primary
#CC78FA
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC78FA

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

Preview Lab → · Contrast checker → · Palette generator →

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