Skip to content

#c418eb

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

RGB
196, 24, 235
HSL
289°, 84%, 51%
CMYK
17, 90, 0, 8
Luminance
0.1839

At a glance

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

Hex
#c418eb
Hue
289°
violet
Saturation
84%
electric
Lightness
51%
balanced
Brightness
92%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1839
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.68:1
Closest name
Medium Orchid
ΔE2000 7.2
Where it sits
Hue289° of 360°
Saturation84%
Lightness51%
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#c418eb
RGBrgb(196, 24, 235)
HSLhsl(289, 84%, 51%)
CMYKcmyk(17%, 90%, 0%, 8%)
LABlab(50.0 84.3 -66.8)
LCHlch(50.0 107.6 321.6)
OKLCHoklch(0.607 0.284 318.4)
Decimal12851435
Display P3color(display-p3 0.769 0.094 0.922)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c418eb on white: 4.49:1
AA ✗ fail · AA-large · AAA
Aa
#c418eb on black: 4.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006DF0
deuteranopia · #287CE7
tritanopia · #C3548C

Color scale — 50 to 950

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

#FBF2FC
#F6E6FA
#EDC5F6
#E598F6
#D764F2
#CA30ED
#c418eb
#9C10BC
#7D0D96
#5B0E6D
#390944
Base = 600Lightest = 50 · #FBF2FCDarkest = 950 · #390944
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F6E6FA;
  --brand-200: #EDC5F6;
  --brand-300: #E598F6;
  --brand-400: #D764F2;
  --brand-500: #CA30ED;
  --brand-600: #c418eb;
  --brand-700: #9C10BC;
  --brand-800: #7D0D96;
  --brand-900: #5B0E6D;
  --brand-950: #390944;
  --brand: #c418eb;
  --brand-ink: #000000;
}

Colors that work with #c418eb

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#E4C0ED
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#5AC00C
Second voice, not a rival
Dark variant#620A75
Hover, pressed, headers
Light variant#F9E8FD
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 #c418eb

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#3FEB18
Analogous left#5B18EB
Analogous right#EB18A9
Split-complement 1#A9EB18
Split-complement 2#18EB5B
Triadic 1#EBC418
Triadic 2#18EBC4
Tetradic#EB5B18

RGB percentages

Red76.9%
Green9.4%
Blue92.2%

CMYK percentages

Cyan16.6%
Magenta89.8%
Yellow0.0%
Key (black)7.8%

Color previews

#c418eb text on a black background

contrast 4.68:1

Card sample

#c418eb text on a white background

contrast 4.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c418eb

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.

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

#c418eb, answered

What color is #c418eb?

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

What is the RGB value of #c418eb?

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

Is #c418eb a light or a dark color?

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

Should I use black or white text on #c418eb?

Black. It scores 4.68:1 against #c418eb, versus 4.49:1 for white — AA at any size.

What is the complementary color of #c418eb?

#3FEB18 sits directly opposite on the wheel. Softer options are the split-complements #A9EB18 and #18EB5B, which give the same contrast with far less vibration.

What colors go well with #c418eb?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8C4B9B for secondary text, #5AC00C as an accent and #620A75 for hover and pressed states. For a palette, the analogous pair #5B18EB and #EB18A9 stays calm, while #3FEB18 is the loudest partner.

What is #c418eb in CMYK for printing?

cmyk(17%, 90%, 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 #c418eb 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 #EB18C5; nudged cooler, #7616EE.

Work with #c418eb in the Color Lab