Skip to content

#c412eb

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

RGB
196, 18, 235
HSL
289°, 86%, 50%
CMYK
17, 92, 0, 8
Luminance
0.1817

At a glance

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

Hex
#c412eb
Hue
289°
violet
Saturation
86%
electric
Lightness
50%
balanced
Brightness
92%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1817
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.63:1
Closest name
Medium Orchid
ΔE2000 7.5
Where it sits
Hue289° of 360°
Saturation86%
Lightness50%
Temperature
Warm ← → Cool56% 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#c412eb
RGBrgb(196, 18, 235)
HSLhsl(289, 86%, 50%)
CMYKcmyk(17%, 92%, 0%, 8%)
LABlab(49.7 85.1 -67.3)
LCHlch(49.7 108.5 321.7)
OKLCHoklch(0.605 0.286 318.5)
Decimal12849899
Display P3color(display-p3 0.769 0.071 0.922)

Copy-ready code

/* CSS */
color: #c412eb;
background-color: #c412eb;
/* Tailwind (arbitrary) */
class="text-[#c412eb] bg-[#c412eb]"
/* SCSS */
$brand: #c412eb;
/* SwiftUI */
Color(red: 0.769, green: 0.071, blue: 0.922)
/* Android */
Color.parseColor("#c412eb")
/* Flutter */
Color(0xFFC412EB)
/* Python / OpenCV (BGR) */
(235, 18, 196)

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

Accessibility — WCAG contrast

Aa
#c412eb on white: 4.53:1
AA ✓ pass · AA-large · AAA
Aa
#c412eb on black: 4.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006CF0
deuteranopia · #257BE7
tritanopia · #C3528B

Color scale — 50 to 950

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

#FBF2FD
#F6E5FA
#EEC5F7
#E697F7
#D963F3
#CC2FEF
#c412eb
#9E0EBE
#7E0C98
#5C0D6E
#3A0844
Base = 600Lightest = 50 · #FBF2FDDarkest = 950 · #3A0844
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F6E5FA;
  --brand-200: #EEC5F7;
  --brand-300: #E697F7;
  --brand-400: #D963F3;
  --brand-500: #CC2FEF;
  --brand-600: #c412eb;
  --brand-700: #9E0EBE;
  --brand-800: #7E0C98;
  --brand-900: #5C0D6E;
  --brand-950: #3A0844;
  --brand: #c412eb;
  --brand-ink: #000000;
}

Colors that work with #c412eb

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#E5C0ED
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#59C10B
Second voice, not a rival
Dark variant#630976
Hover, pressed, headers
Light variant#F9E7FD
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 #c412eb

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#39EB12
Analogous left#5712EB
Analogous right#EB12A6
Split-complement 1#A6EB12
Split-complement 2#12EB57
Triadic 1#EBC412
Triadic 2#12EBC4
Tetradic#EB5712

RGB percentages

Red76.9%
Green7.1%
Blue92.2%

CMYK percentages

Cyan16.6%
Magenta92.3%
Yellow0.0%
Key (black)7.8%

Color previews

#c412eb text on a black background

contrast 4.63:1

Card sample

#c412eb text on a white background

contrast 4.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 18, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 18, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c412eb;
background: linear-gradient(135deg, #c412eb, #EB1281);

Monochromatic scale

Palettes built from #c412eb

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.

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

#c412eb, answered

What color is #c412eb?

#c412eb is a balanced electric violet, closest to Medium Orchid (ΔE2000 7.5). It sits at 289° on the hue wheel with 86% saturation and 50% lightness, which reads as neutral.

What is the RGB value of #c412eb?

rgb(196, 18, 235) — 196 red, 18 green and 235 blue out of 255, or 76.9% / 7.1% / 92.2% by channel.

Is #c412eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.1817 and perceived brightness is 53%, so black text on it reaches 4.63:1.

Should I use black or white text on #c412eb?

Black. It scores 4.63:1 against #c412eb, versus 4.53:1 for white — AA at any size.

What is the complementary color of #c412eb?

#39EB12 sits directly opposite on the wheel. Softer options are the split-complements #A6EB12 and #12EB57, which give the same contrast with far less vibration.

What colors go well with #c412eb?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8C4B9B for secondary text, #59C10B as an accent and #630976 for hover and pressed states. For a palette, the analogous pair #5712EB and #EB12A6 stays calm, while #39EB12 is the loudest partner.

What is #c412eb in CMYK for printing?

cmyk(17%, 92%, 0%, 8%). 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 #c412eb warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EB12C2; nudged cooler, #740FEE.

Work with #c412eb in the Color Lab