#C77FFD#C77FFD

#C77FFD is a light, vivid violet. Relative luminance 0.344; OKLCH L 72.2% C 0.188 H 308.8°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#C77FFD
RGBrgb(199, 127, 253)
HSLhsl(274, 97%, 75%)
HSVhsv(274, 50%, 99%)
CMYKcmyk(21.3%, 49.8%, 0%, 0.8%)
CIE-LABlab(65.29, 50.17, -52.27)
CIE-LCHlch(65.29, 72.46, 313.83°)
OKLaboklab(72.16% 0.1177 -0.1463)
OKLCHoklch(72.16% 0.188 308.8)
XYZxyz(48.8688, 34.4134, 96.9775)
Luminance0.3441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77FFD #B5FD7F
analogous
#887FFD #C77FFD #FD7FF4
triadic
#C77FFD #FDC77F #7FFDC7
tetradic
#C77FFD #FD887F #B5FD7F #7FF4FD
square
#C77FFD #FD887F #B5FD7F #7FF4FD
split-complementary
#C77FFD #F4FD7F #7FFD88
monochromatic
#9206FB #AD43FC #C77FFD #E1BBFE #F2E1FF

Accessibility & contrast

On white

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

On black

7.88
#C77FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77FFD
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77FFD#FFFFFF#000000##000000
##C77FFD1.002.667.887.88
#FFFFFF2.661.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9BFF
Deuteranopia (green-blind)
#72A0FA
Tritanopia (blue-blind)
#C094B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c77ffd;
/* rgb */ color: rgb(199, 127, 253);
/* oklch */ color: oklch(72.2% 0.188 308.8);
Tailwind
colors: {
  custom: {
    50: '#daa6fe',
    500: '#c77ffd',
    950: '#000000',
  },
}
SCSS
$custom: #c77ffd;
$custom-light: #daa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c77ffd",
  "rgb": {
    "r": 199,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 274.286,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72162,
    "c": 0.18772,
    "h": 308.8
  },
  "luminance": 0.34413
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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