Skip to content

#c91fec

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

RGB
201, 31, 236
HSL
290°, 84%, 52%
CMYK
15, 87, 0, 8
Luminance
0.1945

At a glance

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

Hex
#c91fec
Hue
290°
violet
Saturation
84%
electric
Lightness
52%
balanced
Brightness
93%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1945
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.89:1
Closest name
Medium Orchid
ΔE2000 6.5
Where it sits
Hue290° of 360°
Saturation84%
Lightness52%
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#c91fec
RGBrgb(201, 31, 236)
HSLhsl(290, 84%, 52%)
CMYKcmyk(15%, 87%, 0%, 8%)
LABlab(51.2 84.1 -65.3)
LCHlch(51.2 106.5 322.2)
OKLCHoklch(0.618 0.283 319.4)
Decimal13180908
Display P3color(display-p3 0.788 0.122 0.925)

Copy-ready code

/* CSS */
color: #c91fec;
background-color: #c91fec;
/* Tailwind (arbitrary) */
class="text-[#c91fec] bg-[#c91fec]"
/* SCSS */
$brand: #c91fec;
/* SwiftUI */
Color(red: 0.788, green: 0.122, blue: 0.925)
/* Android */
Color.parseColor("#c91fec")
/* Flutter */
Color(0xFFC91FEC)
/* Python / OpenCV (BGR) */
(236, 31, 201)

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

Accessibility — WCAG contrast

Aa
#c91fec on white: 4.29:1
AA ✗ fail · AA-large · AAA
Aa
#c91fec on black: 4.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0070F1
deuteranopia · #357FE8
tritanopia · #C9558D

Color scale — 50 to 950

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

#FBF2FC
#F6E6FA
#EEC5F7
#E698F6
#DA64F2
#c91fec
#BF13E2
#9F10BC
#7F0D96
#5D0E6D
#3A0944
Base = 500Lightest = 50 · #FBF2FCDarkest = 950 · #3A0944
:root {
  --brand-50: #FBF2FC;
  --brand-100: #F6E6FA;
  --brand-200: #EEC5F7;
  --brand-300: #E698F6;
  --brand-400: #DA64F2;
  --brand-500: #c91fec;
  --brand-600: #BF13E2;
  --brand-700: #9F10BC;
  --brand-800: #7F0D96;
  --brand-900: #5D0E6D;
  --brand-950: #3A0944;
  --brand: #c91fec;
  --brand-ink: #000000;
}

Colors that work with #c91fec

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#8D4B9B
Captions on the surface
Accent#57C00C
Second voice, not a rival
Dark variant#630A76
Hover, pressed, headers
Light variant#F9E7FD
Selected rows, tints
Dark surface#221424
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 #c91fec

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#42EC1F
Analogous left#631FEC
Analogous right#EC1FA8
Split-complement 1#A8EC1F
Split-complement 2#1FEC63
Triadic 1#ECC91F
Triadic 2#1FECC9
Tetradic#EC631F

RGB percentages

Red78.8%
Green12.2%
Blue92.5%

CMYK percentages

Cyan14.8%
Magenta86.9%
Yellow0.0%
Key (black)7.5%

Color previews

#c91fec text on a black background

contrast 4.89:1

Card sample

#c91fec text on a white background

contrast 4.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 31, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 31, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c91fec;
background: linear-gradient(135deg, #c91fec, #EC1F86);

Monochromatic scale

Palettes built from #c91fec

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.

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

#c91fec, answered

What color is #c91fec?

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

What is the RGB value of #c91fec?

rgb(201, 31, 236) — 201 red, 31 green and 236 blue out of 255, or 78.8% / 12.2% / 92.5% by channel.

Is #c91fec a light or a dark color?

It is a mid-tone. Relative luminance is 0.1945 and perceived brightness is 54%, so black text on it reaches 4.89:1.

Should I use black or white text on #c91fec?

Black. It scores 4.89:1 against #c91fec, versus 4.29:1 for white — AA at any size.

What is the complementary color of #c91fec?

#42EC1F sits directly opposite on the wheel. Softer options are the split-complements #A8EC1F and #1FEC63, which give the same contrast with far less vibration.

What colors go well with #c91fec?

For interface work: #F9F4FA as the surface, #E5C0ED for borders, #8D4B9B for secondary text, #57C00C as an accent and #630A76 for hover and pressed states. For a palette, the analogous pair #631FEC and #EC1FA8 stays calm, while #42EC1F is the loudest partner.

What is #c91fec in CMYK for printing?

cmyk(15%, 87%, 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 #c91fec 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 #EC1FC4; nudged cooler, #7E1DEE.

Work with #c91fec in the Color Lab