Skip to content

#c643fe

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

RGB
198, 67, 254
HSL
282°, 99%, 63%
CMYK
22, 74, 0, 0
Luminance
0.2318

At a glance

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

Hex
#c643fe
Hue
282°
violet
Saturation
99%
electric
Lightness
63%
balanced
Brightness
100%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2318
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.64:1
Closest name
Medium Orchid
ΔE2000 6.1
Where it sits
Hue282° of 360°
Saturation99%
Lightness63%
Temperature
Warm ← → Cool60% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#c643fe
RGBrgb(198, 67, 254)
HSLhsl(282, 99%, 63%)
CMYKcmyk(22%, 74%, 0%, 0%)
LABlab(55.3 77.3 -68.9)
LCHlch(55.3 103.5 318.3)
OKLCHoklch(0.649 0.268 313.4)
Decimal12993534
Display P3color(display-p3 0.776 0.263 0.996)

Copy-ready code

/* CSS */
color: #c643fe;
background-color: #c643fe;
/* Tailwind (arbitrary) */
class="text-[#c643fe] bg-[#c643fe]"
/* SCSS */
$brand: #c643fe;
/* SwiftUI */
Color(red: 0.776, green: 0.263, blue: 0.996)
/* Android */
Color.parseColor("#c643fe")
/* Flutter */
Color(0xFFC643FE)
/* Python / OpenCV (BGR) */
(254, 67, 198)

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

Accessibility — WCAG contrast

Aa
#c643fe on white: 3.73:1
AA ✗ fail · AA-large · AAA
Aa
#c643fe on black: 5.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007EFF
deuteranopia · #3087FA
tritanopia · #C06D9E

Color scale — 50 to 950

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

#FAF1FE
#F5E3FC
#EAC0FB
#DD8FFE
#c643fe
#BB20FE
#AB01F3
#8E01CB
#7201A2
#530675
#340349
Base = 400Lightest = 50 · #FAF1FEDarkest = 950 · #340349
:root {
  --brand-50: #FAF1FE;
  --brand-100: #F5E3FC;
  --brand-200: #EAC0FB;
  --brand-300: #DD8FFE;
  --brand-400: #c643fe;
  --brand-500: #BB20FE;
  --brand-600: #AB01F3;
  --brand-700: #8E01CB;
  --brand-800: #7201A2;
  --brand-900: #530675;
  --brand-950: #340349;
  --brand: #c643fe;
  --brand-ink: #000000;
}

Colors that work with #c643fe

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#DFC0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#70CC00
Second voice, not a rival
Dark variant#59017F
Hover, pressed, headers
Light variant#F7E6FF
Selected rows, tints
Dark surface#1F1424
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 #c643fe

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#7BFE43
Analogous left#6843FE
Analogous right#FE43D9
Split-complement 1#D9FE43
Split-complement 2#43FE68
Triadic 1#FEC643
Triadic 2#43FEC6
Tetradic#FE6843

RGB percentages

Red77.6%
Green26.3%
Blue99.6%

CMYK percentages

Cyan22.0%
Magenta73.6%
Yellow0.0%
Key (black)0.4%

Color previews

#c643fe text on a black background

contrast 5.64:1

Card sample

#c643fe text on a white background

contrast 3.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(198, 67, 254, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(198, 67, 254, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c643fe;
background: linear-gradient(135deg, #c643fe, #FE43B9);

Monochromatic scale

Palettes built from #c643fe

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.

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

#c643fe, answered

What color is #c643fe?

#c643fe is a balanced electric violet, closest to Medium Orchid (ΔE2000 6.1). It sits at 282° on the hue wheel with 99% saturation and 63% lightness, which reads as cool.

What is the RGB value of #c643fe?

rgb(198, 67, 254) — 198 red, 67 green and 254 blue out of 255, or 77.6% / 26.3% / 99.6% by channel.

Is #c643fe a light or a dark color?

It is a mid-tone. Relative luminance is 0.2318 and perceived brightness is 58%, so black text on it reaches 5.64:1.

Should I use black or white text on #c643fe?

Black. It scores 5.64:1 against #c643fe, versus 3.73:1 for white — AA at any size.

What is the complementary color of #c643fe?

#7BFE43 sits directly opposite on the wheel. Softer options are the split-complements #D9FE43 and #43FE68, which give the same contrast with far less vibration.

What colors go well with #c643fe?

For interface work: #F9F4FA as the surface, #DFC0ED for borders, #834B9B for secondary text, #70CC00 as an accent and #59017F for hover and pressed states. For a palette, the analogous pair #6843FE and #FE43D9 stays calm, while #7BFE43 is the loudest partner.

What is #c643fe in CMYK for printing?

cmyk(22%, 74%, 0%, 0%). 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 #c643fe warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FE43F1; nudged cooler, #8142FF.

Work with #c643fe in the Color Lab