Skip to content

#ab75cf

a balanced, vivid violet · cool · closest name: Medium Purple

RGB
171, 117, 207
HSL
276°, 48%, 64%
CMYK
17, 44, 0, 19
Luminance
0.2589

At a glance

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

Hex
#ab75cf
Hue
276°
violet
Saturation
48%
vivid
Lightness
64%
balanced
Brightness
81%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2589
WCAG relative
Temperature
Cool
63/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.18:1
Closest name
Medium Purple
ΔE2000 6.5
Where it sits
Hue276° of 360°
Saturation48%
Lightness64%
Temperature
Warm ← → Cool63% 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#ab75cf
RGBrgb(171, 117, 207)
HSLhsl(276, 48%, 64%)
CMYKcmyk(17%, 44%, 0%, 19%)
LABlab(57.9 37.7 -38.5)
LCHlch(57.9 53.9 314.4)
OKLCHoklch(0.653 0.141 310.6)
Decimal11236815
Display P3color(display-p3 0.671 0.459 0.812)

Copy-ready code

/* CSS */
color: #ab75cf;
background-color: #ab75cf;
/* Tailwind (arbitrary) */
class="text-[#ab75cf] bg-[#ab75cf]"
/* SCSS */
$brand: #ab75cf;
/* SwiftUI */
Color(red: 0.671, green: 0.459, blue: 0.812)
/* Android */
Color.parseColor("#ab75cf")
/* Flutter */
Color(0xFFAB75CF)
/* Python / OpenCV (BGR) */
(207, 117, 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 #ab75cf · 6.18:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.40:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.18:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ab75cf as text scores 3.40:1 on white and 6.18:1 on black.

Accessibility — WCAG contrast

Aa
#ab75cf on white: 3.40:1
AA ✗ fail · AA-large · AAA
Aa
#ab75cf on black: 6.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6289D2
deuteranopia · #6F8CCD
tritanopia · #A78398

Color scale — 50 to 950

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

#F8F4FA
#F1EAF5
#E1D0EC
#CCACE2
#ab75cf
#9A58C5
#863FB6
#703597
#592A79
#432258
#2A1537
Base = 400Lightest = 50 · #F8F4FADarkest = 950 · #2A1537
:root {
  --brand-50: #F8F4FA;
  --brand-100: #F1EAF5;
  --brand-200: #E1D0EC;
  --brand-300: #CCACE2;
  --brand-400: #ab75cf;
  --brand-500: #9A58C5;
  --brand-600: #863FB6;
  --brand-700: #703597;
  --brand-800: #592A79;
  --brand-900: #432258;
  --brand-950: #2A1537;
  --brand: #ab75cf;
  --brand-ink: #000000;
}

Colors that work with #ab75cf

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#F8F4FA
Tinted page background
Border#DAC2EA
Hairlines and dividers
Muted text#7B4B9B
Captions on the surface
Accent#769C30
Second voice, not a rival
Dark variant#46215F
Hover, pressed, headers
Light variant#F3ECF8
Selected rows, tints
Dark surface#1E1424
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 #ab75cf

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#99CF75
Analogous left#7E75CF
Analogous right#CF75C6
Split-complement 1#C6CF75
Split-complement 2#75CF7E
Triadic 1#CFAB75
Triadic 2#75CFAB
Tetradic#CF7E75

RGB percentages

Red67.1%
Green45.9%
Blue81.2%

CMYK percentages

Cyan17.4%
Magenta43.5%
Yellow0.0%
Key (black)18.8%

Color previews

#ab75cf text on a black background

contrast 6.18:1

Card sample

#ab75cf text on a white background

contrast 3.40:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab75cf

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.

#ab75cf 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
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#ab75cf, answered

What color is #ab75cf?

#ab75cf is a balanced vivid violet, closest to Medium Purple (ΔE2000 6.5). It sits at 276° on the hue wheel with 48% saturation and 64% lightness, which reads as cool.

What is the RGB value of #ab75cf?

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

Is #ab75cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2589 and perceived brightness is 58%, so black text on it reaches 6.18:1.

Should I use black or white text on #ab75cf?

Black. It scores 6.18:1 against #ab75cf, versus 3.40:1 for white — AA at any size.

What is the complementary color of #ab75cf?

#99CF75 sits directly opposite on the wheel. Softer options are the split-complements #C6CF75 and #75CF7E, which give the same contrast with far less vibration.

What colors go well with #ab75cf?

For interface work: #F8F4FA as the surface, #DAC2EA for borders, #7B4B9B for secondary text, #769C30 as an accent and #46215F for hover and pressed states. For a palette, the analogous pair #7E75CF and #CF75C6 stays calm, while #99CF75 is the loudest partner.

What is #ab75cf in CMYK for printing?

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

Is #ab75cf warm or cool?

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

Work with #ab75cf in the Color Lab