#CC77F7#CC77F7

#CC77F7 is a light, vivid violet. Relative luminance 0.327; OKLCH L 71.2% C 0.195 H 313.1°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CC77F7
RGBrgb(204, 119, 247)
HSLhsl(280, 89%, 72%)
HSVhsv(280, 52%, 97%)
CMYKcmyk(17.4%, 51.8%, 0%, 3.1%)
CIE-LABlab(63.96, 54.32, -51.05)
CIE-LCHlch(63.96, 74.55, 316.77°)
OKLaboklab(71.2% 0.1335 -0.1426)
OKLCHoklch(71.2% 0.195 313.1)
XYZxyz(48.2843, 32.7476, 91.7550)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77F7 #A2F777
analogous
#8C77F7 #CC77F7 #F777E2
triadic
#CC77F7 #F7CC77 #77F7CC
tetradic
#CC77F7 #F78C77 #A2F777 #77E2F7
square
#CC77F7 #F78C77 #A2F777 #77E2F7
split-complementary
#CC77F7 #E2F777 #77F78C
monochromatic
#9D0EE6 #B63DF4 #CC77F7 #E2B1FA #F4E2FD

Accessibility & contrast

On white

2.78
#CC77F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CC77F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77F7
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77F7#FFFFFF#000000##000000
##CC77F71.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#729DF4
Tritanopia (blue-blind)
#C88CAC
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc77f7;
/* rgb */ color: rgb(204, 119, 247);
/* oklch */ color: oklch(71.2% 0.195 313.1);
Tailwind
colors: {
  custom: {
    50: '#dea1fa',
    500: '#cc77f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc77f7;
$custom-light: #dea1fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77f7",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 247
  },
  "hsl": {
    "h": 279.844,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71201,
    "c": 0.19533,
    "h": 313.1
  },
  "luminance": 0.32746
}

Semantic roles & 50–950 ramp

primary
#CC77F7
secondary
#E0F5D5
accent
#E6004D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77F7

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

Preview Lab → · Contrast checker → · Palette generator →

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