Skip to content

#af63c4

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

RGB
175, 99, 196
HSL
287°, 45%, 58%
CMYK
11, 50, 0, 23
Luminance
0.2202

At a glance

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

Hex
#af63c4
Hue
287°
violet
Saturation
45%
vivid
Lightness
58%
balanced
Brightness
77%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2202
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.40:1
Closest name
Medium Orchid
ΔE2000 3.9
Where it sits
Hue287° of 360°
Saturation45%
Lightness58%
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#af63c4
RGBrgb(175, 99, 196)
HSLhsl(287, 45%, 58%)
CMYKcmyk(11%, 50%, 0%, 23%)
LABlab(54.0 46.3 -38.3)
LCHlch(54.0 60.0 320.4)
OKLCHoklch(0.623 0.161 318.6)
Decimal11494340
Display P3color(display-p3 0.686 0.388 0.769)

Copy-ready code

/* CSS */
color: #af63c4;
background-color: #af63c4;
/* Tailwind (arbitrary) */
class="text-[#af63c4] bg-[#af63c4]"
/* SCSS */
$brand: #af63c4;
/* SwiftUI */
Color(red: 0.686, green: 0.388, blue: 0.769)
/* Android */
Color.parseColor("#af63c4")
/* Flutter */
Color(0xFFAF63C4)
/* Python / OpenCV (BGR) */
(196, 99, 175)

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

Accessibility — WCAG contrast

Aa
#af63c4 on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#af63c4 on black: 5.40:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #527CC7
deuteranopia · #6884C1
tritanopia · #AF718A

Color scale — 50 to 950

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

#F9F5FA
#F3EAF5
#E5D1EB
#D5AEE0
#C085D1
#af63c4
#9A43B2
#803894
#662D76
#4C2457
#2F1636
Base = 500Lightest = 50 · #F9F5FADarkest = 950 · #2F1636
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F3EAF5;
  --brand-200: #E5D1EB;
  --brand-300: #D5AEE0;
  --brand-400: #C085D1;
  --brand-500: #af63c4;
  --brand-600: #9A43B2;
  --brand-700: #803894;
  --brand-800: #662D76;
  --brand-900: #4C2457;
  --brand-950: #2F1636;
  --brand: #af63c4;
  --brand-ink: #000000;
}

Colors that work with #af63c4

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#E1C4E9
Hairlines and dividers
Muted text#8A4B9B
Captions on the surface
Accent#639834
Second voice, not a rival
Dark variant#50235D
Hover, pressed, headers
Light variant#F6ECF8
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 #af63c4

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#78C463
Analogous left#7E63C4
Analogous right#C463A8
Split-complement 1#A8C463
Split-complement 2#63C47E
Triadic 1#C4AF63
Triadic 2#63C4AF
Tetradic#C47E63

RGB percentages

Red68.6%
Green38.8%
Blue76.9%

CMYK percentages

Cyan10.7%
Magenta49.5%
Yellow0.0%
Key (black)23.1%

Color previews

#af63c4 text on a black background

contrast 5.40:1

Card sample

#af63c4 text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 99, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 99, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af63c4;
background: linear-gradient(135deg, #af63c4, #C46398);

Monochromatic scale

Palettes built from #af63c4

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.

#af63c4 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

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

#af63c4, answered

What color is #af63c4?

#af63c4 is a balanced vivid violet, closest to Medium Orchid (ΔE2000 3.9). It sits at 287° on the hue wheel with 45% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #af63c4?

rgb(175, 99, 196) — 175 red, 99 green and 196 blue out of 255, or 68.6% / 38.8% / 76.9% by channel.

Is #af63c4 a light or a dark color?

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

Should I use black or white text on #af63c4?

Black. It scores 5.40:1 against #af63c4, versus 3.89:1 for white — AA at any size.

What is the complementary color of #af63c4?

#78C463 sits directly opposite on the wheel. Softer options are the split-complements #A8C463 and #63C47E, which give the same contrast with far less vibration.

What colors go well with #af63c4?

For interface work: #F9F4FA as the surface, #E1C4E9 for borders, #8A4B9B for secondary text, #639834 as an accent and #50235D for hover and pressed states. For a palette, the analogous pair #7E63C4 and #C463A8 stays calm, while #78C463 is the loudest partner.

What is #af63c4 in CMYK for printing?

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

Is #af63c4 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 #C463B5; nudged cooler, #8B61C6.

Work with #af63c4 in the Color Lab