#CC78FF#CC78FF

#CC78FF is a light, highly saturated violet. Relative luminance 0.335; OKLCH L 71.8% C 0.202 H 311.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#CC78FF
RGBrgb(204, 120, 255)
HSLhsl(277, 100%, 74%)
HSVhsv(277, 53%, 100%)
CMYKcmyk(20%, 52.9%, 0%, 0%)
CIE-LABlab(64.56, 55.50, -54.50)
CIE-LCHlch(64.56, 77.78, 315.52°)
OKLaboklab(71.78% 0.1328 -0.1526)
OKLCHoklch(71.78% 0.202 311)
XYZxyz(49.6650, 33.4913, 98.4365)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78FF #ABFF78
analogous
#8878FF #CC78FF #FF78EF
triadic
#CC78FF #FFCC78 #78FFCC
tetradic
#CC78FF #FF8878 #ABFF78 #78EFFF
square
#CC78FF #FF8878 #ABFF78 #78EFFF
split-complementary
#CC78FF #EFFF78 #78FF88
monochromatic
#9D00FD #B53BFF #CC78FF #E3B5FF #F3E0FF

Accessibility & contrast

On white

2.73
#CC78FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#CC78FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78FF
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78FF#FFFFFF#000000##000000
##CC78FF1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5298FF
Deuteranopia (green-blind)
#6E9EFC
Tritanopia (blue-blind)
#C68FB0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc78ff;
/* rgb */ color: rgb(204, 120, 255);
/* oklch */ color: oklch(71.8% 0.202 311.0);
Tailwind
colors: {
  custom: {
    50: '#dea2ff',
    500: '#cc78ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc78ff;
$custom-light: #dea2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78ff",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 255
  },
  "hsl": {
    "h": 277.333,
    "s": 100,
    "l": 73.529
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.20232,
    "h": 311
  },
  "luminance": 0.3349
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC78FF

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

Preview Lab → · Contrast checker → · Palette generator →

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