#c104f0
a balanced, electric violet · neutral · closest name: Dark Orchid
At a glance
Every number on this page in one read: what #c104f0 is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #c104f0 |
| RGB | rgb(193, 4, 240) |
| HSL | hsl(288, 97%, 48%) |
| CMYK | cmyk(20%, 98%, 0%, 6%) |
| LAB | lab(49.1 86.8 -71.0) |
| LCH | lch(49.1 112.1 320.7) |
| OKLCH | oklch(0.602 0.292 316.7) |
| Decimal | 12649712 |
| Display P3 | color(display-p3 0.757 0.016 0.941) |
Copy-ready code
/* CSS */
color: #c104f0;
background-color: #c104f0;
/* Tailwind (arbitrary) */
class="text-[#c104f0] bg-[#c104f0]"
/* SCSS */
$brand: #c104f0;
/* SwiftUI */
Color(red: 0.757, green: 0.016, blue: 0.941)
/* Android */
Color.parseColor("#c104f0")
/* Flutter */
Color(0xFFC104F0)
/* Python / OpenCV (BGR) */
(240, 4, 193)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #c104f0 is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FBF1FD;
--brand-100: #F7E4FC;
--brand-200: #EFC1FB;
--brand-300: #E891FD;
--brand-400: #DC59FC;
--brand-500: #D022FB;
--brand-600: #c104f0;
--brand-700: #A203C9;
--brand-800: #8103A1;
--brand-900: #5E0774;
--brand-950: #3B0448;
--brand: #c104f0;
--brand-ink: #ffffff;
}Colors that work with #c104f0
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #c104f0
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Brand accents, badges and data highlights
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠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 | #33F004 | Directly opposite — maximum tension | |
| Analogous left | #4B04F0 | Neighbour, quieter | |
| Analogous right | #F004A9 | Neighbour, quieter | |
| Split-complement 1 | #A9F004 | Contrast without the clash | |
| Split-complement 2 | #04F04B | Contrast without the clash | |
| Triadic 1 | #F0C104 | Even thirds — balanced and loud | |
| Triadic 2 | #04F0C1 | Even thirds — balanced and loud | |
| Tetradic | #F04B04 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#c104f0 text on a black background
contrast 4.54:1
#c104f0 text on a white background
contrast 4.62:1
CSS3 live lab
The quick brown fox
color: #c104f0;
background-color: #c104f0;
Glowing headline
text-shadow: 2px 2px 8px #c104f0;
Soft neon halo
text-shadow: 0 0 14px rgba(193, 4, 240, 0.45);
box-shadow: 0 12px 32px -8px rgba(193, 4, 240, 0.45);
border: 3px solid #c104f0; background: linear-gradient(135deg, #c104f0, #F00481);
Monochromatic scale
Palettes built from #c104f0
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.
Closest color with a full write-up: Magenta (#ff00ff) — ΔE2000 11.8 away, with its history, psychology and brand usage.
#c104f0 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#c104f0, answered
What color is #c104f0?
#c104f0 is a balanced electric violet, closest to Dark Orchid (ΔE2000 7.3). It sits at 288° on the hue wheel with 97% saturation and 48% lightness, which reads as neutral.
What is the RGB value of #c104f0?
rgb(193, 4, 240) — 193 red, 4 green and 240 blue out of 255, or 75.7% / 1.6% / 94.1% by channel.
Is #c104f0 a light or a dark color?
It is a dark color. Relative luminance is 0.1772 and perceived brightness is 52%, so white text on it reaches 4.62:1.
Should I use black or white text on #c104f0?
White. It scores 4.62:1 against #c104f0, versus 4.54:1 for black — AA at any size.
What is the complementary color of #c104f0?
#33F004 sits directly opposite on the wheel. Softer options are the split-complements #A9F004 and #04F04B, which give the same contrast with far less vibration.
What colors go well with #c104f0?
For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5BCC00 as an accent and #65027D for hover and pressed states. For a palette, the analogous pair #4B04F0 and #F004A9 stays calm, while #33F004 is the loudest partner.
What is #c104f0 in CMYK for printing?
cmyk(20%, 98%, 0%, 6%). 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 #c104f0 warm or cool?
Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F004C8; nudged cooler, #6A02F2.