#C77EF6#C77EF6

#C77EF6 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.6% C 0.181 H 310.7°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#C77EF6
RGBrgb(199, 126, 246)
HSLhsl(277, 87%, 73%)
HSVhsv(277, 49%, 96%)
CMYKcmyk(19.1%, 48.8%, 0%, 3.5%)
CIE-LABlab(64.74, 49.18, -49.30)
CIE-LCHlch(64.74, 69.64, 314.93°)
OKLaboklab(71.64% 0.1182 -0.1376)
OKLCHoklch(71.64% 0.181 310.7)
XYZxyz(47.6456, 33.7185, 91.1693)
Luminance0.3372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77EF6 #ADF67E
analogous
#8B7EF6 #C77EF6 #F67EE9
triadic
#C77EF6 #F6C77E #7EF6C7
tetradic
#C77EF6 #F68B7E #ADF67E #7EE9F6
square
#C77EF6 #F68B7E #ADF67E #7EE9F6
split-complementary
#C77EF6 #E9F67E #7EF68B
monochromatic
#9410E9 #AE45F2 #C77EF6 #E0B7FA #F3E2FD

Accessibility & contrast

On white

2.71
#C77EF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#C77EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77EF6
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77EF6#FFFFFF#000000##000000
##C77EF61.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609AFA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#C192AF
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c77ef6;
/* rgb */ color: rgb(199, 126, 246);
/* oklch */ color: oklch(71.6% 0.181 310.7);
Tailwind
colors: {
  custom: {
    50: '#daa5f9',
    500: '#c77ef6',
    950: '#000000',
  },
}
SCSS
$custom: #c77ef6;
$custom-light: #daa5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#c77ef6",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 276.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.7164,
    "c": 0.18145,
    "h": 310.7
  },
  "luminance": 0.33718
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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