Skip to content

#af7abc

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

RGB
175, 122, 188
HSL
288°, 33%, 61%
CMYK
7, 35, 0, 26
Luminance
0.2666

At a glance

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

Hex
#af7abc
Hue
288°
violet
Saturation
33%
soft
Lightness
61%
balanced
Brightness
74%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2666
WCAG relative
Temperature
Neutral
56/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.33:1
Closest name
Orchid
ΔE2000 8.5
Where it sits
Hue288° of 360°
Saturation33%
Lightness61%
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#af7abc
RGBrgb(175, 122, 188)
HSLhsl(288, 33%, 61%)
CMYKcmyk(7%, 35%, 0%, 26%)
LABlab(58.7 32.1 -26.5)
LCHlch(58.7 41.7 320.4)
OKLCHoklch(0.656 0.112 319.6)
Decimal11500220
Display P3color(display-p3 0.686 0.478 0.737)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af7abc on white: 3.32:1
AA ✗ fail · AA-large · AAA
Aa
#af7abc on black: 6.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7289BF
deuteranopia · #7E8FBA
tritanopia · #B08292

Color scale — 50 to 950

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

#F9F5F9
#F2ECF4
#E4D4E7
#D2B4D9
#BC8FC7
#af7abc
#9352A3
#7A4488
#62376D
#482B50
#2D1B32
Base = 500Lightest = 50 · #F9F5F9Darkest = 950 · #2D1B32
:root {
  --brand-50: #F9F5F9;
  --brand-100: #F2ECF4;
  --brand-200: #E4D4E7;
  --brand-300: #D2B4D9;
  --brand-400: #BC8FC7;
  --brand-500: #af7abc;
  --brand-600: #9352A3;
  --brand-700: #7A4488;
  --brand-800: #62376D;
  --brand-900: #482B50;
  --brand-950: #2D1B32;
  --brand: #af7abc;
  --brand-ink: #000000;
}

Colors that work with #af7abc

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#F9F5FA
Tinted page background
Border#DEC9E4
Hairlines and dividers
Muted text#8A4D99
Captions on the surface
Accent#628C40
Second voice, not a rival
Dark variant#4D2B55
Hover, pressed, headers
Light variant#F5EEF6
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 #af7abc

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#87BC7A
Analogous left#8E7ABC
Analogous right#BC7AA8
Split-complement 1#A8BC7A
Split-complement 2#7ABC8E
Triadic 1#BCAF7A
Triadic 2#7ABCAF
Tetradic#BC8E7A

RGB percentages

Red68.6%
Green47.8%
Blue73.7%

CMYK percentages

Cyan6.9%
Magenta35.1%
Yellow0.0%
Key (black)26.3%

Color previews

#af7abc text on a black background

contrast 6.33:1

Card sample

#af7abc text on a white background

contrast 3.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af7abc

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.

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

#af7abc, answered

What color is #af7abc?

#af7abc is a balanced soft violet, closest to Orchid (ΔE2000 8.5). It sits at 288° on the hue wheel with 33% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #af7abc?

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

Is #af7abc a light or a dark color?

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

Should I use black or white text on #af7abc?

Black. It scores 6.33:1 against #af7abc, versus 3.32:1 for white — AA at any size.

What is the complementary color of #af7abc?

#87BC7A sits directly opposite on the wheel. Softer options are the split-complements #A8BC7A and #7ABC8E, which give the same contrast with far less vibration.

What colors go well with #af7abc?

For interface work: #F9F5FA as the surface, #DEC9E4 for borders, #8A4D99 for secondary text, #628C40 as an accent and #4D2B55 for hover and pressed states. For a palette, the analogous pair #8E7ABC and #BC7AA8 stays calm, while #87BC7A is the loudest partner.

What is #af7abc in CMYK for printing?

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

Is #af7abc 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 #BC7AB1; nudged cooler, #9778BE.

Work with #af7abc in the Color Lab