Skip to content

#c221eb

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

RGB
194, 33, 235
HSL
288°, 84%, 53%
CMYK
17, 86, 0, 8
Luminance
0.1856

At a glance

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

Hex
#c221eb
Hue
288°
violet
Saturation
84%
electric
Lightness
53%
balanced
Brightness
92%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1856
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.71:1
Closest name
Medium Orchid
ΔE2000 6.9
Where it sits
Hue288° of 360°
Saturation84%
Lightness53%
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#c221eb
RGBrgb(194, 33, 235)
HSLhsl(288, 84%, 53%)
CMYKcmyk(17%, 86%, 0%, 8%)
LABlab(50.2 82.5 -66.5)
LCHlch(50.2 105.9 321.1)
OKLCHoklch(0.608 0.279 317.7)
Decimal12722667
Display P3color(display-p3 0.761 0.129 0.922)

Copy-ready code

/* CSS */
color: #c221eb;
background-color: #c221eb;
/* Tailwind (arbitrary) */
class="text-[#c221eb] bg-[#c221eb]"
/* SCSS */
$brand: #c221eb;
/* SwiftUI */
Color(red: 0.761, green: 0.129, blue: 0.922)
/* Android */
Color.parseColor("#c221eb")
/* Flutter */
Color(0xFFC221EB)
/* Python / OpenCV (BGR) */
(235, 33, 194)

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

Accessibility — WCAG contrast

Aa
#c221eb on white: 4.46:1
AA ✗ fail · AA-large · AAA
Aa
#c221eb on black: 4.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #006EF0
deuteranopia · #297CE7
tritanopia · #C0578D

Color scale — 50 to 950

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

#FAF2FC
#F6E6FA
#ECC5F6
#E398F6
#D565F1
#c221eb
#B714E1
#9911BB
#7A0D96
#590E6C
#380944
Base = 500Lightest = 50 · #FAF2FCDarkest = 950 · #380944
:root {
  --brand-50: #FAF2FC;
  --brand-100: #F6E6FA;
  --brand-200: #ECC5F6;
  --brand-300: #E398F6;
  --brand-400: #D565F1;
  --brand-500: #c221eb;
  --brand-600: #B714E1;
  --brand-700: #9911BB;
  --brand-800: #7A0D96;
  --brand-900: #590E6C;
  --brand-950: #380944;
  --brand: #c221eb;
  --brand-ink: #000000;
}

Colors that work with #c221eb

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#8B4B9B
Captions on the surface
Accent#5EBF0D
Second voice, not a rival
Dark variant#5F0B75
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 #c221eb

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#4AEB21
Analogous left#5D21EB
Analogous right#EB21AF
Split-complement 1#AFEB21
Split-complement 2#21EB5D
Triadic 1#EBC221
Triadic 2#21EBC2
Tetradic#EB5D21

RGB percentages

Red76.1%
Green12.9%
Blue92.2%

CMYK percentages

Cyan17.4%
Magenta86.0%
Yellow0.0%
Key (black)7.8%

Color previews

#c221eb text on a black background

contrast 4.71:1

Card sample

#c221eb text on a white background

contrast 4.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c221eb

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.

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

#c221eb, answered

What color is #c221eb?

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

What is the RGB value of #c221eb?

rgb(194, 33, 235) — 194 red, 33 green and 235 blue out of 255, or 76.1% / 12.9% / 92.2% by channel.

Is #c221eb a light or a dark color?

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

Should I use black or white text on #c221eb?

Black. It scores 4.71:1 against #c221eb, versus 4.46:1 for white — AA at any size.

What is the complementary color of #c221eb?

#4AEB21 sits directly opposite on the wheel. Softer options are the split-complements #AFEB21 and #21EB5D, which give the same contrast with far less vibration.

What colors go well with #c221eb?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5EBF0D as an accent and #5F0B75 for hover and pressed states. For a palette, the analogous pair #5D21EB and #EB21AF stays calm, while #4AEB21 is the loudest partner.

What is #c221eb in CMYK for printing?

cmyk(17%, 86%, 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 #c221eb 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 #EB21CA; nudged cooler, #771EED.

Work with #c221eb in the Color Lab