Skip to content

#af65c0

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

RGB
175, 101, 192
HSL
289°, 42%, 58%
CMYK
9, 47, 0, 25
Luminance
0.2223

At a glance

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

Hex
#af65c0
Hue
289°
violet
Saturation
42%
soft
Lightness
58%
balanced
Brightness
75%
HSV value
Perceived
55%
weighted brightness
Luminance
0.2223
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
5.45:1
Closest name
Medium Orchid
ΔE2000 4.8
Where it sits
Hue289° of 360°
Saturation42%
Lightness58%
Temperature
Warm ← → Cool56% 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#af65c0
RGBrgb(175, 101, 192)
HSLhsl(289, 42%, 58%)
CMYKcmyk(9%, 47%, 0%, 25%)
LABlab(54.3 44.4 -35.6)
LCHlch(54.3 56.9 321.2)
OKLCHoklch(0.624 0.153 319.9)
Decimal11494848
Display P3color(display-p3 0.686 0.396 0.753)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af65c0 on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#af65c0 on black: 5.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #577DC3
deuteranopia · #6C84BD
tritanopia · #B0718A

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af65c0 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
#F3EBF5
#E6D2EA
#D6AFDE
#C188CE
#af65c0
#9B47AE
#813B91
#672F74
#4C2655
#2F1835
Base = 500Lightest = 50 · #F9F5FADarkest = 950 · #2F1835
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F3EBF5;
  --brand-200: #E6D2EA;
  --brand-300: #D6AFDE;
  --brand-400: #C188CE;
  --brand-500: #af65c0;
  --brand-600: #9B47AE;
  --brand-700: #813B91;
  --brand-800: #672F74;
  --brand-900: #4C2655;
  --brand-950: #2F1835;
  --brand: #af65c0;
  --brand-ink: #000000;
}

Colors that work with #af65c0

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#E1C5E7
Hairlines and dividers
Muted text#8C4B9B
Captions on the surface
Accent#609537
Second voice, not a rival
Dark variant#50255A
Hover, pressed, headers
Light variant#F6EDF8
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 #af65c0

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#76C065
Analogous left#8265C0
Analogous right#C065A4
Split-complement 1#A4C065
Split-complement 2#65C082
Triadic 1#C0AF65
Triadic 2#65C0AF
Tetradic#C08265

RGB percentages

Red68.6%
Green39.6%
Blue75.3%

CMYK percentages

Cyan8.9%
Magenta47.4%
Yellow0.0%
Key (black)24.7%

Color previews

#af65c0 text on a black background

contrast 5.45:1

Card sample

#af65c0 text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af65c0

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.

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

#af65c0, answered

What color is #af65c0?

#af65c0 is a balanced soft violet, closest to Medium Orchid (ΔE2000 4.8). It sits at 289° on the hue wheel with 42% saturation and 58% lightness, which reads as neutral.

What is the RGB value of #af65c0?

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

Is #af65c0 a light or a dark color?

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

Should I use black or white text on #af65c0?

Black. It scores 5.45:1 against #af65c0, versus 3.86:1 for white — AA at any size.

What is the complementary color of #af65c0?

#76C065 sits directly opposite on the wheel. Softer options are the split-complements #A4C065 and #65C082, which give the same contrast with far less vibration.

What colors go well with #af65c0?

For interface work: #F9F4FA as the surface, #E1C5E7 for borders, #8C4B9B for secondary text, #609537 as an accent and #50255A for hover and pressed states. For a palette, the analogous pair #8265C0 and #C065A4 stays calm, while #76C065 is the loudest partner.

What is #af65c0 in CMYK for printing?

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

Is #af65c0 warm or cool?

Neutral — it scores 56 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C065B0; nudged cooler, #8E63C2.

Work with #af65c0 in the Color Lab