Skip to content

#c64acf

a balanced, vivid magenta / pink · neutral · closest name: Medium Orchid

RGB
198, 74, 207
HSL
296°, 58%, 55%
CMYK
4, 64, 0, 19
Luminance
0.2141

At a glance

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

Hex
#c64acf
Hue
296°
magenta / pink
Saturation
58%
vivid
Lightness
55%
balanced
Brightness
81%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2141
WCAG relative
Temperature
Neutral
52/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
Black
5.28:1
Closest name
Medium Orchid
ΔE2000 2.7
Where it sits
Hue296° of 360°
Saturation58%
Lightness55%
Temperature
Warm ← → Cool52% 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#c64acf
RGBrgb(198, 74, 207)
HSLhsl(296, 58%, 55%)
CMYKcmyk(4%, 64%, 0%, 19%)
LABlab(53.4 66.0 -45.4)
LCHlch(53.4 80.1 325.5)
OKLCHoklch(0.626 0.220 325.0)
Decimal12995279
Display P3color(display-p3 0.776 0.290 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c64acf on white: 3.98:1
AA ✗ fail · AA-large · AAA
Aa
#c64acf on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3176D3
deuteranopia · #6385CC
tritanopia · #CA5E86

Color scale — 50 to 950

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

#FAF4FB
#F6E9F7
#ECCDEF
#E3A6E7
#D57ADC
#c64acf
#B833C2
#992BA1
#7B2281
#591C5E
#38123B
Base = 500Lightest = 50 · #FAF4FBDarkest = 950 · #38123B
:root {
  --brand-50: #FAF4FB;
  --brand-100: #F6E9F7;
  --brand-200: #ECCDEF;
  --brand-300: #E3A6E7;
  --brand-400: #D57ADC;
  --brand-500: #c64acf;
  --brand-600: #B833C2;
  --brand-700: #992BA1;
  --brand-800: #7B2281;
  --brand-900: #591C5E;
  --brand-950: #38123B;
  --brand: #c64acf;
  --brand-ink: #000000;
}

Colors that work with #c64acf

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#FAF4FA
Tinted page background
Border#EAC0ED
Hairlines and dividers
Muted text#954B9B
Captions on the surface
Accent#4FA626
Second voice, not a rival
Dark variant#601B65
Hover, pressed, headers
Light variant#F9EBFA
Selected rows, tints
Dark surface#231424
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 #c64acf

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#53CF4A
Analogous left#834ACF
Analogous right#CF4A96
Split-complement 1#96CF4A
Split-complement 2#4ACF83
Triadic 1#CFC64A
Triadic 2#4ACFC6
Tetradic#CF834A

RGB percentages

Red77.6%
Green29.0%
Blue81.2%

CMYK percentages

Cyan4.3%
Magenta64.3%
Yellow0.0%
Key (black)18.8%

Color previews

#c64acf text on a black background

contrast 5.28:1

Card sample

#c64acf text on a white background

contrast 3.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c64acf

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.

#c64acf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#c64acf, answered

What color is #c64acf?

#c64acf is a balanced vivid magenta / pink, closest to Medium Orchid (ΔE2000 2.7). It sits at 296° on the hue wheel with 58% saturation and 55% lightness, which reads as neutral.

What is the RGB value of #c64acf?

rgb(198, 74, 207) — 198 red, 74 green and 207 blue out of 255, or 77.6% / 29% / 81.2% by channel.

Is #c64acf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2141 and perceived brightness is 55%, so black text on it reaches 5.28:1.

Should I use black or white text on #c64acf?

Black. It scores 5.28:1 against #c64acf, versus 3.98:1 for white — AA at any size.

What is the complementary color of #c64acf?

#53CF4A sits directly opposite on the wheel. Softer options are the split-complements #96CF4A and #4ACF83, which give the same contrast with far less vibration.

What colors go well with #c64acf?

For interface work: #FAF4FA as the surface, #EAC0ED for borders, #954B9B for secondary text, #4FA626 as an accent and #601B65 for hover and pressed states. For a palette, the analogous pair #834ACF and #CF4A96 stays calm, while #53CF4A is the loudest partner.

What is #c64acf in CMYK for printing?

cmyk(4%, 64%, 0%, 19%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.

Is #c64acf warm or cool?

Neutral — it scores 52 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF4AA7; nudged cooler, #9548D1.

Work with #c64acf in the Color Lab