#C77FEB#C77FEB

#C77FEB is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.2% C 0.168 H 313.5°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#C77FEB
RGBrgb(199, 127, 235)
HSLhsl(280, 73%, 71%)
HSVhsv(280, 46%, 92%)
CMYKcmyk(15.3%, 46%, 0%, 7.8%)
CIE-LABlab(64.42, 46.31, -43.74)
CIE-LCHlch(64.42, 63.70, 316.64°)
OKLaboklab(71.23% 0.1155 -0.1215)
OKLCHoklch(71.23% 0.168 313.5)
XYZxyz(46.1355, 33.3201, 82.5822)
Luminance0.3332 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77FEB #A3EB7F
analogous
#917FEB #C77FEB #EB7FD9
triadic
#C77FEB #EBC77F #7FEBC7
tetradic
#C77FEB #EB917F #A3EB7F #7FD9EB
square
#C77FEB #EB917F #A3EB7F #7FD9EB
split-complementary
#C77FEB #D9EB7F #7FEB91
monochromatic
#9520CF #B04AE3 #C77FEB #DEB4F3 #F3E5FB

Accessibility & contrast

On white

2.74
#C77FEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#C77FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77FEB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77FEB#FFFFFF#000000##000000
##C77FEB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6998EF
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#C48FAA
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #c77feb;
/* rgb */ color: rgb(199, 127, 235);
/* oklch */ color: oklch(71.2% 0.168 313.5);
Tailwind
colors: {
  custom: {
    50: '#daa6f2',
    500: '#c77feb',
    950: '#000000',
  },
}
SCSS
$custom: #c77feb;
$custom-light: #daa6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c77feb",
  "rgb": {
    "r": 199,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 280,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71231,
    "c": 0.16762,
    "h": 313.5
  },
  "luminance": 0.33319
}

Semantic roles & 50–950 ramp

primary
#C77FEB
secondary
#DEF1D5
accent
#D51052
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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