#CC78FD#CC78FD

#CC78FD is a light, highly saturated violet. Relative luminance 0.334; OKLCH L 71.7% C 0.200 H 311.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#CC78FD
RGBrgb(204, 120, 253)
HSLhsl(278, 97%, 73%)
HSVhsv(278, 53%, 99%)
CMYKcmyk(19.4%, 52.6%, 0%, 0.8%)
CIE-LABlab(64.45, 55.07, -53.56)
CIE-LCHlch(64.45, 76.82, 315.80°)
OKLaboklab(71.67% 0.1327 -0.1499)
OKLCHoklch(71.67% 0.2 311.5)
XYZxyz(49.3448, 33.3632, 96.7498)
Luminance0.3336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78FD #A9FD78
analogous
#8978FD #CC78FD #FD78EB
triadic
#CC78FD #FDCC78 #78FDCC
tetradic
#CC78FD #FD8978 #A9FD78 #78EBFD
square
#CC78FD #FD8978 #A9FD78 #78EBFD
split-complementary
#CC78FD #EBFD78 #78FD89
monochromatic
#9D04F7 #B53CFC #CC78FD #E3B4FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.67
#CC78FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78FD
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78FD#FFFFFF#000000##000000
##CC78FD1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5498FF
Deuteranopia (green-blind)
#6F9EFA
Tritanopia (blue-blind)
#C78EAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc78fd;
/* rgb */ color: rgb(204, 120, 253);
/* oklch */ color: oklch(71.7% 0.200 311.5);
Tailwind
colors: {
  custom: {
    50: '#dea2fe',
    500: '#cc78fd',
    950: '#000000',
  },
}
SCSS
$custom: #cc78fd;
$custom-light: #dea2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78fd",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 253
  },
  "hsl": {
    "h": 277.895,
    "s": 97.08,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71667,
    "c": 0.20018,
    "h": 311.5
  },
  "luminance": 0.33362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC78FD

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

Preview Lab → · Contrast checker → · Palette generator →

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