#CC77FB#CC77FB

#CC77FB is a light, vivid violet. Relative luminance 0.330; OKLCH L 71.4% C 0.200 H 312.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#CC77FB
RGBrgb(204, 119, 251)
HSLhsl(279, 94%, 73%)
HSVhsv(279, 53%, 98%)
CMYKcmyk(18.7%, 52.6%, 0%, 1.6%)
CIE-LABlab(64.16, 55.16, -52.93)
CIE-LCHlch(64.16, 76.45, 316.18°)
OKLaboklab(71.42% 0.1338 -0.148)
OKLCHoklch(71.42% 0.2 312.1)
XYZxyz(48.9082, 32.9972, 95.0408)
Luminance0.3300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC77FB #A6FB77
analogous
#8A77FB #CC77FB #FB77E8
triadic
#CC77FB #FBCC77 #77FBCC
tetradic
#CC77FB #FB8A77 #A6FB77 #77E8FB
square
#CC77FB #FB8A77 #A6FB77 #77E8FB
split-complementary
#CC77FB #E8FB77 #77FB8A
monochromatic
#9D07F1 #B63CF9 #CC77FB #E2B2FD #F4E1FE

Accessibility & contrast

On white

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

On black

7.60
#CC77FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC77FB
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC77FB#FFFFFF#000000##000000
##CC77FB1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5497FF
Deuteranopia (green-blind)
#709DF8
Tritanopia (blue-blind)
#C78DAE
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cc77fb;
/* rgb */ color: rgb(204, 119, 251);
/* oklch */ color: oklch(71.4% 0.200 312.1);
Tailwind
colors: {
  custom: {
    50: '#dea1fd',
    500: '#cc77fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc77fb;
$custom-light: #dea1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc77fb",
  "rgb": {
    "r": 204,
    "g": 119,
    "b": 251
  },
  "hsl": {
    "h": 278.636,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.71416,
    "c": 0.19957,
    "h": 312.1
  },
  "luminance": 0.32996
}

Semantic roles & 50–950 ramp

primary
#CC77FB
secondary
#E1F6D5
accent
#E60052
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CC77FB

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

Preview Lab → · Contrast checker → · Palette generator →

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