#CC77F9#CC77F9

#CC77F9 is a light, vivid violet. Relative luminance 0.329; OKLCH L 71.3% C 0.197 H 312.6°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CC77F9
RGBrgb(204, 119, 249)
HSLhsl(279, 92%, 72%)
HSVhsv(279, 52%, 98%)
CMYKcmyk(18.1%, 52.2%, 0%, 2.4%)
CIE-LABlab(64.06, 54.74, -52.00)
CIE-LCHlch(64.06, 75.50, 316.47°)
OKLaboklab(71.31% 0.1337 -0.1453)
OKLCHoklch(71.31% 0.197 312.6)
XYZxyz(48.5946, 32.8717, 93.3892)
Luminance0.3287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77F9 #A4F977
analogous
#8B77F9 #CC77F9 #F977E5
triadic
#CC77F9 #F9CC77 #77F9CC
tetradic
#CC77F9 #F98B77 #A4F977 #77E5F9
square
#CC77F9 #F98B77 #A4F977 #77E5F9
split-complementary
#CC77F9 #E5F977 #77F98B
monochromatic
#9D0AEB #B63CF6 #CC77F9 #E2B2FC #F4E2FE

Accessibility & contrast

On white

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

On black

7.57
#CC77F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77F9
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77F9#FFFFFF#000000##000000
##CC77F91.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5697FD
Deuteranopia (green-blind)
#719DF6
Tritanopia (blue-blind)
#C88CAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc77f9;
/* rgb */ color: rgb(204, 119, 249);
/* oklch */ color: oklch(71.3% 0.197 312.6);
Tailwind
colors: {
  custom: {
    50: '#dea1fc',
    500: '#cc77f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc77f9;
$custom-light: #dea1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77f9",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 249
  },
  "hsl": {
    "h": 279.231,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71308,
    "c": 0.19745,
    "h": 312.6
  },
  "luminance": 0.32871
}

Semantic roles & 50–950 ramp

primary
#CC77F9
secondary
#E0F6D5
accent
#E6004F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC77F9

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

Preview Lab → · Contrast checker → · Palette generator →

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