Skip to content

#cc56fe

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

RGB
204, 86, 254
HSL
282°, 99%, 67%
CMYK
20, 66, 0, 0
Luminance
0.2665

At a glance

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

Hex
#cc56fe
Hue
282°
violet
Saturation
99%
electric
Lightness
67%
light
Brightness
100%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2665
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
6.33:1
Closest name
Medium Orchid
ΔE2000 6.5
Where it sits
Hue282° of 360°
Saturation99%
Lightness67%
Temperature
Warm ← → Cool60% 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#cc56fe
RGBrgb(204, 86, 254)
HSLhsl(282, 99%, 67%)
CMYKcmyk(20%, 66%, 0%, 0%)
LABlab(58.6 71.1 -63.4)
LCHlch(58.6 95.3 318.3)
OKLCHoklch(0.675 0.248 314.1)
Decimal13391614
Display P3color(display-p3 0.800 0.337 0.996)

Copy-ready code

/* CSS */
color: #cc56fe;
background-color: #cc56fe;
/* Tailwind (arbitrary) */
class="text-[#cc56fe] bg-[#cc56fe]"
/* SCSS */
$brand: #cc56fe;
/* SwiftUI */
Color(red: 0.800, green: 0.337, blue: 0.996)
/* Android */
Color.parseColor("#cc56fe")
/* Flutter */
Color(0xFFCC56FE)
/* Python / OpenCV (BGR) */
(254, 86, 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 #cc56fe · 6.33:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.32:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.33:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #cc56fe as text scores 3.32:1 on white and 6.33:1 on black.

Accessibility — WCAG contrast

Aa
#cc56fe on white: 3.32:1
AA ✗ fail · AA-large · AAA
Aa
#cc56fe on black: 6.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0087FF
deuteranopia · #4E90FA
tritanopia · #C777A3

Color scale — 50 to 950

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

#FAF1FE
#F5E3FC
#EAC0FB
#DD8FFE
#cc56fe
#BC20FE
#AB01F3
#8F01CB
#7201A2
#540675
#340349
Base = 400Lightest = 50 · #FAF1FEDarkest = 950 · #340349
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F5E3FC;
  --brand-200: #EAC0FB;
  --brand-300: #DD8FFE;
  --brand-400: #cc56fe;
  --brand-500: #BC20FE;
  --brand-600: #AB01F3;
  --brand-700: #8F01CB;
  --brand-800: #7201A2;
  --brand-900: #540675;
  --brand-950: #340349;
  --brand: #cc56fe;
  --brand-ink: #000000;
}

Colors that work with #cc56fe

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#F9F4FA
Tinted page background
Border#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#70CC00
Second voice, not a rival
Dark variant#59017F
Hover, pressed, headers
Light variant#F7E6FF
Selected rows, tints
Dark surface#1F1424
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 #cc56fe

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

Works well for
  • Headings from 24px up on white
  • 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
  • Small text on white — under 4.5:1
  • 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#88FE56
Analogous left#7856FE
Analogous right#FE56DC
Split-complement 1#DCFE56
Split-complement 2#56FE78
Triadic 1#FECC56
Triadic 2#56FECC
Tetradic#FE7856

RGB percentages

Red80.0%
Green33.7%
Blue99.6%

CMYK percentages

Cyan19.7%
Magenta66.1%
Yellow0.0%
Key (black)0.4%

Color previews

#cc56fe text on a black background

contrast 6.33:1

Card sample

#cc56fe text on a white background

contrast 3.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cc56fe

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.

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

#cc56fe, answered

What color is #cc56fe?

#cc56fe is a light electric violet, closest to Medium Orchid (ΔE2000 6.5). It sits at 282° on the hue wheel with 99% saturation and 67% lightness, which reads as cool.

What is the RGB value of #cc56fe?

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

Is #cc56fe a light or a dark color?

It is a mid-tone. Relative luminance is 0.2665 and perceived brightness is 61%, so black text on it reaches 6.33:1.

Should I use black or white text on #cc56fe?

Black. It scores 6.33:1 against #cc56fe, versus 3.32:1 for white — AA at any size.

What is the complementary color of #cc56fe?

#88FE56 sits directly opposite on the wheel. Softer options are the split-complements #DCFE56 and #56FE78, which give the same contrast with far less vibration.

What colors go well with #cc56fe?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #70CC00 as an accent and #59017F for hover and pressed states. For a palette, the analogous pair #7856FE and #FE56DC stays calm, while #88FE56 is the loudest partner.

What is #cc56fe in CMYK for printing?

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

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FE56F3; nudged cooler, #8E55FF.

Work with #cc56fe in the Color Lab