#C77FEC#C77FEC

#C77FEC is a light, vivid violet. Relative luminance 0.334; OKLCH L 71.3% C 0.169 H 313.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#C77FEC
RGBrgb(199, 127, 236)
HSLhsl(280, 74%, 71%)
HSVhsv(280, 46%, 93%)
CMYKcmyk(15.7%, 46.2%, 0%, 7.5%)
CIE-LABlab(64.47, 46.52, -44.22)
CIE-LCHlch(64.47, 64.18, 316.46°)
OKLaboklab(71.28% 0.1156 -0.1229)
OKLCHoklch(71.28% 0.169 313.3)
XYZxyz(46.2804, 33.3780, 83.3452)
Luminance0.3338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77FEC #A4EC7F
analogous
#907FEC #C77FEC #EC7FDA
triadic
#C77FEC #ECC77F #7FECC7
tetradic
#C77FEC #EC907F #A4EC7F #7FDAEC
square
#C77FEC #EC907F #A4EC7F #7FDAEC
split-complementary
#C77FEC #DAEC7F #7FEC90
monochromatic
#951FD2 #B04AE4 #C77FEC #DEB4F4 #F3E4FB

Accessibility & contrast

On white

2.74
#C77FEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#C77FEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77FEC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77FEC#FFFFFF#000000##000000
##C77FEC1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6898F0
Deuteranopia (green-blind)
#7C9EE9
Tritanopia (blue-blind)
#C48FAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c77fec;
/* rgb */ color: rgb(199, 127, 236);
/* oklch */ color: oklch(71.3% 0.169 313.3);
Tailwind
colors: {
  custom: {
    50: '#daa6f2',
    500: '#c77fec',
    950: '#000000',
  },
}
SCSS
$custom: #c77fec;
$custom-light: #daa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c77fec",
  "rgb": {
    "r": 199,
    "g": 127,
    "b": 236
  },
  "hsl": {
    "h": 279.633,
    "s": 74.15,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71281,
    "c": 0.16872,
    "h": 313.3
  },
  "luminance": 0.33377
}

Semantic roles & 50–950 ramp

primary
#C77FEC
secondary
#DFF2D5
accent
#D60F53
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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