Skip to content

#af55df

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

RGB
175, 85, 223
HSL
279°, 68%, 60%
CMYK
22, 62, 0, 13
Luminance
0.2094

At a glance

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

Hex
#af55df
Hue
279°
violet
Saturation
68%
vivid
Lightness
60%
balanced
Brightness
87%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2094
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.19:1
Closest name
Medium Orchid
ΔE2000 3.3
Where it sits
Hue279° of 360°
Saturation68%
Lightness60%
Temperature
Warm ← → Cool62% 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#af55df
RGBrgb(175, 85, 223)
HSLhsl(279, 68%, 60%)
CMYKcmyk(22%, 62%, 0%, 13%)
LABlab(52.9 58.9 -55.5)
LCHlch(52.9 80.9 316.7)
OKLCHoklch(0.619 0.210 311.9)
Decimal11490783
Display P3color(display-p3 0.686 0.333 0.875)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af55df on white: 4.05:1
AA ✗ fail · AA-large · AAA
Aa
#af55df on black: 5.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #197AE3
deuteranopia · #4980DC
tritanopia · #A96F92

Color scale — 50 to 950

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

#F9F3FB
#F2E8F8
#E4CAF2
#D3A1ED
#BC71E4
#af55df
#9427CE
#7B20AC
#631A89
#491764
#2E0E3E
Base = 500Lightest = 50 · #F9F3FBDarkest = 950 · #2E0E3E
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F2E8F8;
  --brand-200: #E4CAF2;
  --brand-300: #D3A1ED;
  --brand-400: #BC71E4;
  --brand-500: #af55df;
  --brand-600: #9427CE;
  --brand-700: #7B20AC;
  --brand-800: #631A89;
  --brand-900: #491764;
  --brand-950: #2E0E3E;
  --brand: #af55df;
  --brand-ink: #000000;
}

Colors that work with #af55df

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#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#74B01C
Second voice, not a rival
Dark variant#4D146B
Hover, pressed, headers
Light variant#F5EAFB
Selected rows, tints
Dark surface#1F1424
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 #af55df

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#85DF55
Analogous left#6A55DF
Analogous right#DF55CA
Split-complement 1#CADF55
Split-complement 2#55DF6A
Triadic 1#DFAF55
Triadic 2#55DFAF
Tetradic#DF6A55

RGB percentages

Red68.6%
Green33.3%
Blue87.5%

CMYK percentages

Cyan21.5%
Magenta61.9%
Yellow0.0%
Key (black)12.5%

Color previews

#af55df text on a black background

contrast 5.19:1

Card sample

#af55df text on a white background

contrast 4.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af55df

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.

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

#af55df, answered

What color is #af55df?

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

What is the RGB value of #af55df?

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

Is #af55df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2094 and perceived brightness is 54%, so black text on it reaches 5.19:1.

Should I use black or white text on #af55df?

Black. It scores 5.19:1 against #af55df, versus 4.05:1 for white — AA at any size.

What is the complementary color of #af55df?

#85DF55 sits directly opposite on the wheel. Softer options are the split-complements #CADF55 and #55DF6A, which give the same contrast with far less vibration.

What colors go well with #af55df?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #74B01C as an accent and #4D146B for hover and pressed states. For a palette, the analogous pair #6A55DF and #DF55CA stays calm, while #85DF55 is the loudest partner.

What is #af55df in CMYK for printing?

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

Is #af55df warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #DF55DC; nudged cooler, #7B53E1.

Work with #af55df in the Color Lab