#C77EF2#C77EF2

#C77EF2 is a light, vivid violet. Relative luminance 0.335; OKLCH L 71.4% C 0.177 H 311.7°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#C77EF2
RGBrgb(199, 126, 242)
HSLhsl(278, 82%, 72%)
HSVhsv(278, 48%, 95%)
CMYKcmyk(17.8%, 47.9%, 0%, 5.1%)
CIE-LABlab(64.54, 48.32, -47.41)
CIE-LCHlch(64.54, 67.69, 315.55°)
OKLaboklab(71.43% 0.1178 -0.1321)
OKLCHoklch(71.43% 0.177 311.7)
XYZxyz(47.0382, 33.4756, 87.9707)
Luminance0.3347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77EF2 #A9F27E
analogous
#8D7EF2 #C77EF2 #F27EE3
triadic
#C77EF2 #F2C77E #7EF2C7
tetradic
#C77EF2 #F28D7E #A9F27E #7EE3F2
square
#C77EF2 #F28D7E #A9F27E #7EE3F2
split-complementary
#C77EF2 #E3F27E #7EF28D
monochromatic
#9516DF #AF46EC #C77EF2 #DFB6F8 #F3E3FC

Accessibility & contrast

On white

2.73
#C77EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.69
#C77EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77EF2
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77EF2#FFFFFF#000000##000000
##C77EF21.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6399F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#C290AD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c77ef2;
/* rgb */ color: rgb(199, 126, 242);
/* oklch */ color: oklch(71.4% 0.177 311.7);
Tailwind
colors: {
  custom: {
    50: '#daa5f7',
    500: '#c77ef2',
    950: '#000000',
  },
}
SCSS
$custom: #c77ef2;
$custom-light: #daa5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c77ef2",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 277.759,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71432,
    "c": 0.177,
    "h": 311.7
  },
  "luminance": 0.33475
}

Semantic roles & 50–950 ramp

primary
#C77EF2
secondary
#E2F4D7
accent
#DE0757
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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