#C77EF8#C77EF8

#C77EF8 is a light, vivid violet. Relative luminance 0.338; OKLCH L 71.7% C 0.184 H 310.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#C77EF8
RGBrgb(199, 126, 248)
HSLhsl(276, 90%, 73%)
HSVhsv(276, 49%, 97%)
CMYKcmyk(19.8%, 49.2%, 0%, 2.7%)
CIE-LABlab(64.84, 49.61, -50.25)
CIE-LCHlch(64.84, 70.61, 314.64°)
OKLaboklab(71.75% 0.1185 -0.1404)
OKLCHoklch(71.75% 0.184 310.2)
XYZxyz(47.9542, 33.8420, 92.7947)
Luminance0.3384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77EF8 #AFF87E
analogous
#8A7EF8 #C77EF8 #F87EEC
triadic
#C77EF8 #F8C77E #7EF8C7
tetradic
#C77EF8 #F88A7E #AFF87E #7EECF8
square
#C77EF8 #F88A7E #AFF87E #7EECF8
split-complementary
#C77EF8 #ECF87E #7EF88A
monochromatic
#940DEF #AE44F5 #C77EF8 #E0B8FB #F2E2FD

Accessibility & contrast

On white

2.70
#C77EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#C77EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77EF8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77EF8#FFFFFF#000000##000000
##C77EF81.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9AFC
Deuteranopia (green-blind)
#749FF5
Tritanopia (blue-blind)
#C192B0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c77ef8;
/* rgb */ color: rgb(199, 126, 248);
/* oklch */ color: oklch(71.7% 0.184 310.2);
Tailwind
colors: {
  custom: {
    50: '#daa5fb',
    500: '#c77ef8',
    950: '#000000',
  },
}
SCSS
$custom: #c77ef8;
$custom-light: #daa5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#c77ef8",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 275.902,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.71745,
    "c": 0.18368,
    "h": 310.2
  },
  "luminance": 0.33841
}

Semantic roles & 50–950 ramp

primary
#C77EF8
secondary
#E2F6D5
accent
#E6005C
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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