#CC78F8#CC78F8

#CC78F8 is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.4% C 0.195 H 312.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CC78F8
RGBrgb(204, 120, 248)
HSLhsl(279, 90%, 72%)
HSVhsv(279, 52%, 97%)
CMYKcmyk(17.7%, 51.6%, 0%, 2.7%)
CIE-LABlab(64.20, 54.02, -51.22)
CIE-LCHlch(64.20, 74.44, 316.53°)
OKLaboklab(71.4% 0.1323 -0.143)
OKLCHoklch(71.4% 0.195 312.8)
XYZxyz(48.5587, 33.0488, 92.6098)
Luminance0.3305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78F8 #A4F878
analogous
#8C78F8 #CC78F8 #F878E4
triadic
#CC78F8 #F8CC78 #78F8CC
tetradic
#CC78F8 #F88C78 #A4F878 #78E4F8
square
#CC78F8 #F88C78 #A4F878 #78E4F8
split-complementary
#CC78F8 #E4F878 #78F88C
monochromatic
#9D0CE9 #B63EF5 #CC78F8 #E2B2FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.61
#CC78F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78F8
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78F8#FFFFFF#000000##000000
##CC78F81.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#729EF5
Tritanopia (blue-blind)
#C88DAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc78f8;
/* rgb */ color: rgb(204, 120, 248);
/* oklch */ color: oklch(71.4% 0.195 312.8);
Tailwind
colors: {
  custom: {
    50: '#dea2fb',
    500: '#cc78f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc78f8;
$custom-light: #dea2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78f8",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 248
  },
  "hsl": {
    "h": 279.375,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71397,
    "c": 0.19485,
    "h": 312.8
  },
  "luminance": 0.33048
}

Semantic roles & 50–950 ramp

primary
#CC78F8
secondary
#E0F6D5
accent
#E6004F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC78F8

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

Preview Lab → · Contrast checker → · Palette generator →

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