#C77EFE#C77EFE

#C77EFE is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.1% C 0.190 H 308.7°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#C77EFE
RGBrgb(199, 126, 254)
HSLhsl(274, 98%, 75%)
HSVhsv(274, 50%, 100%)
CMYKcmyk(21.7%, 50.4%, 0%, 0.4%)
CIE-LABlab(65.14, 50.92, -53.06)
CIE-LCHlch(65.14, 73.54, 313.82°)
OKLaboklab(72.07% 0.1191 -0.1486)
OKLCHoklch(72.07% 0.19 308.7)
XYZxyz(48.9000, 34.2203, 97.7758)
Luminance0.3422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77EFE #B5FE7E
analogous
#877EFE #C77EFE #FE7EF5
triadic
#C77EFE #FEC77E #7EFEC7
tetradic
#C77EFE #FE877E #B5FE7E #7EF5FE
square
#C77EFE #FE877E #B5FE7E #7EF5FE
split-complementary
#C77EFE #F5FE7E #7EFE87
monochromatic
#9205FD #AD41FE #C77EFE #E1BBFE #F2E1FF

Accessibility & contrast

On white

2.68
#C77EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#C77EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77EFE
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77EFE#FFFFFF#000000##000000
##C77EFE1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#709FFB
Tritanopia (blue-blind)
#BF94B3
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c77efe;
/* rgb */ color: rgb(199, 126, 254);
/* oklch */ color: oklch(72.1% 0.190 308.7);
Tailwind
colors: {
  custom: {
    50: '#dba5ff',
    500: '#c77efe',
    950: '#000000',
  },
}
SCSS
$custom: #c77efe;
$custom-light: #dba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c77efe",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 274.219,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72065,
    "c": 0.19039,
    "h": 308.7
  },
  "luminance": 0.3422
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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