#C77FEE#C77FEE

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

Color values

HEX#C77FEE
RGBrgb(199, 127, 238)
HSLhsl(279, 77%, 72%)
HSVhsv(279, 47%, 93%)
CMYKcmyk(16.4%, 46.6%, 0%, 6.7%)
CIE-LABlab(64.56, 46.95, -45.18)
CIE-LCHlch(64.56, 65.15, 316.10°)
OKLaboklab(71.38% 0.1159 -0.1257)
OKLCHoklch(71.38% 0.171 312.7)
XYZxyz(46.5725, 33.4949, 84.8841)
Luminance0.3349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77FEE #A6EE7F
analogous
#907FEE #C77FEE #EE7FDE
triadic
#C77FEE #EEC77F #7FEEC7
tetradic
#C77FEE #EE907F #A6EE7F #7FDEEE
square
#C77FEE #EE907F #A6EE7F #7FDEEE
split-complementary
#C77FEE #DEEE7F #7FEE90
monochromatic
#951CD6 #AF49E7 #C77FEE #DFB5F5 #F3E4FB

Accessibility & contrast

On white

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

On black

7.70
#C77FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77FEE
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77FEE#FFFFFF#000000##000000
##C77FEE1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F2
Deuteranopia (green-blind)
#7B9EEB
Tritanopia (blue-blind)
#C390AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c77fee;
/* rgb */ color: rgb(199, 127, 238);
/* oklch */ color: oklch(71.4% 0.171 312.7);
Tailwind
colors: {
  custom: {
    50: '#daa6f4',
    500: '#c77fee',
    950: '#000000',
  },
}
SCSS
$custom: #c77fee;
$custom-light: #daa6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#c77fee",
  "rgb": {
    "r": 199,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 278.919,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71381,
    "c": 0.17095,
    "h": 312.7
  },
  "luminance": 0.33494
}

Semantic roles & 50–950 ramp

primary
#C77FEE
secondary
#E0F3D6
accent
#D90D54
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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