#CC77FC#CC77FC

#CC77FC is a light, highly saturated violet. Relative luminance 0.331; OKLCH L 71.5% C 0.201 H 311.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#CC77FC
RGBrgb(204, 119, 252)
HSLhsl(278, 96%, 73%)
HSVhsv(278, 53%, 99%)
CMYKcmyk(19%, 52.8%, 0%, 1.2%)
CIE-LABlab(64.21, 55.37, -53.40)
CIE-LCHlch(64.21, 76.92, 316.04°)
OKLaboklab(71.47% 0.1339 -0.1494)
OKLCHoklch(71.47% 0.201 311.9)
XYZxyz(49.0662, 33.0604, 95.8731)
Luminance0.3306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77FC #A7FC77
analogous
#8A77FC #CC77FC #FC77E9
triadic
#CC77FC #FCCC77 #77FCCC
tetradic
#CC77FC #FC8A77 #A7FC77 #77E9FC
square
#CC77FC #FC8A77 #A7FC77 #77E9FC
split-complementary
#CC77FC #E9FC77 #77FC8A
monochromatic
#9D05F3 #B63BFB #CC77FC #E2B3FD #F4E1FE

Accessibility & contrast

On white

2.76
#CC77FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#CC77FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77FC
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77FC#FFFFFF#000000##000000
##CC77FC1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5397FF
Deuteranopia (green-blind)
#6F9DF9
Tritanopia (blue-blind)
#C78DAF
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cc77fc;
/* rgb */ color: rgb(204, 119, 252);
/* oklch */ color: oklch(71.5% 0.201 311.9);
Tailwind
colors: {
  custom: {
    50: '#dea1fe',
    500: '#cc77fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc77fc;
$custom-light: #dea1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77fc",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 278.346,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.7147,
    "c": 0.20064,
    "h": 311.9
  },
  "luminance": 0.33059
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC77FC

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

Preview Lab → · Contrast checker → · Palette generator →

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