Skip to content

#af93d4

a light, soft violet · cool · closest name: Plum

RGB
175, 147, 212
HSL
266°, 43%, 70%
CMYK
18, 31, 0, 17
Luminance
0.3473

At a glance

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

Hex
#af93d4
Hue
266°
violet
Saturation
43%
soft
Lightness
70%
light
Brightness
83%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3473
WCAG relative
Temperature
Cool
69/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.95:1
Closest name
Plum
ΔE2000 9.8
Where it sits
Hue266° of 360°
Saturation43%
Lightness70%
Temperature
Warm ← → Cool69% 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#af93d4
RGBrgb(175, 147, 212)
HSLhsl(266, 43%, 70%)
CMYKcmyk(18%, 31%, 0%, 17%)
LABlab(65.5 23.2 -29.4)
LCHlch(65.5 37.5 308.3)
OKLCHoklch(0.712 0.097 303.8)
Decimal11506644
Display P3color(display-p3 0.686 0.576 0.831)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af93d4 on white: 2.64:1
AA ✗ fail · AA-large · AAA
Aa
#af93d4 on black: 7.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #869ED7
deuteranopia · #8B9FD2
tritanopia · #A99DAA

Color scale — 50 to 950

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

#F7F5FA
#EFEBF5
#DCD1EA
#C4AFDF
#af93d4
#885FBF
#7346AF
#603A92
#4D2F75
#3A2555
#241735
Base = 400Lightest = 50 · #F7F5FADarkest = 950 · #241735
:root {
  --brand-50: #F7F5FA;
  --brand-100: #EFEBF5;
  --brand-200: #DCD1EA;
  --brand-300: #C4AFDF;
  --brand-400: #af93d4;
  --brand-500: #885FBF;
  --brand-600: #7346AF;
  --brand-700: #603A92;
  --brand-800: #4D2F75;
  --brand-900: #3A2555;
  --brand-950: #241735;
  --brand: #af93d4;
  --brand-ink: #000000;
}

Colors that work with #af93d4

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#F7F4FA
Tinted page background
Border#D4C5E8
Hairlines and dividers
Muted text#6D4B9B
Captions on the surface
Accent#849636
Second voice, not a rival
Dark variant#3C245B
Hover, pressed, headers
Light variant#F1EDF8
Selected rows, tints
Dark surface#1B1424
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 #af93d4

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Text and icons on dark surfaces
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • White text placed on it
  • 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#B8D493
Analogous left#9398D4
Analogous right#CF93D4
Split-complement 1#D4CF93
Split-complement 2#98D493
Triadic 1#D4AF93
Triadic 2#93D4AF
Tetradic#D49398

RGB percentages

Red68.6%
Green57.6%
Blue83.1%

CMYK percentages

Cyan17.5%
Magenta30.7%
Yellow0.0%
Key (black)16.9%

Color previews

#af93d4 text on a black background

contrast 7.95:1

Card sample

#af93d4 text on a white background

contrast 2.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af93d4

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.

#af93d4 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
SurfacesBadgesHighlightsEmpty states
Print note

Converts to four-color process without much drama. Proof it anyway.

#af93d4, answered

What color is #af93d4?

#af93d4 is a light soft violet, closest to Plum (ΔE2000 9.8). It sits at 266° on the hue wheel with 43% saturation and 70% lightness, which reads as cool.

What is the RGB value of #af93d4?

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

Is #af93d4 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3473 and perceived brightness is 64%, so black text on it reaches 7.95:1.

Should I use black or white text on #af93d4?

Black. It scores 7.95:1 against #af93d4, versus 2.64:1 for white — AAA at any size.

What is the complementary color of #af93d4?

#B8D493 sits directly opposite on the wheel. Softer options are the split-complements #D4CF93 and #98D493, which give the same contrast with far less vibration.

What colors go well with #af93d4?

For interface work: #F7F4FA as the surface, #D4C5E8 for borders, #6D4B9B for secondary text, #849636 as an accent and #3C245B for hover and pressed states. For a palette, the analogous pair #9398D4 and #CF93D4 stays calm, while #B8D493 is the loudest partner.

What is #af93d4 in CMYK for printing?

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

Is #af93d4 warm or cool?

Cool — it scores 69 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C793D4; nudged cooler, #9692D5.

Work with #af93d4 in the Color Lab