#C77FFE#C77FFE

#C77FFE is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.2% C 0.189 H 308.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#C77FFE
RGBrgb(199, 127, 254)
HSLhsl(274, 98%, 75%)
HSVhsv(274, 50%, 100%)
CMYKcmyk(21.7%, 50%, 0%, 0.4%)
CIE-LABlab(65.34, 50.39, -52.74)
CIE-LCHlch(65.34, 72.95, 313.70°)
OKLaboklab(72.21% 0.1177 -0.1476)
OKLCHoklch(72.21% 0.189 308.6)
XYZxyz(49.0285, 34.4773, 97.8187)
Luminance0.3448 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77FFE #B6FE7F
analogous
#887FFE #C77FFE #FE7FF5
triadic
#C77FFE #FEC77F #7FFEC7
tetradic
#C77FFE #FE887F #B6FE7F #7FF5FE
square
#C77FFE #FE887F #B6FE7F #7FF5FE
split-complementary
#C77FFE #F5FE7F #7FFE88
monochromatic
#9206FD #AC42FE #C77FFE #E2BCFE #F2E1FF

Accessibility & contrast

On white

2.66
#C77FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#C77FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77FFE
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77FFE#FFFFFF#000000##000000
##C77FFE1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#71A0FB
Tritanopia (blue-blind)
#BF95B3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c77ffe;
/* rgb */ color: rgb(199, 127, 254);
/* oklch */ color: oklch(72.2% 0.189 308.6);
Tailwind
colors: {
  custom: {
    50: '#daa6ff',
    500: '#c77ffe',
    950: '#000000',
  },
}
SCSS
$custom: #c77ffe;
$custom-light: #daa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#c77ffe",
  "rgb": {
    "r": 199,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 274.016,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72215,
    "c": 0.18884,
    "h": 308.6
  },
  "luminance": 0.34477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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