Skip to content

#a98cd3

a light, soft violet · cool · closest name: Medium Purple

RGB
169, 140, 211
HSL
265°, 45%, 69%
CMYK
20, 34, 0, 17
Luminance
0.3189

At a glance

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

Hex
#a98cd3
Hue
265°
violet
Saturation
45%
soft
Lightness
69%
light
Brightness
83%
HSV value
Perceived
62%
weighted brightness
Luminance
0.3189
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.38:1
Closest name
Medium Purple
ΔE2000 9.9
Where it sits
Hue265° of 360°
Saturation45%
Lightness69%
Temperature
Warm ← → Cool70% 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#a98cd3
RGBrgb(169, 140, 211)
HSLhsl(265, 45%, 69%)
CMYKcmyk(20%, 34%, 0%, 17%)
LABlab(63.3 25.1 -32.4)
LCHlch(63.3 41.0 307.7)
OKLCHoklch(0.693 0.106 302.5)
Decimal11111635
Display P3color(display-p3 0.663 0.549 0.827)

Copy-ready code

/* CSS */
color: #a98cd3;
background-color: #a98cd3;
/* Tailwind (arbitrary) */
class="text-[#a98cd3] bg-[#a98cd3]"
/* SCSS */
$brand: #a98cd3;
/* SwiftUI */
Color(red: 0.663, green: 0.549, blue: 0.827)
/* Android */
Color.parseColor("#a98cd3")
/* Flutter */
Color(0xFFA98CD3)
/* Python / OpenCV (BGR) */
(211, 140, 169)

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 #a98cd3 · 7.38:1
Use #000000AAA at every size.
Aa
White text · 2.85:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.38:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a98cd3 as text scores 2.85:1 on white and 7.38:1 on black.

Accessibility — WCAG contrast

Aa
#a98cd3 on white: 2.85:1
AA ✗ fail · AA-large · AAA
Aa
#a98cd3 on black: 7.38:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7C98D6
deuteranopia · #8299D1
tritanopia · #A297A6

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a98cd3 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
#EFEAF5
#DBD1EB
#C2AEE0
#a98cd3
#865DC1
#7044B1
#5E3894
#4B2D76
#392456
#231736
Base = 400Lightest = 50 · #F7F5FADarkest = 950 · #231736
:root {
  --brand-50: #F7F5FA;
  --brand-100: #EFEAF5;
  --brand-200: #DBD1EB;
  --brand-300: #C2AEE0;
  --brand-400: #a98cd3;
  --brand-500: #865DC1;
  --brand-600: #7044B1;
  --brand-700: #5E3894;
  --brand-800: #4B2D76;
  --brand-900: #392456;
  --brand-950: #231736;
  --brand: #a98cd3;
  --brand-ink: #000000;
}

Colors that work with #a98cd3

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#D3C4E8
Hairlines and dividers
Muted text#6B4B9B
Captions on the surface
Accent#889735
Second voice, not a rival
Dark variant#3B235C
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 #a98cd3

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#B6D38C
Analogous left#8C92D3
Analogous right#CC8CD3
Split-complement 1#D3CC8C
Split-complement 2#92D38C
Triadic 1#D3A98C
Triadic 2#8CD3A9
Tetradic#D38C92

RGB percentages

Red66.3%
Green54.9%
Blue82.7%

CMYK percentages

Cyan19.9%
Magenta33.6%
Yellow0.0%
Key (black)17.3%

Color previews

#a98cd3 text on a black background

contrast 7.38:1

Card sample

#a98cd3 text on a white background

contrast 2.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(169, 140, 211, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(169, 140, 211, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a98cd3;
background: linear-gradient(135deg, #a98cd3, #D38CCE);

Monochromatic scale

Palettes built from #a98cd3

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.

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

#a98cd3, answered

What color is #a98cd3?

#a98cd3 is a light soft violet, closest to Medium Purple (ΔE2000 9.9). It sits at 265° on the hue wheel with 45% saturation and 69% lightness, which reads as cool.

What is the RGB value of #a98cd3?

rgb(169, 140, 211) — 169 red, 140 green and 211 blue out of 255, or 66.3% / 54.9% / 82.7% by channel.

Is #a98cd3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3189 and perceived brightness is 62%, so black text on it reaches 7.38:1.

Should I use black or white text on #a98cd3?

Black. It scores 7.38:1 against #a98cd3, versus 2.85:1 for white — AAA at any size.

What is the complementary color of #a98cd3?

#B6D38C sits directly opposite on the wheel. Softer options are the split-complements #D3CC8C and #92D38C, which give the same contrast with far less vibration.

What colors go well with #a98cd3?

For interface work: #F7F4FA as the surface, #D3C4E8 for borders, #6B4B9B for secondary text, #889735 as an accent and #3B235C for hover and pressed states. For a palette, the analogous pair #8C92D3 and #CC8CD3 stays calm, while #B6D38C is the loudest partner.

What is #a98cd3 in CMYK for printing?

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

Is #a98cd3 warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C38CD3; nudged cooler, #8D8AD5.

Work with #a98cd3 in the Color Lab