#CC78F9#CC78F9

#CC78F9 is a light, vivid violet. Relative luminance 0.331; OKLCH L 71.5% C 0.196 H 312.5°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CC78F9
RGBrgb(204, 120, 249)
HSLhsl(279, 91%, 72%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18.1%, 51.8%, 0%, 2.4%)
CIE-LABlab(64.25, 54.23, -51.69)
CIE-LCHlch(64.25, 74.92, 316.37°)
OKLaboklab(71.45% 0.1324 -0.1444)
OKLCHoklch(71.45% 0.196 312.5)
XYZxyz(48.7142, 33.1110, 93.4290)
Luminance0.3311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78F9 #A5F978
analogous
#8C78F9 #CC78F9 #F978E5
triadic
#CC78F9 #F9CC78 #78F9CC
tetradic
#CC78F9 #F98C78 #A5F978 #78E5F9
square
#CC78F9 #F98C78 #A5F978 #78E5F9
split-complementary
#CC78F9 #E5F978 #78F98C
monochromatic
#9D0AEC #B63DF6 #CC78F9 #E2B3FC #F4E2FE

Accessibility & contrast

On white

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

On black

7.62
#CC78F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78F9
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78F9#FFFFFF#000000##000000
##CC78F91.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5797FD
Deuteranopia (green-blind)
#729EF6
Tritanopia (blue-blind)
#C88DAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc78f9;
/* rgb */ color: rgb(204, 120, 249);
/* oklch */ color: oklch(71.5% 0.196 312.5);
Tailwind
colors: {
  custom: {
    50: '#dea2fc',
    500: '#cc78f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc78f9;
$custom-light: #dea2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78f9",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 249
  },
  "hsl": {
    "h": 279.07,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71451,
    "c": 0.19591,
    "h": 312.5
  },
  "luminance": 0.3311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC78F9

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

Preview Lab → · Contrast checker → · Palette generator →

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