Skip to content

#ac98db

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

RGB
172, 152, 219
HSL
258°, 48%, 73%
CMYK
22, 31, 0, 14
Luminance
0.3634

At a glance

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

Hex
#ac98db
Hue
258°
violet
Saturation
48%
vivid
Lightness
73%
light
Brightness
86%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3634
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
8.27:1
Closest name
Plum
ΔE2000 11.1
Where it sits
Hue258° of 360°
Saturation48%
Lightness73%
Temperature
Warm ← → Cool73% 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#ac98db
RGBrgb(172, 152, 219)
HSLhsl(258, 48%, 73%)
CMYKcmyk(22%, 31%, 0%, 14%)
LABlab(66.8 21.1 -31.4)
LCHlch(66.8 37.8 303.8)
OKLCHoklch(0.722 0.098 297.6)
Decimal11311323
Display P3color(display-p3 0.675 0.596 0.859)

Copy-ready code

/* CSS */
color: #ac98db;
background-color: #ac98db;
/* Tailwind (arbitrary) */
class="text-[#ac98db] bg-[#ac98db]"
/* SCSS */
$brand: #ac98db;
/* SwiftUI */
Color(red: 0.675, green: 0.596, blue: 0.859)
/* Android */
Color.parseColor("#ac98db")
/* Flutter */
Color(0xFFAC98DB)
/* Python / OpenCV (BGR) */
(219, 152, 172)

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

Accessibility — WCAG contrast

Aa
#ac98db on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#ac98db on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #89A3DE
deuteranopia · #8CA2D9
tritanopia · #A3A3B0

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac98db is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F6F4FA
#EDEAF5
#D8D0EC
#ac98db
#9A82D3
#7959C5
#633FB5
#523597
#422A79
#322258
#1F1537
Base = 300Lightest = 50 · #F6F4FADarkest = 950 · #1F1537
:root {
  --brand-50: #F6F4FA;
  --brand-100: #EDEAF5;
  --brand-200: #D8D0EC;
  --brand-300: #ac98db;
  --brand-400: #9A82D3;
  --brand-500: #7959C5;
  --brand-600: #633FB5;
  --brand-700: #523597;
  --brand-800: #422A79;
  --brand-900: #322258;
  --brand-950: #1F1537;
  --brand: #ac98db;
  --brand-ink: #000000;
}

Colors that work with #ac98db

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#F6F4FA
Tinted page background
Border#CEC3EA
Hairlines and dividers
Muted text#634B9B
Captions on the surface
Accent#969C30
Second voice, not a rival
Dark variant#33215E
Hover, pressed, headers
Light variant#F0ECF8
Selected rows, tints
Dark surface#191424
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 #ac98db

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

Works well for
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Text of any size on white — fails WCAG AA
  • Full-page backgrounds — tiring over long sessions
  • 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#C7DB98
Analogous left#98A5DB
Analogous right#CD98DB
Split-complement 1#DBCD98
Split-complement 2#A5DB98
Triadic 1#DBAC98
Triadic 2#98DBAC
Tetradic#DB98A5

RGB percentages

Red67.5%
Green59.6%
Blue85.9%

CMYK percentages

Cyan21.5%
Magenta30.6%
Yellow0.0%
Key (black)14.1%

Color previews

#ac98db text on a black background

contrast 8.27:1

Card sample

#ac98db text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 152, 219, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 152, 219, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac98db;
background: linear-gradient(135deg, #ac98db, #D998DB);

Monochromatic scale

Palettes built from #ac98db

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.

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

#ac98db, answered

What color is #ac98db?

#ac98db is a light vivid violet, closest to Plum (ΔE2000 11.1). It sits at 258° on the hue wheel with 48% saturation and 73% lightness, which reads as cool.

What is the RGB value of #ac98db?

rgb(172, 152, 219) — 172 red, 152 green and 219 blue out of 255, or 67.5% / 59.6% / 85.9% by channel.

Is #ac98db a light or a dark color?

It is a mid-tone. Relative luminance is 0.3634 and perceived brightness is 65%, so black text on it reaches 8.27:1.

Should I use black or white text on #ac98db?

Black. It scores 8.27:1 against #ac98db, versus 2.54:1 for white — AAA at any size.

What is the complementary color of #ac98db?

#C7DB98 sits directly opposite on the wheel. Softer options are the split-complements #DBCD98 and #A5DB98, which give the same contrast with far less vibration.

What colors go well with #ac98db?

For interface work: #F6F4FA as the surface, #CEC3EA for borders, #634B9B for secondary text, #969C30 as an accent and #33215E for hover and pressed states. For a palette, the analogous pair #98A5DB and #CD98DB stays calm, while #C7DB98 is the loudest partner.

What is #ac98db in CMYK for printing?

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

Is #ac98db warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C498DB; nudged cooler, #969BDC.

Work with #ac98db in the Color Lab