#C77DEC#C77DEC

#C77DEC is a light, vivid purple. Relative luminance 0.329; OKLCH L 71.0% C 0.172 H 313.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#C77DEC
RGBrgb(199, 125, 236)
HSLhsl(280, 74%, 71%)
HSVhsv(280, 47%, 93%)
CMYKcmyk(15.7%, 47%, 0%, 7.5%)
CIE-LABlab(64.05, 47.58, -44.87)
CIE-LCHlch(64.05, 65.40, 316.68°)
OKLaboklab(70.97% 0.1184 -0.1248)
OKLCHoklch(70.97% 0.172 313.5)
XYZxyz(46.0246, 32.8666, 83.2600)
Luminance0.3286 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77DEC #A2EC7D
analogous
#8F7DEC #C77DEC #EC7DD9
triadic
#C77DEC #ECC77D #7DECC7
tetradic
#C77DEC #EC8F7D #A2EC7D #7DD9EC
square
#C77DEC #EC8F7D #A2EC7D #7DD9EC
split-complementary
#C77DEC #D9EC7D #7DEC8F
monochromatic
#951ED0 #B048E4 #C77DEC #DEB2F4 #F3E4FB

Accessibility & contrast

On white

2.77
#C77DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#C77DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77DEC
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77DEC#FFFFFF#000000##000000
##C77DEC1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#7A9DE9
Tritanopia (blue-blind)
#C48EAA
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #c77dec;
/* rgb */ color: rgb(199, 125, 236);
/* oklch */ color: oklch(71.0% 0.172 313.5);
Tailwind
colors: {
  custom: {
    50: '#daa4f2',
    500: '#c77dec',
    950: '#000000',
  },
}
SCSS
$custom: #c77dec;
$custom-light: #daa4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#c77dec",
  "rgb": {
    "r": 199,
    "g": 125,
    "b": 236
  },
  "hsl": {
    "h": 280,
    "s": 74.497,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70973,
    "c": 0.17198,
    "h": 313.5
  },
  "luminance": 0.32865
}

Semantic roles & 50–950 ramp

primary
#C77DEC
secondary
#DDF1D3
accent
#D70F51
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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