Skip to content

#af55cf

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

RGB
175, 85, 207
HSL
284°, 56%, 57%
CMYK
16, 59, 0, 19
Luminance
0.2012

At a glance

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

Hex
#af55cf
Hue
284°
violet
Saturation
56%
vivid
Lightness
57%
balanced
Brightness
81%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2012
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.02:1
Closest name
Medium Orchid
ΔE2000 2.1
Where it sits
Hue284° of 360°
Saturation56%
Lightness57%
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#af55cf
RGBrgb(175, 85, 207)
HSLhsl(284, 56%, 57%)
CMYKcmyk(16%, 59%, 0%, 19%)
LABlab(52.0 55.5 -47.9)
LCHlch(52.0 73.3 319.2)
OKLCHoklch(0.610 0.194 316.3)
Decimal11490767
Display P3color(display-p3 0.686 0.333 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af55cf on white: 4.18:1
AA ✗ fail · AA-large · AAA
Aa
#af55cf on black: 5.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3376D3
deuteranopia · #567FCC
tritanopia · #AD6A8A

Color scale — 50 to 950

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

#F9F4FB
#F3E9F6
#E6CEEE
#D6A7E6
#C17CDA
#af55cf
#9B36BF
#812D9F
#67247F
#4C1E5D
#30133A
Base = 500Lightest = 50 · #F9F4FBDarkest = 950 · #30133A
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E9F6;
  --brand-200: #E6CEEE;
  --brand-300: #D6A7E6;
  --brand-400: #C17CDA;
  --brand-500: #af55cf;
  --brand-600: #9B36BF;
  --brand-700: #812D9F;
  --brand-800: #67247F;
  --brand-900: #4C1E5D;
  --brand-950: #30133A;
  --brand: #af55cf;
  --brand-ink: #000000;
}

Colors that work with #af55cf

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#E1C0ED
Hairlines and dividers
Muted text#864B9B
Captions on the surface
Accent#68A329
Second voice, not a rival
Dark variant#511C63
Hover, pressed, headers
Light variant#F6EBF9
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 #af55cf

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#75CF55
Analogous left#7255CF
Analogous right#CF55B2
Split-complement 1#B2CF55
Split-complement 2#55CF72
Triadic 1#CFAF55
Triadic 2#55CFAF
Tetradic#CF7255

RGB percentages

Red68.6%
Green33.3%
Blue81.2%

CMYK percentages

Cyan15.5%
Magenta58.9%
Yellow0.0%
Key (black)18.8%

Color previews

#af55cf text on a black background

contrast 5.02:1

Card sample

#af55cf text on a white background

contrast 4.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af55cf

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.

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

#af55cf, answered

What color is #af55cf?

#af55cf is a balanced vivid violet, closest to Medium Orchid (ΔE2000 2.1). It sits at 284° on the hue wheel with 56% saturation and 57% lightness, which reads as cool.

What is the RGB value of #af55cf?

rgb(175, 85, 207) — 175 red, 85 green and 207 blue out of 255, or 68.6% / 33.3% / 81.2% by channel.

Is #af55cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2012 and perceived brightness is 53%, so black text on it reaches 5.02:1.

Should I use black or white text on #af55cf?

Black. It scores 5.02:1 against #af55cf, versus 4.18:1 for white — AA at any size.

What is the complementary color of #af55cf?

#75CF55 sits directly opposite on the wheel. Softer options are the split-complements #B2CF55 and #55CF72, which give the same contrast with far less vibration.

What colors go well with #af55cf?

For interface work: #F9F4FA as the surface, #E1C0ED for borders, #864B9B for secondary text, #68A329 as an accent and #511C63 for hover and pressed states. For a palette, the analogous pair #7255CF and #CF55B2 stays calm, while #75CF55 is the loudest partner.

What is #af55cf in CMYK for printing?

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

Is #af55cf 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 #CF55C2; nudged cooler, #8253D1.

Work with #af55cf in the Color Lab