#C77EFA#C77EFA

#C77EFA is a light, vivid violet. Relative luminance 0.340; OKLCH L 71.9% C 0.186 H 309.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#C77EFA
RGBrgb(199, 126, 250)
HSLhsl(275, 93%, 74%)
HSVhsv(275, 50%, 98%)
CMYKcmyk(20.4%, 49.6%, 0%, 2%)
CIE-LABlab(64.94, 50.04, -51.19)
CIE-LCHlch(64.94, 71.59, 314.35°)
OKLaboklab(71.85% 0.1187 -0.1431)
OKLCHoklch(71.85% 0.186 309.7)
XYZxyz(48.2661, 33.9667, 94.4375)
Luminance0.3397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C77EFA #B1FA7E
analogous
#897EFA #C77EFA #FA7EEF
triadic
#C77EFA #FAC77E #7EFAC7
tetradic
#C77EFA #FA897E #B1FA7E #7EEFFA
square
#C77EFA #FA897E #B1FA7E #7EEFFA
split-complementary
#C77EFA #EFFA7E #7EFA89
monochromatic
#9409F4 #AD43F8 #C77EFA #E1B9FC #F2E2FE

Accessibility & contrast

On white

2.69
#C77EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#C77EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C77EFA
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C77EFA#FFFFFF#000000##000000
##C77EFA1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9AFE
Deuteranopia (green-blind)
#739FF7
Tritanopia (blue-blind)
#C093B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #c77efa;
/* rgb */ color: rgb(199, 126, 250);
/* oklch */ color: oklch(71.9% 0.186 309.7);
Tailwind
colors: {
  custom: {
    50: '#daa5fc',
    500: '#c77efa',
    950: '#000000',
  },
}
SCSS
$custom: #c77efa;
$custom-light: #daa5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#c77efa",
  "rgb": {
    "r": 199,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 275.323,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.71851,
    "c": 0.18591,
    "h": 309.7
  },
  "luminance": 0.33966
}

Semantic roles & 50–950 ramp

primary
#C77EFA
secondary
#E3F6D5
accent
#E6005E
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #C77EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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