Skip to content

#af7ac3

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

RGB
175, 122, 195
HSL
284°, 38%, 62%
CMYK
10, 37, 0, 24
Luminance
0.2697

At a glance

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

Hex
#af7ac3
Hue
284°
violet
Saturation
38%
soft
Lightness
62%
balanced
Brightness
76%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2697
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.39:1
Closest name
Orchid
ΔE2000 8.2
Where it sits
Hue284° of 360°
Saturation38%
Lightness62%
Temperature
Warm ← → Cool59% cool

Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#af7ac3
RGBrgb(175, 122, 195)
HSLhsl(284, 38%, 62%)
CMYKcmyk(10%, 37%, 0%, 24%)
LABlab(59.0 33.6 -30.1)
LCHlch(59.0 45.1 318.1)
OKLCHoklch(0.660 0.120 316.4)
Decimal11500227
Display P3color(display-p3 0.686 0.478 0.765)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7ac3 on white: 3.28:1
AA ✗ fail · AA-large · AAA
Aa
#af7ac3 on black: 6.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6F8BC6
deuteranopia · #7C90C1
tritanopia · #AE8395

Color scale — 50 to 950

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

#F8F5FA
#F2EBF4
#E3D3E9
#D1B2DC
#af7ac3
#A264B9
#8F4CA9
#773F8D
#603370
#472852
#2C1934
Base = 400Lightest = 50 · #F8F5FADarkest = 950 · #2C1934
:root {
  --brand-50: #F8F5FA;
  --brand-100: #F2EBF4;
  --brand-200: #E3D3E9;
  --brand-300: #D1B2DC;
  --brand-400: #af7ac3;
  --brand-500: #A264B9;
  --brand-600: #8F4CA9;
  --brand-700: #773F8D;
  --brand-800: #603370;
  --brand-900: #472852;
  --brand-950: #2C1934;
  --brand: #af7ac3;
  --brand-ink: #000000;
}

Colors that work with #af7ac3

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#DDC7E6
Hairlines and dividers
Muted text#854B9B
Captions on the surface
Accent#68913B
Second voice, not a rival
Dark variant#4B2858
Hover, pressed, headers
Light variant#F4EDF7
Selected rows, tints
Dark surface#201424
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 #af7ac3

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#8EC37A
Analogous left#8B7AC3
Analogous right#C37AB3
Split-complement 1#B3C37A
Split-complement 2#7AC38B
Triadic 1#C3AF7A
Triadic 2#7AC3AF
Tetradic#C38B7A

RGB percentages

Red68.6%
Green47.8%
Blue76.5%

CMYK percentages

Cyan10.3%
Magenta37.4%
Yellow0.0%
Key (black)23.5%

Color previews

#af7ac3 text on a black background

contrast 6.39:1

Card sample

#af7ac3 text on a white background

contrast 3.28:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7ac3

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.

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

#af7ac3, answered

What color is #af7ac3?

#af7ac3 is a balanced soft violet, closest to Orchid (ΔE2000 8.2). It sits at 284° on the hue wheel with 38% saturation and 62% lightness, which reads as cool.

What is the RGB value of #af7ac3?

rgb(175, 122, 195) — 175 red, 122 green and 195 blue out of 255, or 68.6% / 47.8% / 76.5% by channel.

Is #af7ac3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2697 and perceived brightness is 58%, so black text on it reaches 6.39:1.

Should I use black or white text on #af7ac3?

Black. It scores 6.39:1 against #af7ac3, versus 3.28:1 for white — AA at any size.

What is the complementary color of #af7ac3?

#8EC37A sits directly opposite on the wheel. Softer options are the split-complements #B3C37A and #7AC38B, which give the same contrast with far less vibration.

What colors go well with #af7ac3?

For interface work: #F9F4FA as the surface, #DDC7E6 for borders, #854B9B for secondary text, #68913B as an accent and #4B2858 for hover and pressed states. For a palette, the analogous pair #8B7AC3 and #C37AB3 stays calm, while #8EC37A is the loudest partner.

What is #af7ac3 in CMYK for printing?

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

Is #af7ac3 warm or cool?

Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C37ABC; nudged cooler, #9478C5.

Work with #af7ac3 in the Color Lab