Skip to content

#af82c0

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

RGB
175, 130, 192
HSL
284°, 33%, 63%
CMYK
9, 32, 0, 25
Luminance
0.2888

At a glance

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

Hex
#af82c0
Hue
284°
violet
Saturation
33%
soft
Lightness
63%
balanced
Brightness
75%
HSV value
Perceived
60%
weighted brightness
Luminance
0.2888
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
6.78:1
Closest name
Orchid
ΔE2000 9.4
Where it sits
Hue284° of 360°
Saturation33%
Lightness63%
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#af82c0
RGBrgb(175, 130, 192)
HSLhsl(284, 33%, 63%)
CMYKcmyk(9%, 32%, 0%, 25%)
LABlab(60.7 28.5 -25.7)
LCHlch(60.7 38.3 317.9)
OKLCHoklch(0.672 0.102 316.5)
Decimal11502272
Display P3color(display-p3 0.686 0.510 0.753)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af82c0 on white: 3.10:1
AA ✗ fail · AA-large · AAA
Aa
#af82c0 on black: 6.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7990C2
deuteranopia · #8494BE
tritanopia · #AF8999

Color scale — 50 to 950

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

#F8F5F9
#F1ECF4
#E2D4E7
#CFB4D9
#af82c0
#9F6AB4
#8D52A3
#754488
#5E376D
#462B50
#2B1B32
Base = 400Lightest = 50 · #F8F5F9Darkest = 950 · #2B1B32
:root {
  --brand-50: #F8F5F9;
  --brand-100: #F1ECF4;
  --brand-200: #E2D4E7;
  --brand-300: #CFB4D9;
  --brand-400: #af82c0;
  --brand-500: #9F6AB4;
  --brand-600: #8D52A3;
  --brand-700: #754488;
  --brand-800: #5E376D;
  --brand-900: #462B50;
  --brand-950: #2B1B32;
  --brand: #af82c0;
  --brand-ink: #000000;
}

Colors that work with #af82c0

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#F8F5FA
Tinted page background
Border#DCC9E4
Hairlines and dividers
Muted text#844D99
Captions on the surface
Accent#688C40
Second voice, not a rival
Dark variant#492B55
Hover, pressed, headers
Light variant#F4EEF6
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 #af82c0

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#93C082
Analogous left#9082C0
Analogous right#C082B2
Split-complement 1#B2C082
Split-complement 2#82C090
Triadic 1#C0AF82
Triadic 2#82C0AF
Tetradic#C09082

RGB percentages

Red68.6%
Green51.0%
Blue75.3%

CMYK percentages

Cyan8.9%
Magenta32.3%
Yellow0.0%
Key (black)24.7%

Color previews

#af82c0 text on a black background

contrast 6.78:1

Card sample

#af82c0 text on a white background

contrast 3.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af82c0

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.

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

#af82c0, answered

What color is #af82c0?

#af82c0 is a balanced soft violet, closest to Orchid (ΔE2000 9.4). It sits at 284° on the hue wheel with 33% saturation and 63% lightness, which reads as cool.

What is the RGB value of #af82c0?

rgb(175, 130, 192) — 175 red, 130 green and 192 blue out of 255, or 68.6% / 51% / 75.3% by channel.

Is #af82c0 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2888 and perceived brightness is 60%, so black text on it reaches 6.78:1.

Should I use black or white text on #af82c0?

Black. It scores 6.78:1 against #af82c0, versus 3.10:1 for white — AA at any size.

What is the complementary color of #af82c0?

#93C082 sits directly opposite on the wheel. Softer options are the split-complements #B2C082 and #82C090, which give the same contrast with far less vibration.

What colors go well with #af82c0?

For interface work: #F8F5FA as the surface, #DCC9E4 for borders, #844D99 for secondary text, #688C40 as an accent and #492B55 for hover and pressed states. For a palette, the analogous pair #9082C0 and #C082B2 stays calm, while #93C082 is the loudest partner.

What is #af82c0 in CMYK for printing?

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

Is #af82c0 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 #C082BA; nudged cooler, #9880C2.

Work with #af82c0 in the Color Lab