#C77EFD#C77EFD

#C77EFD is a light, vivid violet. Relative luminance 0.342; OKLCH L 72.0% C 0.189 H 308.9°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#C77EFD
RGBrgb(199, 126, 253)
HSLhsl(274, 97%, 74%)
HSVhsv(274, 50%, 99%)
CMYKcmyk(21.3%, 50.2%, 0%, 0.8%)
CIE-LABlab(65.09, 50.70, -52.59)
CIE-LCHlch(65.09, 73.05, 313.95°)
OKLaboklab(72.01% 0.119 -0.1472)
OKLCHoklch(72.01% 0.189 308.9)
XYZxyz(48.7402, 34.1564, 96.9347)
Luminance0.3416 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77EFD #B4FD7E
analogous
#887EFD #C77EFD #FD7EF4
triadic
#C77EFD #FDC77E #7EFDC7
tetradic
#C77EFD #FD887E #B4FD7E #7EF4FD
square
#C77EFD #FD887E #B4FD7E #7EF4FD
split-complementary
#C77EFD #F4FD7E #7EFD88
monochromatic
#9305FB #AD42FC #C77EFD #E1BAFE #F2E1FF

Accessibility & contrast

On white

2.68
#C77EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#C77EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77EFD
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77EFD#FFFFFF#000000##000000
##C77EFD1.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#719FFA
Tritanopia (blue-blind)
#C094B2
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c77efd;
/* rgb */ color: rgb(199, 126, 253);
/* oklch */ color: oklch(72.0% 0.189 308.9);
Tailwind
colors: {
  custom: {
    50: '#daa5fe',
    500: '#c77efd',
    950: '#000000',
  },
}
SCSS
$custom: #c77efd;
$custom-light: #daa5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#c77efd",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 274.488,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72011,
    "c": 0.18927,
    "h": 308.9
  },
  "luminance": 0.34156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C77EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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