Skip to content

#af93cb

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

RGB
175, 147, 203
HSL
270°, 35%, 69%
CMYK
14, 28, 0, 20
Luminance
0.3429

At a glance

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

Hex
#af93cb
Hue
270°
violet
Saturation
35%
soft
Lightness
69%
light
Brightness
80%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3429
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.86:1
Closest name
Plum
ΔE2000 9.3
Where it sits
Hue270° of 360°
Saturation35%
Lightness69%
Temperature
Warm ← → Cool67% 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#af93cb
RGBrgb(175, 147, 203)
HSLhsl(270, 35%, 69%)
CMYKcmyk(14%, 28%, 0%, 20%)
LABlab(65.2 21.2 -24.9)
LCHlch(65.2 32.8 310.4)
OKLCHoklch(0.708 0.086 307.1)
Decimal11506635
Display P3color(display-p3 0.686 0.576 0.796)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af93cb on white: 2.67:1
AA ✗ fail · AA-large · AAA
Aa
#af93cb on black: 7.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #899DCD
deuteranopia · #8E9FC9
tritanopia · #AB9BA7

Color scale — 50 to 950

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

#F7F5F9
#F0ECF4
#DED4E8
#C7B3DB
#af93cb
#8F68B6
#7A50A5
#66428A
#52356E
#3D2951
#261A33
Base = 400Lightest = 50 · #F7F5F9Darkest = 950 · #261A33
:root {
  --brand-50: #F7F5F9;
  --brand-100: #F0ECF4;
  --brand-200: #DED4E8;
  --brand-300: #C7B3DB;
  --brand-400: #af93cb;
  --brand-500: #8F68B6;
  --brand-600: #7A50A5;
  --brand-700: #66428A;
  --brand-800: #52356E;
  --brand-900: #3D2951;
  --brand-950: #261A33;
  --brand: #af93cb;
  --brand-ink: #000000;
}

Colors that work with #af93cb

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#F7F5FA
Tinted page background
Border#D6C8E4
Hairlines and dividers
Muted text#734B9B
Captions on the surface
Accent#7A8E3E
Second voice, not a rival
Dark variant#402956
Hover, pressed, headers
Light variant#F2EEF7
Selected rows, tints
Dark surface#1C1424
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 #af93cb

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#AFCB93
Analogous left#9393CB
Analogous right#CB93CB
Split-complement 1#CBCB93
Split-complement 2#93CB93
Triadic 1#CBAF93
Triadic 2#93CBAF
Tetradic#CB9393

RGB percentages

Red68.6%
Green57.6%
Blue79.6%

CMYK percentages

Cyan13.8%
Magenta27.6%
Yellow0.0%
Key (black)20.4%

Color previews

#af93cb text on a black background

contrast 7.86:1

Card sample

#af93cb text on a white background

contrast 2.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af93cb

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.

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

#af93cb, answered

What color is #af93cb?

#af93cb is a light soft violet, closest to Plum (ΔE2000 9.3). It sits at 270° on the hue wheel with 35% saturation and 69% lightness, which reads as cool.

What is the RGB value of #af93cb?

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

Is #af93cb a light or a dark color?

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

Should I use black or white text on #af93cb?

Black. It scores 7.86:1 against #af93cb, versus 2.67:1 for white — AAA at any size.

What is the complementary color of #af93cb?

#AFCB93 sits directly opposite on the wheel. Softer options are the split-complements #CBCB93 and #93CB93, which give the same contrast with far less vibration.

What colors go well with #af93cb?

For interface work: #F7F5FA as the surface, #D6C8E4 for borders, #734B9B for secondary text, #7A8E3E as an accent and #402956 for hover and pressed states. For a palette, the analogous pair #9393CB and #CB93CB stays calm, while #AFCB93 is the loudest partner.

What is #af93cb in CMYK for printing?

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

Is #af93cb warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C393CB; nudged cooler, #9991CD.

Work with #af93cb in the Color Lab