#CC77FE#CC77FE

#CC77FE is a light, highly saturated violet. Relative luminance 0.332; OKLCH L 71.6% C 0.203 H 311.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#CC77FE
RGBrgb(204, 119, 254)
HSLhsl(278, 99%, 73%)
HSVhsv(278, 53%, 100%)
CMYKcmyk(19.7%, 53.1%, 0%, 0.4%)
CIE-LABlab(64.31, 55.79, -54.34)
CIE-LCHlch(64.31, 77.88, 315.76°)
OKLaboklab(71.58% 0.1341 -0.1521)
OKLCHoklch(71.58% 0.203 311.4)
XYZxyz(49.3848, 33.1878, 97.5511)
Luminance0.3319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77FE #A9FE77
analogous
#8877FE #CC77FE #FE77EC
triadic
#CC77FE #FECC77 #77FECC
tetradic
#CC77FE #FE8877 #A9FE77 #77ECFE
square
#CC77FE #FE8877 #A9FE77 #77ECFE
split-complementary
#CC77FE #ECFE77 #77FE88
monochromatic
#9D02F9 #B53AFE #CC77FE #E3B4FE #F4E1FF

Accessibility & contrast

On white

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

On black

7.64
#CC77FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77FE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77FE#FFFFFF#000000##000000
##CC77FE1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6E9EFB
Tritanopia (blue-blind)
#C68EB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc77fe;
/* rgb */ color: rgb(204, 119, 254);
/* oklch */ color: oklch(71.6% 0.203 311.4);
Tailwind
colors: {
  custom: {
    50: '#dea1ff',
    500: '#cc77fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc77fe;
$custom-light: #dea1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77fe",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 277.778,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71579,
    "c": 0.20276,
    "h": 311.4
  },
  "luminance": 0.33187
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC77FE

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

Preview Lab → · Contrast checker → · Palette generator →

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