#C777EA#C777EA

#C777EA is a light, vivid purple. Relative luminance 0.313; OKLCH L 70.0% C 0.179 H 314.7°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#C777EA
RGBrgb(199, 119, 234)
HSLhsl(282, 73%, 69%)
HSVhsv(282, 49%, 92%)
CMYKcmyk(15%, 49.1%, 0%, 8.2%)
CIE-LABlab(62.74, 50.29, -45.83)
CIE-LCHlch(62.74, 68.04, 317.66°)
OKLaboklab(69.97% 0.1263 -0.1275)
OKLCHoklch(69.97% 0.179 314.7)
XYZxyz(44.9989, 31.2775, 81.4927)
Luminance0.3128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C777EA #9AEA77
analogous
#8E77EA #C777EA #EA77D4
triadic
#C777EA #EAC777 #77EAC7
tetradic
#C777EA #EA8E77 #9AEA77 #77D4EA
square
#C777EA #EA8E77 #9AEA77 #77D4EA
split-complementary
#C777EA #D4EA77 #77EA8E
monochromatic
#941FC8 #B142E2 #C777EA #DDACF2 #F3E1FA

Accessibility & contrast

On white

2.89
#C777EA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#C777EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C777EA
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C777EA#FFFFFF#000000##000000
##C777EA1.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E93EE
Deuteranopia (green-blind)
#769AE7
Tritanopia (blue-blind)
#C589A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #c777ea;
/* rgb */ color: rgb(199, 119, 234);
/* oklch */ color: oklch(70.0% 0.179 314.7);
Tailwind
colors: {
  custom: {
    50: '#daa0f1',
    500: '#c777ea',
    950: '#000000',
  },
}
SCSS
$custom: #c777ea;
$custom-light: #daa0f1;
$custom-dark: #000000;
JSON
{
  "hex": "#c777ea",
  "rgb": {
    "r": 199,
    "g": 119,
    "b": 234
  },
  "hsl": {
    "h": 281.739,
    "s": 73.248,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69968,
    "c": 0.17945,
    "h": 314.7
  },
  "luminance": 0.31276
}

Semantic roles & 50–950 ramp

primary
#C777EA
secondary
#D8EFCE
accent
#D5104C
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #C777EA

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

Preview Lab → · Contrast checker → · Palette generator →

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