#C77AFE#C77AFE

#C77AFE is a light, vivid violet. Relative luminance 0.332; OKLCH L 71.5% C 0.197 H 309.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#C77AFE
RGBrgb(199, 122, 254)
HSLhsl(275, 99%, 74%)
HSVhsv(275, 52%, 100%)
CMYKcmyk(21.7%, 52%, 0%, 0.4%)
CIE-LABlab(64.34, 52.99, -54.33)
CIE-LCHlch(64.34, 75.90, 314.28°)
OKLaboklab(71.47% 0.1242 -0.1523)
OKLCHoklch(71.47% 0.197 309.2)
XYZxyz(48.3987, 33.2177, 97.6087)
Luminance0.3322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77AFE #B1FE7A
analogous
#857AFE #C77AFE #FE7AF3
triadic
#C77AFE #FEC77A #7AFEC7
tetradic
#C77AFE #FE857A #B1FE7A #7AF3FE
square
#C77AFE #FE857A #B1FE7A #7AF3FE
split-complementary
#C77AFE #F3FE7A #7AFE85
monochromatic
#9402FC #AD3DFE #C77AFE #E1B7FE #F2E1FF

Accessibility & contrast

On white

2.75
#C77AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#C77AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77AFE
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77AFE#FFFFFF#000000##000000
##C77AFE1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#6C9DFB
Tritanopia (blue-blind)
#C091B1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c77afe;
/* rgb */ color: rgb(199, 122, 254);
/* oklch */ color: oklch(71.5% 0.197 309.2);
Tailwind
colors: {
  custom: {
    50: '#dba3ff',
    500: '#c77afe',
    950: '#000000',
  },
}
SCSS
$custom: #c77afe;
$custom-light: #dba3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c77afe",
  "rgb": {
    "r": 199,
    "g": 122,
    "b": 254
  },
  "hsl": {
    "h": 275,
    "s": 98.507,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71473,
    "c": 0.19652,
    "h": 309.2
  },
  "luminance": 0.33217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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