Skip to content

#af94c2

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

RGB
175, 148, 194
HSL
275°, 27%, 67%
CMYK
10, 24, 0, 24
Luminance
0.3419

At a glance

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

Hex
#af94c2
Hue
275°
violet
Saturation
27%
soft
Lightness
67%
light
Brightness
76%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3419
WCAG relative
Temperature
Cool
61/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.84:1
Closest name
Plum
ΔE2000 9.4
Where it sits
Hue275° of 360°
Saturation27%
Lightness67%
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#af94c2
RGBrgb(175, 148, 194)
HSLhsl(275, 27%, 67%)
CMYKcmyk(10%, 24%, 0%, 24%)
LABlab(65.1 18.7 -20.0)
LCHlch(65.1 27.4 313.1)
OKLCHoklch(0.707 0.072 311.1)
Decimal11506882
Display P3color(display-p3 0.686 0.580 0.761)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af94c2 on white: 2.68:1
AA ✗ fail · AA-large · AAA
Aa
#af94c2 on black: 7.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #8D9DC4
deuteranopia · #929FC1
tritanopia · #AD9AA4

Color scale — 50 to 950

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

#F8F6F9
#F0ECF3
#DFD6E6
#CAB8D6
#af94c2
#9470AE
#80599C
#6B4A82
#553B68
#402E4D
#281D30
Base = 400Lightest = 50 · #F8F6F9Darkest = 950 · #281D30
:root {
  --brand-50: #F8F6F9;
  --brand-100: #F0ECF3;
  --brand-200: #DFD6E6;
  --brand-300: #CAB8D6;
  --brand-400: #af94c2;
  --brand-500: #9470AE;
  --brand-600: #80599C;
  --brand-700: #6B4A82;
  --brand-800: #553B68;
  --brand-900: #402E4D;
  --brand-950: #281D30;
  --brand: #af94c2;
  --brand-ink: #000000;
}

Colors that work with #af94c2

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#F8F5F9
Tinted page background
Border#D8CBE1
Hairlines and dividers
Muted text#785392
Captions on the surface
Accent#718646
Second voice, not a rival
Dark variant#432E51
Hover, pressed, headers
Light variant#F3EFF6
Selected rows, tints
Dark surface#1D1424
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 #af94c2

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#A7C294
Analogous left#9894C2
Analogous right#C294BE
Split-complement 1#BEC294
Split-complement 2#94C298
Triadic 1#C2AF94
Triadic 2#94C2AF
Tetradic#C29894

RGB percentages

Red68.6%
Green58.0%
Blue76.1%

CMYK percentages

Cyan9.8%
Magenta23.7%
Yellow0.0%
Key (black)23.9%

Color previews

#af94c2 text on a black background

contrast 7.84:1

Card sample

#af94c2 text on a white background

contrast 2.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #af94c2

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.

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

#af94c2, answered

What color is #af94c2?

#af94c2 is a light soft violet, closest to Plum (ΔE2000 9.4). It sits at 275° on the hue wheel with 27% saturation and 67% lightness, which reads as cool.

What is the RGB value of #af94c2?

rgb(175, 148, 194) — 175 red, 148 green and 194 blue out of 255, or 68.6% / 58% / 76.1% by channel.

Is #af94c2 a light or a dark color?

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

Should I use black or white text on #af94c2?

Black. It scores 7.84:1 against #af94c2, versus 2.68:1 for white — AAA at any size.

What is the complementary color of #af94c2?

#A7C294 sits directly opposite on the wheel. Softer options are the split-complements #BEC294 and #94C298, which give the same contrast with far less vibration.

What colors go well with #af94c2?

For interface work: #F8F5F9 as the surface, #D8CBE1 for borders, #785392 for secondary text, #718646 as an accent and #432E51 for hover and pressed states. For a palette, the analogous pair #9894C2 and #C294BE stays calm, while #A7C294 is the loudest partner.

What is #af94c2 in CMYK for printing?

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

Is #af94c2 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 #C094C2; nudged cooler, #9D92C4.

Work with #af94c2 in the Color Lab