#C77FFC#C77FFC

#C77FFC is a light, vivid violet. Relative luminance 0.343; OKLCH L 72.1% C 0.187 H 309.0°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#C77FFC
RGBrgb(199, 127, 252)
HSLhsl(275, 95%, 74%)
HSVhsv(275, 50%, 99%)
CMYKcmyk(21%, 49.6%, 0%, 1.2%)
CIE-LABlab(65.24, 49.96, -51.80)
CIE-LCHlch(65.24, 71.97, 313.96°)
OKLaboklab(72.11% 0.1176 -0.1449)
OKLCHoklch(72.11% 0.187 309)
XYZxyz(48.7099, 34.3498, 96.1407)
Luminance0.3435 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77FFC #B4FC7F
analogous
#897FFC #C77FFC #FC7FF3
triadic
#C77FFC #FCC77F #7FFCC7
tetradic
#C77FFC #FC897F #B4FC7F #7FF3FC
square
#C77FFC #FC897F #B4FC7F #7FF3FC
split-complementary
#C77FFC #F3FC7F #7FFC89
monochromatic
#9307F9 #AD43FB #C77FFC #E1BBFD #F2E1FE

Accessibility & contrast

On white

2.67
#C77FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#C77FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77FFC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77FFC#FFFFFF#000000##000000
##C77FFC1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9BFF
Deuteranopia (green-blind)
#739FF9
Tritanopia (blue-blind)
#C094B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c77ffc;
/* rgb */ color: rgb(199, 127, 252);
/* oklch */ color: oklch(72.1% 0.187 309.0);
Tailwind
colors: {
  custom: {
    50: '#daa6fe',
    500: '#c77ffc',
    950: '#000000',
  },
}
SCSS
$custom: #c77ffc;
$custom-light: #daa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c77ffc",
  "rgb": {
    "r": 199,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 274.56,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72108,
    "c": 0.18659,
    "h": 309
  },
  "luminance": 0.34349
}

Semantic roles & 50–950 ramp

primary
#C77FFC
secondary
#E3F7D4
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #C77FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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