#CC78FB#CC78FB

#CC78FB is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.6% C 0.198 H 312.0°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CC78FB
RGBrgb(204, 120, 251)
HSLhsl(278, 94%, 73%)
HSVhsv(278, 52%, 98%)
CMYKcmyk(18.7%, 52.2%, 0%, 1.6%)
CIE-LABlab(64.35, 54.65, -52.63)
CIE-LCHlch(64.35, 75.87, 316.08°)
OKLaboklab(71.56% 0.1326 -0.1471)
OKLCHoklch(71.56% 0.198 312)
XYZxyz(49.0278, 33.2364, 95.0806)
Luminance0.3323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC78FB #A7FB78
analogous
#8A78FB #CC78FB #FB78E9
triadic
#CC78FB #FBCC78 #78FBCC
tetradic
#CC78FB #FB8A78 #A7FB78 #78E9FB
square
#CC78FB #FB8A78 #A7FB78 #78E9FB
split-complementary
#CC78FB #E9FB78 #78FB8A
monochromatic
#9D07F1 #B63DF9 #CC78FB #E2B3FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.65
#CC78FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC78FB
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC78FB#FFFFFF#000000##000000
##CC78FB1.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#709EF8
Tritanopia (blue-blind)
#C78EAE
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc78fb;
/* rgb */ color: rgb(204, 120, 251);
/* oklch */ color: oklch(71.6% 0.198 312.0);
Tailwind
colors: {
  custom: {
    50: '#dea2fd',
    500: '#cc78fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc78fb;
$custom-light: #dea2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc78fb",
  "rgb": {
    "r": 204,
    "g": 120,
    "b": 251
  },
  "hsl": {
    "h": 278.473,
    "s": 94.245,
    "l": 72.745
  },
  "oklch": {
    "l": 0.71558,
    "c": 0.19805,
    "h": 312
  },
  "luminance": 0.33235
}

Semantic roles & 50–950 ramp

primary
#CC78FB
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC78FB

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

Preview Lab → · Contrast checker → · Palette generator →

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