#C77EFC#C77EFC

#C77EFC is a light, vivid violet. Relative luminance 0.341; OKLCH L 72.0% C 0.188 H 309.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#C77EFC
RGBrgb(199, 126, 252)
HSLhsl(275, 95%, 74%)
HSVhsv(275, 50%, 99%)
CMYKcmyk(21%, 50%, 0%, 1.2%)
CIE-LABlab(65.04, 50.48, -52.13)
CIE-LCHlch(65.04, 72.56, 314.08°)
OKLaboklab(71.96% 0.1189 -0.1458)
OKLCHoklch(71.96% 0.188 309.2)
XYZxyz(48.5814, 34.0928, 96.0979)
Luminance0.3409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77EFC #B3FC7E
analogous
#887EFC #C77EFC #FC7EF2
triadic
#C77EFC #FCC77E #7EFCC7
tetradic
#C77EFC #FC887E #B3FC7E #7EF2FC
square
#C77EFC #FC887E #B3FC7E #7EF2FC
split-complementary
#C77EFC #F2FC7E #7EFC88
monochromatic
#9306F9 #AD42FB #C77EFC #E1BAFD #F2E1FE

Accessibility & contrast

On white

2.69
#C77EFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#C77EFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77EFC
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77EFC#FFFFFF#000000##000000
##C77EFC1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9BFF
Deuteranopia (green-blind)
#729FF9
Tritanopia (blue-blind)
#C093B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c77efc;
/* rgb */ color: rgb(199, 126, 252);
/* oklch */ color: oklch(72.0% 0.188 309.2);
Tailwind
colors: {
  custom: {
    50: '#daa5fe',
    500: '#c77efc',
    950: '#000000',
  },
}
SCSS
$custom: #c77efc;
$custom-light: #daa5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c77efc",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 252
  },
  "hsl": {
    "h": 274.762,
    "s": 95.455,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71958,
    "c": 0.18815,
    "h": 309.2
  },
  "luminance": 0.34092
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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