Skip to content

#c32fef

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

RGB
195, 47, 239
HSL
286°, 86%, 56%
CMYK
18, 80, 0, 6
Luminance
0.1987

At a glance

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

Hex
#c32fef
Hue
286°
violet
Saturation
86%
electric
Lightness
56%
balanced
Brightness
94%
HSV value
Perceived
54%
weighted brightness
Luminance
0.1987
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.97:1
Closest name
Medium Orchid
ΔE2000 6
Where it sits
Hue286° of 360°
Saturation86%
Lightness56%
Temperature
Warm ← → Cool58% 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#c32fef
RGBrgb(195, 47, 239)
HSLhsl(286, 86%, 56%)
CMYKcmyk(18%, 80%, 0%, 6%)
LABlab(51.7 80.1 -66.3)
LCHlch(51.7 104.0 320.4)
OKLCHoklch(0.620 0.273 316.7)
Decimal12791791
Display P3color(display-p3 0.765 0.184 0.937)

Copy-ready code

/* CSS */
color: #c32fef;
background-color: #c32fef;
/* Tailwind (arbitrary) */
class="text-[#c32fef] bg-[#c32fef]"
/* SCSS */
$brand: #c32fef;
/* SwiftUI */
Color(red: 0.765, green: 0.184, blue: 0.937)
/* Android */
Color.parseColor("#c32fef")
/* Flutter */
Color(0xFFC32FEF)
/* Python / OpenCV (BGR) */
(239, 47, 195)

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

Accessibility — WCAG contrast

Aa
#c32fef on white: 4.22:1
AA ✗ fail · AA-large · AAA
Aa
#c32fef on black: 4.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0073F4
deuteranopia · #2F7FEB
tritanopia · #C05E91

Color scale — 50 to 950

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

#FAF2FD
#F5E5FA
#EBC5F7
#E197F7
#D263F3
#c32fef
#B312E3
#950FBD
#780C98
#570D6D
#370844
Base = 500Lightest = 50 · #FAF2FDDarkest = 950 · #370844
:root {
  --brand-50: #FAF2FD;
  --brand-100: #F5E5FA;
  --brand-200: #EBC5F7;
  --brand-300: #E197F7;
  --brand-400: #D263F3;
  --brand-500: #c32fef;
  --brand-600: #B312E3;
  --brand-700: #950FBD;
  --brand-800: #780C98;
  --brand-900: #570D6D;
  --brand-950: #370844;
  --brand: #c32fef;
  --brand-ink: #000000;
}

Colors that work with #c32fef

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#E2C0ED
Hairlines and dividers
Muted text#894B9B
Captions on the surface
Accent#62C10B
Second voice, not a rival
Dark variant#5D0976
Hover, pressed, headers
Light variant#F8E7FD
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 #c32fef

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#5BEF2F
Analogous left#632FEF
Analogous right#EF2FBB
Split-complement 1#BBEF2F
Split-complement 2#2FEF63
Triadic 1#EFC32F
Triadic 2#2FEFC3
Tetradic#EF632F

RGB percentages

Red76.5%
Green18.4%
Blue93.7%

CMYK percentages

Cyan18.4%
Magenta80.3%
Yellow0.0%
Key (black)6.3%

Color previews

#c32fef text on a black background

contrast 4.97:1

Card sample

#c32fef text on a white background

contrast 4.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(195, 47, 239, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 47, 239, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c32fef;
background: linear-gradient(135deg, #c32fef, #EF2F9B);

Monochromatic scale

Palettes built from #c32fef

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.

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

#c32fef, answered

What color is #c32fef?

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

What is the RGB value of #c32fef?

rgb(195, 47, 239) — 195 red, 47 green and 239 blue out of 255, or 76.5% / 18.4% / 93.7% by channel.

Is #c32fef a light or a dark color?

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

Should I use black or white text on #c32fef?

Black. It scores 4.97:1 against #c32fef, versus 4.22:1 for white — AA at any size.

What is the complementary color of #c32fef?

#5BEF2F sits directly opposite on the wheel. Softer options are the split-complements #BBEF2F and #2FEF63, which give the same contrast with far less vibration.

What colors go well with #c32fef?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #894B9B for secondary text, #62C10B as an accent and #5D0976 for hover and pressed states. For a palette, the analogous pair #632FEF and #EF2FBB stays calm, while #5BEF2F is the loudest partner.

What is #c32fef in CMYK for printing?

cmyk(18%, 80%, 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 #c32fef warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EF2FD4; nudged cooler, #7C2DF1.

Work with #c32fef in the Color Lab