Skip to content

#af3fc5

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

RGB
175, 63, 197
HSL
290°, 54%, 51%
CMYK
11, 68, 0, 23
Luminance
0.1670

At a glance

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

Hex
#af3fc5
Hue
290°
magenta / pink
Saturation
54%
vivid
Lightness
51%
balanced
Brightness
77%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1670
WCAG relative
Temperature
Neutral
55/100 cool
Color family
Magenta / pink
Tone
Vivid
Best ink
White
4.84:1
Closest name
Dark Orchid
ΔE2000 5.8
Where it sits
Hue290° of 360°
Saturation54%
Lightness51%
Temperature
Warm ← → Cool55% 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#af3fc5
RGBrgb(175, 63, 197)
HSLhsl(290, 54%, 51%)
CMYKcmyk(11%, 68%, 0%, 23%)
LABlab(47.9 63.3 -48.6)
LCHlch(47.9 79.8 322.5)
OKLCHoklch(0.578 0.214 320.6)
Decimal11485125
Display P3color(display-p3 0.686 0.247 0.773)

Copy-ready code

/* CSS */
color: #af3fc5;
background-color: #af3fc5;
/* Tailwind (arbitrary) */
class="text-[#af3fc5] bg-[#af3fc5]"
/* SCSS */
$brand: #af3fc5;
/* SwiftUI */
Color(red: 0.686, green: 0.247, blue: 0.773)
/* Android */
Color.parseColor("#af3fc5")
/* Flutter */
Color(0xFFAF3FC5)
/* Python / OpenCV (BGR) */
(197, 63, 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#ffffff on #af3fc5 · 4.84:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 4.84:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.34:1
AA fail · AA large pass · AAA fail
Reading the other direction: #af3fc5 as text scores 4.84:1 on white and 4.34:1 on black.

Accessibility — WCAG contrast

Aa
#af3fc5 on white: 4.84:1
AA ✓ pass · AA-large · AAA
Aa
#af3fc5 on black: 4.34:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0B6AC9
deuteranopia · #4C76C2
tritanopia · #B0577D

Color scale — 50 to 950

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

#F9F4FB
#F4E9F6
#E8CEED
#DBA9E5
#C97ED8
#B753CB
#af3fc5
#8B2F9D
#6F267D
#511F5B
#331339
Base = 600Lightest = 50 · #F9F4FBDarkest = 950 · #331339
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F4E9F6;
  --brand-200: #E8CEED;
  --brand-300: #DBA9E5;
  --brand-400: #C97ED8;
  --brand-500: #B753CB;
  --brand-600: #af3fc5;
  --brand-700: #8B2F9D;
  --brand-800: #6F267D;
  --brand-900: #511F5B;
  --brand-950: #331339;
  --brand: #af3fc5;
  --brand-ink: #ffffff;
}

Colors that work with #af3fc5

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E5C0EC
Hairlines and dividers
Muted text#8E4B9B
Captions on the surface
Accent#5CA12B
Second voice, not a rival
Dark variant#571E62
Hover, pressed, headers
Light variant#F7EBF9
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 #af3fc5

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#55C53F
Analogous left#6C3FC5
Analogous right#C53F98
Split-complement 1#98C53F
Split-complement 2#3FC56C
Triadic 1#C5AF3F
Triadic 2#3FC5AF
Tetradic#C56C3F

RGB percentages

Red68.6%
Green24.7%
Blue77.3%

CMYK percentages

Cyan11.2%
Magenta68.0%
Yellow0.0%
Key (black)22.7%

Color previews

#af3fc5 text on a black background

contrast 4.34:1

Card sample

#af3fc5 text on a white background

contrast 4.84:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af3fc5

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.

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

#af3fc5, answered

What color is #af3fc5?

#af3fc5 is a balanced vivid magenta / pink, closest to Dark Orchid (ΔE2000 5.8). It sits at 290° on the hue wheel with 54% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #af3fc5?

rgb(175, 63, 197) — 175 red, 63 green and 197 blue out of 255, or 68.6% / 24.7% / 77.3% by channel.

Is #af3fc5 a light or a dark color?

It is a dark color. Relative luminance is 0.1670 and perceived brightness is 49%, so white text on it reaches 4.84:1.

Should I use black or white text on #af3fc5?

White. It scores 4.84:1 against #af3fc5, versus 4.34:1 for black — AA at any size.

What is the complementary color of #af3fc5?

#55C53F sits directly opposite on the wheel. Softer options are the split-complements #98C53F and #3FC56C, which give the same contrast with far less vibration.

What colors go well with #af3fc5?

For interface work: #F9F4FA as the surface, #E5C0EC for borders, #8E4B9B for secondary text, #5CA12B as an accent and #571E62 for hover and pressed states. For a palette, the analogous pair #6C3FC5 and #C53F98 stays calm, while #55C53F is the loudest partner.

What is #af3fc5 in CMYK for printing?

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

Is #af3fc5 warm or cool?

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

Work with #af3fc5 in the Color Lab