Skip to content

#af63d4

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

RGB
175, 99, 212
HSL
280°, 57%, 61%
CMYK
18, 53, 0, 17
Luminance
0.2279

At a glance

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

Hex
#af63d4
Hue
280°
violet
Saturation
57%
vivid
Lightness
61%
balanced
Brightness
83%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2279
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.56:1
Closest name
Medium Orchid
ΔE2000 3.3
Where it sits
Hue280° of 360°
Saturation57%
Lightness61%
Temperature
Warm ← → Cool61% 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#af63d4
RGBrgb(175, 99, 212)
HSLhsl(280, 57%, 61%)
CMYKcmyk(18%, 53%, 0%, 17%)
LABlab(54.9 49.6 -46.1)
LCHlch(54.9 67.7 317.1)
OKLCHoklch(0.632 0.178 313.5)
Decimal11494356
Display P3color(display-p3 0.686 0.388 0.831)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af63d4 on white: 3.78:1
AA ✗ fail · AA-large · AAA
Aa
#af63d4 on black: 5.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #467FD8
deuteranopia · #5F85D1
tritanopia · #AC7692

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #af63d4 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
#F2E9F6
#E4CDEE
#D2A7E7
#BB7BDB
#af63d4
#9335C0
#7A2CA0
#622380
#481D5D
#2D123A
Base = 500Lightest = 50 · #F9F4FBDarkest = 950 · #2D123A
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F2E9F6;
  --brand-200: #E4CDEE;
  --brand-300: #D2A7E7;
  --brand-400: #BB7BDB;
  --brand-500: #af63d4;
  --brand-600: #9335C0;
  --brand-700: #7A2CA0;
  --brand-800: #622380;
  --brand-900: #481D5D;
  --brand-950: #2D123A;
  --brand: #af63d4;
  --brand-ink: #000000;
}

Colors that work with #af63d4

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#DEC0ED
Hairlines and dividers
Muted text#814B9B
Captions on the surface
Accent#70A428
Second voice, not a rival
Dark variant#4C1C64
Hover, pressed, headers
Light variant#F5EBF9
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 #af63d4

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#88D463
Analogous left#7763D4
Analogous right#D463C0
Split-complement 1#C0D463
Split-complement 2#63D477
Triadic 1#D4AF63
Triadic 2#63D4AF
Tetradic#D47763

RGB percentages

Red68.6%
Green38.8%
Blue83.1%

CMYK percentages

Cyan17.5%
Magenta53.3%
Yellow0.0%
Key (black)16.9%

Color previews

#af63d4 text on a black background

contrast 5.56:1

Card sample

#af63d4 text on a white background

contrast 3.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af63d4

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.

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

#af63d4, answered

What color is #af63d4?

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

What is the RGB value of #af63d4?

rgb(175, 99, 212) — 175 red, 99 green and 212 blue out of 255, or 68.6% / 38.8% / 83.1% by channel.

Is #af63d4 a light or a dark color?

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

Should I use black or white text on #af63d4?

Black. It scores 5.56:1 against #af63d4, versus 3.78:1 for white — AA at any size.

What is the complementary color of #af63d4?

#88D463 sits directly opposite on the wheel. Softer options are the split-complements #C0D463 and #63D477, which give the same contrast with far less vibration.

What colors go well with #af63d4?

For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #70A428 as an accent and #4C1C64 for hover and pressed states. For a palette, the analogous pair #7763D4 and #D463C0 stays calm, while #88D463 is the loudest partner.

What is #af63d4 in CMYK for printing?

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

Is #af63d4 warm or cool?

Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D463D0; nudged cooler, #8561D6.

Work with #af63d4 in the Color Lab