#CC77FA#CC77FA

#CC77FA is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.4% C 0.199 H 312.4°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#CC77FA
RGBrgb(204, 119, 250)
HSLhsl(279, 93%, 72%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18.4%, 52.4%, 0%, 2%)
CIE-LABlab(64.11, 54.95, -52.46)
CIE-LCHlch(64.11, 75.97, 316.32°)
OKLaboklab(71.36% 0.1338 -0.1467)
OKLCHoklch(71.36% 0.199 312.4)
XYZxyz(48.7510, 32.9343, 94.2128)
Luminance0.3293 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77FA #A5FA77
analogous
#8A77FA #CC77FA #FA77E7
triadic
#CC77FA #FACC77 #77FACC
tetradic
#CC77FA #FA8A77 #A5FA77 #77E7FA
square
#CC77FA #FA8A77 #A5FA77 #77E7FA
split-complementary
#CC77FA #E7FA77 #77FA8A
monochromatic
#9D09EE #B63CF8 #CC77FA #E2B2FC #F4E1FE

Accessibility & contrast

On white

2.77
#CC77FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#CC77FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77FA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77FA#FFFFFF#000000##000000
##CC77FA1.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5597FE
Deuteranopia (green-blind)
#709DF7
Tritanopia (blue-blind)
#C78DAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc77fa;
/* rgb */ color: rgb(204, 119, 250);
/* oklch */ color: oklch(71.4% 0.199 312.4);
Tailwind
colors: {
  custom: {
    50: '#dea1fc',
    500: '#cc77fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc77fa;
$custom-light: #dea1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77fa",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 250
  },
  "hsl": {
    "h": 278.931,
    "s": 92.908,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71362,
    "c": 0.19851,
    "h": 312.4
  },
  "luminance": 0.32933
}

Semantic roles & 50–950 ramp

primary
#CC77FA
secondary
#E1F6D5
accent
#E60051
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77FA

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

Preview Lab → · Contrast checker → · Palette generator →

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