Skip to content

#ab95cf

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

RGB
171, 149, 207
HSL
263°, 38%, 70%
CMYK
17, 28, 0, 19
Luminance
0.3466

At a glance

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

Hex
#ab95cf
Hue
263°
violet
Saturation
38%
soft
Lightness
70%
light
Brightness
81%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3466
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Soft
Best ink
Black
7.93:1
Closest name
Plum
ΔE2000 10.5
Where it sits
Hue263° of 360°
Saturation38%
Lightness70%
Temperature
Warm ← → Cool71% 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#ab95cf
RGBrgb(171, 149, 207)
HSLhsl(263, 38%, 70%)
CMYKcmyk(17%, 28%, 0%, 19%)
LABlab(65.5 19.7 -26.8)
LCHlch(65.5 33.2 306.4)
OKLCHoklch(0.710 0.086 301.6)
Decimal11245007
Display P3color(display-p3 0.671 0.584 0.812)

Copy-ready code

/* CSS */
color: #ab95cf;
background-color: #ab95cf;
/* Tailwind (arbitrary) */
class="text-[#ab95cf] bg-[#ab95cf]"
/* SCSS */
$brand: #ab95cf;
/* SwiftUI */
Color(red: 0.671, green: 0.584, blue: 0.812)
/* Android */
Color.parseColor("#ab95cf")
/* Flutter */
Color(0xFFAB95CF)
/* Python / OpenCV (BGR) */
(207, 149, 171)

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

Accessibility — WCAG contrast

Aa
#ab95cf on white: 2.65:1
AA ✗ fail · AA-large · AAA
Aa
#ab95cf on black: 7.93:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #899FD1
deuteranopia · #8D9FCD
tritanopia · #A59EA9

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ab95cf 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
#EFEBF4
#DBD3E9
#C2B2DC
#ab95cf
#8565B9
#6F4CA9
#5D408C
#4A3370
#382852
#231934
Base = 400Lightest = 50 · #F7F5FADarkest = 950 · #231934
:root {
  --brand-50: #F7F5FA;
  --brand-100: #EFEBF4;
  --brand-200: #DBD3E9;
  --brand-300: #C2B2DC;
  --brand-400: #ab95cf;
  --brand-500: #8565B9;
  --brand-600: #6F4CA9;
  --brand-700: #5D408C;
  --brand-800: #4A3370;
  --brand-900: #382852;
  --brand-950: #231934;
  --brand: #ab95cf;
  --brand-ink: #000000;
}

Colors that work with #ab95cf

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#D3C7E6
Hairlines and dividers
Muted text#694B9B
Captions on the surface
Accent#86903C
Second voice, not a rival
Dark variant#3A2858
Hover, pressed, headers
Light variant#F1EDF7
Selected rows, tints
Dark surface#1A1424
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 #ab95cf

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#B9CF95
Analogous left#959CCF
Analogous right#C895CF
Split-complement 1#CFC895
Split-complement 2#9CCF95
Triadic 1#CFAB95
Triadic 2#95CFAB
Tetradic#CF959C

RGB percentages

Red67.1%
Green58.4%
Blue81.2%

CMYK percentages

Cyan17.4%
Magenta28.0%
Yellow0.0%
Key (black)18.8%

Color previews

#ab95cf text on a black background

contrast 7.93:1

Card sample

#ab95cf text on a white background

contrast 2.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 149, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 149, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ab95cf;
background: linear-gradient(135deg, #ab95cf, #CF95CC);

Monochromatic scale

Palettes built from #ab95cf

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.

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

#ab95cf, answered

What color is #ab95cf?

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

What is the RGB value of #ab95cf?

rgb(171, 149, 207) — 171 red, 149 green and 207 blue out of 255, or 67.1% / 58.4% / 81.2% by channel.

Is #ab95cf a light or a dark color?

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

Should I use black or white text on #ab95cf?

Black. It scores 7.93:1 against #ab95cf, versus 2.65:1 for white — AAA at any size.

What is the complementary color of #ab95cf?

#B9CF95 sits directly opposite on the wheel. Softer options are the split-complements #CFC895 and #9CCF95, which give the same contrast with far less vibration.

What colors go well with #ab95cf?

For interface work: #F7F4FA as the surface, #D3C7E6 for borders, #694B9B for secondary text, #86903C as an accent and #3A2858 for hover and pressed states. For a palette, the analogous pair #959CCF and #C895CF stays calm, while #B9CF95 is the loudest partner.

What is #ab95cf in CMYK for printing?

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

Is #ab95cf warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C095CF; nudged cooler, #9493D1.

Work with #ab95cf in the Color Lab