Skip to content

#c77dfe

a light, electric violet · cool · closest name: Violet

RGB
199, 125, 254
HSL
274°, 99%, 74%
CMYK
22, 51, 0, 0
Luminance
0.3397

At a glance

Every number on this page in one read: what #c77dfe is made of, how bright it looks, and which way it leans.

Hex
#c77dfe
Hue
274°
violet
Saturation
99%
electric
Lightness
74%
light
Brightness
100%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3397
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.79:1
Closest name
Violet
ΔE2000 8.8
Where it sits
Hue274° of 360°
Saturation99%
Lightness74%
Temperature
Warm ← → Cool64% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#c77dfe
RGBrgb(199, 125, 254)
HSLhsl(274, 99%, 74%)
CMYKcmyk(22%, 51%, 0%, 0%)
LABlab(64.9 51.4 -53.4)
LCHlch(64.9 74.1 313.9)
OKLCHoklch(0.719 0.192 308.8)
Decimal13073918
Display P3color(display-p3 0.780 0.490 0.996)

Copy-ready code

/* CSS */
color: #c77dfe;
background-color: #c77dfe;
/* Tailwind (arbitrary) */
class="text-[#c77dfe] bg-[#c77dfe]"
/* SCSS */
$brand: #c77dfe;
/* SwiftUI */
Color(red: 0.780, green: 0.490, blue: 0.996)
/* Android */
Color.parseColor("#c77dfe")
/* Flutter */
Color(0xFFC77DFE)
/* Python / OpenCV (BGR) */
(254, 125, 199)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #c77dfe · 7.79:1
Use #000000AAA at every size.
Aa
White text · 2.69:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.79:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #c77dfe as text scores 2.69:1 on white and 7.79:1 on black.

Accessibility — WCAG contrast

Aa
#c77dfe on white: 2.69:1
AA ✗ fail · AA-large · AAA
Aa
#c77dfe on black: 7.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #599AFF
deuteranopia · #6F9FFB
tritanopia · #C093B2

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #c77dfe is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F1FE
#F2E3FC
#E2C1FB
#c77dfe
#B758FE
#9F20FD
#8C02F3
#7502CA
#5D01A2
#450675
#2B0449
Base = 300Lightest = 50 · #F8F1FEDarkest = 950 · #2B0449
:root {
  --brand-50: #F8F1FE;
  --brand-100: #F2E3FC;
  --brand-200: #E2C1FB;
  --brand-300: #c77dfe;
  --brand-400: #B758FE;
  --brand-500: #9F20FD;
  --brand-600: #8C02F3;
  --brand-700: #7502CA;
  --brand-800: #5D01A2;
  --brand-900: #450675;
  --brand-950: #2B0449;
  --brand: #c77dfe;
  --brand-ink: #000000;
}

Colors that work with #c77dfe

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F8F4FA
Tinted page background
Border#D9C0ED
Hairlines and dividers
Muted text#794B9B
Captions on the surface
Accent#8BCC00
Second voice, not a rival
Dark variant#49017F
Hover, pressed, headers
Light variant#F4E6FF
Selected rows, tints
Dark surface#1D1424
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #c77dfe

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#B4FE7D
Analogous left#867DFE
Analogous right#FE7DF5
Split-complement 1#F5FE7D
Split-complement 2#7DFE86
Triadic 1#FEC77D
Triadic 2#7DFEC7
Tetradic#FE867D

RGB percentages

Red78.0%
Green49.0%
Blue99.6%

CMYK percentages

Cyan21.7%
Magenta50.8%
Yellow0.0%
Key (black)0.4%

Color previews

#c77dfe text on a black background

contrast 7.79:1

Card sample

#c77dfe text on a white background

contrast 2.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #c77dfe;
Background color
Panel with #c77dfe background
background-color: #c77dfe;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #c77dfe;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(199, 125, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(199, 125, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c77dfe;
background: linear-gradient(135deg, #c77dfe, #FE7DDF);

Monochromatic scale

Palettes built from #c77dfe

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#c77dfe in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#c77dfe, answered

What color is #c77dfe?

#c77dfe is a light electric violet, closest to Violet (ΔE2000 8.8). It sits at 274° on the hue wheel with 99% saturation and 74% lightness, which reads as cool.

What is the RGB value of #c77dfe?

rgb(199, 125, 254) — 199 red, 125 green and 254 blue out of 255, or 78% / 49% / 99.6% by channel.

Is #c77dfe a light or a dark color?

It is a mid-tone. Relative luminance is 0.3397 and perceived brightness is 66%, so black text on it reaches 7.79:1.

Should I use black or white text on #c77dfe?

Black. It scores 7.79:1 against #c77dfe, versus 2.69:1 for white — AAA at any size.

What is the complementary color of #c77dfe?

#B4FE7D sits directly opposite on the wheel. Softer options are the split-complements #F5FE7D and #7DFE86, which give the same contrast with far less vibration.

What colors go well with #c77dfe?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #794B9B for secondary text, #8BCC00 as an accent and #49017F for hover and pressed states. For a palette, the analogous pair #867DFE and #FE7DF5 stays calm, while #B4FE7D is the loudest partner.

What is #c77dfe in CMYK for printing?

cmyk(22%, 51%, 0%, 0%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #c77dfe warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F67DFE; nudged cooler, #977CFF.

Work with #c77dfe in the Color Lab