Skip to content

#af6ec3

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

RGB
175, 110, 195
HSL
286°, 42%, 60%
CMYK
10, 44, 0, 24
Luminance
0.2421

At a glance

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

Hex
#af6ec3
Hue
286°
violet
Saturation
42%
soft
Lightness
60%
balanced
Brightness
76%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2421
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
5.84:1
Closest name
Medium Orchid
ΔE2000 6.4
Where it sits
Hue286° of 360°
Saturation42%
Lightness60%
Temperature
Warm ← → Cool58% 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#af6ec3
RGBrgb(175, 110, 195)
HSLhsl(286, 42%, 60%)
CMYKcmyk(10%, 44%, 0%, 24%)
LABlab(56.3 40.2 -34.2)
LCHlch(56.3 52.8 319.6)
OKLCHoklch(0.640 0.141 317.9)
Decimal11497155
Display P3color(display-p3 0.686 0.431 0.765)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6ec3 on white: 3.60:1
AA ✗ fail · AA-large · AAA
Aa
#af6ec3 on black: 5.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6083C6
deuteranopia · #7289C1
tritanopia · #AF798F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af6ec3 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
#F2EBF5
#E4D2EA
#D3B0DE
#BD88CE
#af6ec3
#9548AD
#7C3C90
#643073
#4A2655
#2E1835
Base = 500Lightest = 50 · #F9F5FADarkest = 950 · #2E1835
:root {
  --brand-50: #F9F5FA;
  --brand-100: #F2EBF5;
  --brand-200: #E4D2EA;
  --brand-300: #D3B0DE;
  --brand-400: #BD88CE;
  --brand-500: #af6ec3;
  --brand-600: #9548AD;
  --brand-700: #7C3C90;
  --brand-800: #643073;
  --brand-900: #4A2655;
  --brand-950: #2E1835;
  --brand: #af6ec3;
  --brand-ink: #000000;
}

Colors that work with #af6ec3

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#DFC5E7
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#649438
Second voice, not a rival
Dark variant#4E255A
Hover, pressed, headers
Light variant#F5EDF8
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 #af6ec3

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#82C36E
Analogous left#846EC3
Analogous right#C36EAC
Split-complement 1#ACC36E
Split-complement 2#6EC384
Triadic 1#C3AF6E
Triadic 2#6EC3AF
Tetradic#C3846E

RGB percentages

Red68.6%
Green43.1%
Blue76.5%

CMYK percentages

Cyan10.3%
Magenta43.6%
Yellow0.0%
Key (black)23.5%

Color previews

#af6ec3 text on a black background

contrast 5.84:1

Card sample

#af6ec3 text on a white background

contrast 3.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af6ec3

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.

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

#af6ec3, answered

What color is #af6ec3?

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

What is the RGB value of #af6ec3?

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

Is #af6ec3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2421 and perceived brightness is 56%, so black text on it reaches 5.84:1.

Should I use black or white text on #af6ec3?

Black. It scores 5.84:1 against #af6ec3, versus 3.60:1 for white — AA at any size.

What is the complementary color of #af6ec3?

#82C36E sits directly opposite on the wheel. Softer options are the split-complements #ACC36E and #6EC384, which give the same contrast with far less vibration.

What colors go well with #af6ec3?

For interface work: #F9F4FA as the surface, #DFC5E7 for borders, #884B9B for secondary text, #649438 as an accent and #4E255A for hover and pressed states. For a palette, the analogous pair #846EC3 and #C36EAC stays calm, while #82C36E is the loudest partner.

What is #af6ec3 in CMYK for printing?

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

Is #af6ec3 warm or cool?

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

Work with #af6ec3 in the Color Lab