#C77FF2#C77FF2

#C77FF2 is a light, vivid violet. Relative luminance 0.337; OKLCH L 71.6% C 0.175 H 311.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#C77FF2
RGBrgb(199, 127, 242)
HSLhsl(278, 82%, 72%)
HSVhsv(278, 48%, 95%)
CMYKcmyk(17.8%, 47.5%, 0%, 5.1%)
CIE-LABlab(64.75, 47.80, -47.08)
CIE-LCHlch(64.75, 67.09, 315.43°)
OKLaboklab(71.58% 0.1164 -0.1312)
OKLCHoklch(71.58% 0.175 311.6)
XYZxyz(47.1667, 33.7326, 88.0135)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77FF2 #AAF27F
analogous
#8D7FF2 #C77FF2 #F27FE4
triadic
#C77FF2 #F2C77F #7FF2C7
tetradic
#C77FF2 #F28D7F #AAF27F #7FE4F2
square
#C77FF2 #F28D7F #AAF27F #7FE4F2
split-complementary
#C77FF2 #E4F27F #7FF28D
monochromatic
#9517E0 #AF47EC #C77FF2 #DFB7F8 #F3E3FC

Accessibility & contrast

On white

2.71
#C77FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#C77FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77FF2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77FF2#FFFFFF#000000##000000
##C77FF21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6499F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#C291AD
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #c77ff2;
/* rgb */ color: rgb(199, 127, 242);
/* oklch */ color: oklch(71.6% 0.175 311.6);
Tailwind
colors: {
  custom: {
    50: '#daa6f7',
    500: '#c77ff2',
    950: '#000000',
  },
}
SCSS
$custom: #c77ff2;
$custom-light: #daa6f7;
$custom-dark: #000000;
JSON
{
  "hex": "#c77ff2",
  "rgb": {
    "r": 199,
    "g": 127,
    "b": 242
  },
  "hsl": {
    "h": 277.565,
    "s": 81.56,
    "l": 72.353
  },
  "oklch": {
    "l": 0.71585,
    "c": 0.1754,
    "h": 311.6
  },
  "luminance": 0.33732
}

Semantic roles & 50–950 ramp

primary
#C77FF2
secondary
#E2F4D7
accent
#DE0858
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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