Skip to content

#c104f0

a balanced, electric violet · neutral · closest name: Dark Orchid

RGB
193, 4, 240
HSL
288°, 97%, 48%
CMYK
20, 98, 0, 6
Luminance
0.1772

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.

Hex
#c104f0
Hue
288°
violet
Saturation
97%
electric
Lightness
48%
balanced
Brightness
94%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1772
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.62:1
Closest name
Dark Orchid
ΔE2000 7.3
Where it sits
Hue288° of 360°
Saturation97%
Lightness48%
Temperature
Warm ← → Cool57% cool

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
RGBrgb(193, 4, 240)
HSLhsl(288, 97%, 48%)
CMYKcmyk(20%, 98%, 0%, 6%)
LABlab(49.1 86.8 -71.0)
LCHlch(49.1 112.1 320.7)
OKLCHoklch(0.602 0.292 316.7)
Decimal12649712
Display P3color(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.

Readable at a glance#ffffff on #c104f0 · 4.62:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.62:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.54:1
AA pass · AA large pass · AAA fail
Reading the other direction: #c104f0 as text scores 4.62:1 on white and 4.54:1 on black.

Accessibility — WCAG contrast

Aa
#c104f0 on white: 4.62:1
AA ✓ pass · AA-large · AAA
Aa
#c104f0 on black: 4.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006BF5
deuteranopia · #0079EC
tritanopia · #BE548D

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.

#FBF1FD
#F7E4FC
#EFC1FB
#E891FD
#DC59FC
#D022FB
#c104f0
#A203C9
#8103A1
#5E0774
#3B0448
Base = 600Lightest = 50 · #FBF1FDDarkest = 950 · #3B0448
: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.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5BCC00
Second voice, not a rival
Dark variant#65027D
Hover, pressed, headers
Light variant#FAE6FF
Selected rows, tints
Dark surface#211424
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 #c104f0

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

Works well for
  • 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
Use with care
  • 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
Analogous left#4B04F0
Analogous right#F004A9
Split-complement 1#A9F004
Split-complement 2#04F04B
Triadic 1#F0C104
Triadic 2#04F0C1
Tetradic#F04B04

RGB percentages

Red75.7%
Green1.6%
Blue94.1%

CMYK percentages

Cyan19.6%
Magenta98.3%
Yellow0.0%
Key (black)5.9%

Color previews

#c104f0 text on a black background

contrast 4.54:1

Card sample

#c104f0 text on a white background

contrast 4.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(193, 4, 240, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(193, 4, 240, 0.45);
Border & gradient
Gradient panel
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.

#c104f0 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
ButtonsLinksFocus statesCharts
Print note

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.

Work with #c104f0 in the Color Lab