#C77AF7#C77AF7

#C77AF7 is a light, vivid violet. Relative luminance 0.328; OKLCH L 71.1% C 0.189 H 310.9°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#C77AF7
RGBrgb(199, 122, 247)
HSLhsl(277, 89%, 72%)
HSVhsv(277, 51%, 97%)
CMYKcmyk(19.4%, 50.6%, 0%, 3.1%)
CIE-LABlab(63.98, 51.48, -51.05)
CIE-LCHlch(63.98, 72.50, 315.24°)
OKLaboklab(71.09% 0.1237 -0.1427)
OKLCHoklch(71.09% 0.189 310.9)
XYZxyz(47.2982, 32.7775, 91.8127)
Luminance0.3278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77AF7 #AAF77A
analogous
#897AF7 #C77AF7 #F77AE8
triadic
#C77AF7 #F7C77A #7AF7C7
tetradic
#C77AF7 #F7897A #AAF77A #7AE8F7
square
#C77AF7 #F7897A #AAF77A #7AE8F7
split-complementary
#C77AF7 #E8F77A #7AF789
monochromatic
#950EE9 #AF40F4 #C77AF7 #DFB4FA #F3E2FD

Accessibility & contrast

On white

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

On black

7.56
#C77AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77AF7
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77AF7#FFFFFF#000000##000000
##C77AF71.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A97FB
Deuteranopia (green-blind)
#719DF4
Tritanopia (blue-blind)
#C18FAD
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c77af7;
/* rgb */ color: rgb(199, 122, 247);
/* oklch */ color: oklch(71.1% 0.189 310.9);
Tailwind
colors: {
  custom: {
    50: '#daa3fa',
    500: '#c77af7',
    950: '#000000',
  },
}
SCSS
$custom: #c77af7;
$custom-light: #daa3fa;
$custom-dark: #000000;
JSON
{
  "hex": "#c77af7",
  "rgb": {
    "r": 199,
    "g": 122,
    "b": 247
  },
  "hsl": {
    "h": 276.96,
    "s": 88.652,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71094,
    "c": 0.18882,
    "h": 310.9
  },
  "luminance": 0.32777
}

Semantic roles & 50–950 ramp

primary
#C77AF7
secondary
#E2F5D6
accent
#E50058
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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