Skip to content

#cc76fe

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

RGB
204, 118, 254
HSL
278°, 99%, 73%
CMYK
20, 54, 0, 0
Luminance
0.3295

At a glance

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

Hex
#cc76fe
Hue
278°
violet
Saturation
99%
electric
Lightness
73%
light
Brightness
100%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3295
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
7.59:1
Closest name
Orchid
ΔE2000 8
Where it sits
Hue278° of 360°
Saturation99%
Lightness73%
Temperature
Warm ← → Cool62% 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#cc76fe
RGBrgb(204, 118, 254)
HSLhsl(278, 99%, 73%)
CMYKcmyk(20%, 54%, 0%, 0%)
LABlab(64.1 56.3 -54.6)
LCHlch(64.1 78.5 315.9)
OKLCHoklch(0.714 0.204 311.5)
Decimal13399806
Display P3color(display-p3 0.800 0.463 0.996)

Copy-ready code

/* CSS */
color: #cc76fe;
background-color: #cc76fe;
/* Tailwind (arbitrary) */
class="text-[#cc76fe] bg-[#cc76fe]"
/* SCSS */
$brand: #cc76fe;
/* SwiftUI */
Color(red: 0.800, green: 0.463, blue: 0.996)
/* Android */
Color.parseColor("#cc76fe")
/* Flutter */
Color(0xFFCC76FE)
/* Python / OpenCV (BGR) */
(254, 118, 204)

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 #cc76fe · 7.59:1
Use #000000AAA at every size.
Aa
White text · 2.77:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.59:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #cc76fe as text scores 2.77:1 on white and 7.59:1 on black.

Accessibility — WCAG contrast

Aa
#cc76fe on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#cc76fe on black: 7.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5097FF
deuteranopia · #6D9DFB
tritanopia · #C68DAF

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #cc76fe 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.

#F9F1FE
#F3E3FC
#E6C0FB
#cc76fe
#C158FE
#AC20FD
#9A02F3
#8001CB
#6701A2
#4C0675
#2F0449
Base = 300Lightest = 50 · #F9F1FEDarkest = 950 · #2F0449
:root {
  --brand-50: #F9F1FE;
  --brand-100: #F3E3FC;
  --brand-200: #E6C0FB;
  --brand-300: #cc76fe;
  --brand-400: #C158FE;
  --brand-500: #AC20FD;
  --brand-600: #9A02F3;
  --brand-700: #8001CB;
  --brand-800: #6701A2;
  --brand-900: #4C0675;
  --brand-950: #2F0449;
  --brand: #cc76fe;
  --brand-ink: #000000;
}

Colors that work with #cc76fe

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#DCC0ED
Hairlines and dividers
Muted text#7D4B9B
Captions on the surface
Accent#7ECC00
Second voice, not a rival
Dark variant#50017F
Hover, pressed, headers
Light variant#F6E6FF
Selected rows, tints
Dark surface#1E1424
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 #cc76fe

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#A8FE76
Analogous left#8876FE
Analogous right#FE76EC
Split-complement 1#ECFE76
Split-complement 2#76FE88
Triadic 1#FECC76
Triadic 2#76FECC
Tetradic#FE8876

RGB percentages

Red80.0%
Green46.3%
Blue99.6%

CMYK percentages

Cyan19.7%
Magenta53.5%
Yellow0.0%
Key (black)0.4%

Color previews

#cc76fe text on a black background

contrast 7.59:1

Card sample

#cc76fe text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc76fe

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.

#cc76fe 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.

#cc76fe, answered

What color is #cc76fe?

#cc76fe is a light electric violet, closest to Orchid (ΔE2000 8). It sits at 278° on the hue wheel with 99% saturation and 73% lightness, which reads as cool.

What is the RGB value of #cc76fe?

rgb(204, 118, 254) — 204 red, 118 green and 254 blue out of 255, or 80% / 46.3% / 99.6% by channel.

Is #cc76fe a light or a dark color?

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

Should I use black or white text on #cc76fe?

Black. It scores 7.59:1 against #cc76fe, versus 2.77:1 for white — AAA at any size.

What is the complementary color of #cc76fe?

#A8FE76 sits directly opposite on the wheel. Softer options are the split-complements #ECFE76 and #76FE88, which give the same contrast with far less vibration.

What colors go well with #cc76fe?

For interface work: #F8F4FA as the surface, #DCC0ED for borders, #7D4B9B for secondary text, #7ECC00 as an accent and #50017F for hover and pressed states. For a palette, the analogous pair #8876FE and #FE76EC stays calm, while #A8FE76 is the loudest partner.

What is #cc76fe in CMYK for printing?

cmyk(20%, 54%, 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 #cc76fe warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FE76FE; nudged cooler, #9975FF.

Work with #cc76fe in the Color Lab