Skip to content

#af6ada

a balanced, vivid violet · cool · closest name: Medium Orchid

RGB
175, 106, 218
HSL
277°, 60%, 64%
CMYK
20, 51, 0, 15
Luminance
0.2448

At a glance

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

Hex
#af6ada
Hue
277°
violet
Saturation
60%
vivid
Lightness
64%
balanced
Brightness
85%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2448
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.90:1
Closest name
Medium Orchid
ΔE2000 5
Where it sits
Hue277° of 360°
Saturation60%
Lightness64%
Temperature
Warm ← → Cool63% 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#af6ada
RGBrgb(175, 106, 218)
HSLhsl(277, 60%, 64%)
CMYKcmyk(20%, 51%, 0%, 15%)
LABlab(56.6 47.2 -46.8)
LCHlch(56.6 66.5 315.3)
OKLCHoklch(0.645 0.173 310.9)
Decimal11496154
Display P3color(display-p3 0.686 0.416 0.855)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af6ada on white: 3.56:1
AA ✗ fail · AA-large · AAA
Aa
#af6ada on black: 5.90:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4D84DE
deuteranopia · #6289D7
tritanopia · #AA7D98

Color scale — 50 to 950

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

#F8F4FB
#F1E9F7
#E2CCEF
#CFA5E9
#af6ada
#9F4BD2
#8C31C4
#7429A3
#5D2083
#451B5F
#2B113B
Base = 400Lightest = 50 · #F8F4FBDarkest = 950 · #2B113B
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F1E9F7;
  --brand-200: #E2CCEF;
  --brand-300: #CFA5E9;
  --brand-400: #af6ada;
  --brand-500: #9F4BD2;
  --brand-600: #8C31C4;
  --brand-700: #7429A3;
  --brand-800: #5D2083;
  --brand-900: #451B5F;
  --brand-950: #2B113B;
  --brand: #af6ada;
  --brand-ink: #000000;
}

Colors that work with #af6ada

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#F8F4FA
Tinted page background
Border#DBC0ED
Hairlines and dividers
Muted text#7C4B9B
Captions on the surface
Accent#78A824
Second voice, not a rival
Dark variant#491966
Hover, pressed, headers
Light variant#F4EBFA
Selected rows, tints
Dark surface#1E1424
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 #af6ada

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
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#95DA6A
Analogous left#776ADA
Analogous right#DA6ACD
Split-complement 1#CDDA6A
Split-complement 2#6ADA77
Triadic 1#DAAF6A
Triadic 2#6ADAAF
Tetradic#DA776A

RGB percentages

Red68.6%
Green41.6%
Blue85.5%

CMYK percentages

Cyan19.7%
Magenta51.4%
Yellow0.0%
Key (black)14.5%

Color previews

#af6ada text on a black background

contrast 5.90:1

Card sample

#af6ada text on a white background

contrast 3.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af6ada

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.

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

#af6ada, answered

What color is #af6ada?

#af6ada is a balanced vivid violet, closest to Medium Orchid (ΔE2000 5). It sits at 277° on the hue wheel with 60% saturation and 64% lightness, which reads as cool.

What is the RGB value of #af6ada?

rgb(175, 106, 218) — 175 red, 106 green and 218 blue out of 255, or 68.6% / 41.6% / 85.5% by channel.

Is #af6ada a light or a dark color?

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

Should I use black or white text on #af6ada?

Black. It scores 5.90:1 against #af6ada, versus 3.56:1 for white — AA at any size.

What is the complementary color of #af6ada?

#95DA6A sits directly opposite on the wheel. Softer options are the split-complements #CDDA6A and #6ADA77, which give the same contrast with far less vibration.

What colors go well with #af6ada?

For interface work: #F8F4FA as the surface, #DBC0ED for borders, #7C4B9B for secondary text, #78A824 as an accent and #491966 for hover and pressed states. For a palette, the analogous pair #776ADA and #DA6ACD stays calm, while #95DA6A is the loudest partner.

What is #af6ada in CMYK for printing?

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

Is #af6ada warm or cool?

Cool — it scores 63 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D86ADA; nudged cooler, #8568DC.

Work with #af6ada in the Color Lab