#CC77FF#CC77FF

#CC77FF is a light, highly saturated violet. Relative luminance 0.333; OKLCH L 71.6% C 0.204 H 311.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#CC77FF
RGBrgb(204, 119, 255)
HSLhsl(278, 100%, 73%)
HSVhsv(278, 53%, 100%)
CMYKcmyk(20%, 53.3%, 0%, 0%)
CIE-LABlab(64.36, 56.00, -54.80)
CIE-LCHlch(64.36, 78.35, 315.62°)
OKLaboklab(71.63% 0.1341 -0.1535)
OKLCHoklch(71.63% 0.204 311.1)
XYZxyz(49.5454, 33.2520, 98.3966)
Luminance0.3325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77FF #AAFF77
analogous
#8877FF #CC77FF #FF77EE
triadic
#CC77FF #FFCC77 #77FFCC
tetradic
#CC77FF #FF8877 #AAFF77 #77EEFF
square
#CC77FF #FF8877 #AAFF77 #77EEFF
split-complementary
#CC77FF #EEFF77 #77FF88
monochromatic
#9D00FC #B53AFF #CC77FF #E3B4FF #F4E0FF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC77FF#FFFFFF#000000##000000
##CC77FF1.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)
#5198FF
Deuteranopia (green-blind)
#6D9EFC
Tritanopia (blue-blind)
#C68EB0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc77ff;
/* rgb */ color: rgb(204, 119, 255);
/* oklch */ color: oklch(71.6% 0.204 311.1);
Tailwind
colors: {
  custom: {
    50: '#dea1ff',
    500: '#cc77ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc77ff;
$custom-light: #dea1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77ff",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 255
  },
  "hsl": {
    "h": 277.5,
    "s": 100,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71634,
    "c": 0.20383,
    "h": 311.1
  },
  "luminance": 0.33251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC77FF

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

Preview Lab → · Contrast checker → · Palette generator →

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