Skip to content

#ab37cf

a balanced, vivid violet · neutral · closest name: Dark Orchid

RGB
171, 55, 207
HSL
286°, 61%, 51%
CMYK
17, 73, 0, 19
Luminance
0.1590

At a glance

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

Hex
#ab37cf
Hue
286°
violet
Saturation
61%
vivid
Lightness
51%
balanced
Brightness
81%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1590
WCAG relative
Temperature
Neutral
58/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.03:1
Closest name
Dark Orchid
ΔE2000 3.8
Where it sits
Hue286° of 360°
Saturation61%
Lightness51%
Temperature
Warm ← → Cool58% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ab37cf
RGBrgb(171, 55, 207)
HSLhsl(286, 61%, 51%)
CMYKcmyk(17%, 73%, 0%, 19%)
LABlab(46.8 67.4 -56.1)
LCHlch(46.8 87.7 320.2)
OKLCHoklch(0.572 0.231 316.8)
Decimal11220943
Display P3color(display-p3 0.671 0.216 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ab37cf on white: 5.03:1
AA ✓ pass · AA-large · AAA
Aa
#ab37cf on black: 4.18:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0068D3
deuteranopia · #3872CC
tritanopia · #A95781

Color scale — 50 to 950

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

#F9F4FB
#F4E8F7
#E7CCF0
#D9A5E9
#C677DE
#B34AD4
#ab37cf
#8727A5
#6C2084
#4F1B60
#32113C
Base = 600Lightest = 50 · #F9F4FBDarkest = 950 · #32113C
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F4E8F7;
  --brand-200: #E7CCF0;
  --brand-300: #D9A5E9;
  --brand-400: #C677DE;
  --brand-500: #B34AD4;
  --brand-600: #ab37cf;
  --brand-700: #8727A5;
  --brand-800: #6C2084;
  --brand-900: #4F1B60;
  --brand-950: #32113C;
  --brand: #ab37cf;
  --brand-ink: #ffffff;
}

Colors that work with #ab37cf

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F9F4FA
Tinted page background
Border#E2C0ED
Hairlines and dividers
Muted text#884B9B
Captions on the surface
Accent#64A923
Second voice, not a rival
Dark variant#541967
Hover, pressed, headers
Light variant#F6EAFA
Selected rows, tints
Dark surface#201424
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 #ab37cf

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • 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#5BCF37
Analogous left#5F37CF
Analogous right#CF37A7
Split-complement 1#A7CF37
Split-complement 2#37CF5F
Triadic 1#CFAB37
Triadic 2#37CFAB
Tetradic#CF5F37

RGB percentages

Red67.1%
Green21.6%
Blue81.2%

CMYK percentages

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

Color previews

#ab37cf text on a black background

contrast 4.18:1

Card sample

#ab37cf text on a white background

contrast 5.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ab37cf

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.

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

#ab37cf, answered

What color is #ab37cf?

#ab37cf is a balanced vivid violet, closest to Dark Orchid (ΔE2000 3.8). It sits at 286° on the hue wheel with 61% saturation and 51% lightness, which reads as neutral.

What is the RGB value of #ab37cf?

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

Is #ab37cf a light or a dark color?

It is a dark color. Relative luminance is 0.1590 and perceived brightness is 49%, so white text on it reaches 5.03:1.

Should I use black or white text on #ab37cf?

White. It scores 5.03:1 against #ab37cf, versus 4.18:1 for black — AA at any size.

What is the complementary color of #ab37cf?

#5BCF37 sits directly opposite on the wheel. Softer options are the split-complements #A7CF37 and #37CF5F, which give the same contrast with far less vibration.

What colors go well with #ab37cf?

For interface work: #F9F4FA as the surface, #E2C0ED for borders, #884B9B for secondary text, #64A923 as an accent and #541967 for hover and pressed states. For a palette, the analogous pair #5F37CF and #CF37A7 stays calm, while #5BCF37 is the loudest partner.

What is #ab37cf in CMYK for printing?

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

Is #ab37cf warm or cool?

Neutral — it scores 58 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF37BB; nudged cooler, #7335D2.

Work with #ab37cf in the Color Lab