Skip to content

#af73c0

a balanced, soft violet · neutral · closest name: Orchid

RGB
175, 115, 192
HSL
287°, 38%, 60%
CMYK
9, 40, 0, 25
Luminance
0.2518

At a glance

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

Hex
#af73c0
Hue
287°
violet
Saturation
38%
soft
Lightness
60%
balanced
Brightness
75%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2518
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.04:1
Closest name
Orchid
ΔE2000 7.9
Where it sits
Hue287° of 360°
Saturation38%
Lightness60%
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#af73c0
RGBrgb(175, 115, 192)
HSLhsl(287, 38%, 60%)
CMYKcmyk(9%, 40%, 0%, 25%)
LABlab(57.3 36.8 -31.0)
LCHlch(57.3 48.1 319.9)
OKLCHoklch(0.646 0.129 318.6)
Decimal11498432
Display P3color(display-p3 0.686 0.451 0.753)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af73c0 on white: 3.48:1
AA ✗ fail · AA-large · AAA
Aa
#af73c0 on black: 6.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6885C3
deuteranopia · #778CBE
tritanopia · #AF7D90

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af73c0 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
#F2EBF4
#E4D3E9
#D3B2DC
#BD8BCB
#af73c0
#944CA9
#7C3F8D
#633371
#492853
#2E1934
Base = 500Lightest = 50 · #F9F5FADarkest = 950 · #2E1934
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F2EBF4;
  --brand-200: #E4D3E9;
  --brand-300: #D3B2DC;
  --brand-400: #BD8BCB;
  --brand-500: #af73c0;
  --brand-600: #944CA9;
  --brand-700: #7C3F8D;
  --brand-800: #633371;
  --brand-900: #492853;
  --brand-950: #2E1934;
  --brand: #af73c0;
  --brand-ink: #000000;
}

Colors that work with #af73c0

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#DFC7E6
Hairlines and dividers
Muted text#894B9B
Captions on the surface
Accent#63913B
Second voice, not a rival
Dark variant#4D2858
Hover, pressed, headers
Light variant#F5EDF7
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 #af73c0

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
  • Charts, tags and secondary surfaces
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#84C073
Analogous left#8973C0
Analogous right#C073AA
Split-complement 1#AAC073
Split-complement 2#73C089
Triadic 1#C0AF73
Triadic 2#73C0AF
Tetradic#C08973

RGB percentages

Red68.6%
Green45.1%
Blue75.3%

CMYK percentages

Cyan8.9%
Magenta40.1%
Yellow0.0%
Key (black)24.7%

Color previews

#af73c0 text on a black background

contrast 6.04:1

Card sample

#af73c0 text on a white background

contrast 3.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af73c0

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.

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

#af73c0, answered

What color is #af73c0?

#af73c0 is a balanced soft violet, closest to Orchid (ΔE2000 7.9). It sits at 287° on the hue wheel with 38% saturation and 60% lightness, which reads as neutral.

What is the RGB value of #af73c0?

rgb(175, 115, 192) — 175 red, 115 green and 192 blue out of 255, or 68.6% / 45.1% / 75.3% by channel.

Is #af73c0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2518 and perceived brightness is 57%, so black text on it reaches 6.04:1.

Should I use black or white text on #af73c0?

Black. It scores 6.04:1 against #af73c0, versus 3.48:1 for white — AA at any size.

What is the complementary color of #af73c0?

#84C073 sits directly opposite on the wheel. Softer options are the split-complements #AAC073 and #73C089, which give the same contrast with far less vibration.

What colors go well with #af73c0?

For interface work: #F9F4FA as the surface, #DFC7E6 for borders, #894B9B for secondary text, #63913B as an accent and #4D2858 for hover and pressed states. For a palette, the analogous pair #8973C0 and #C073AA stays calm, while #84C073 is the loudest partner.

What is #af73c0 in CMYK for printing?

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

Is #af73c0 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 #C073B5; nudged cooler, #9271C2.

Work with #af73c0 in the Color Lab