Skip to content

#a720f1

a balanced, electric violet · cool · closest name: Blue Violet

RGB
167, 32, 241
HSL
279°, 88%, 54%
CMYK
31, 87, 0, 6
Luminance
0.1560

At a glance

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

Hex
#a720f1
Hue
279°
violet
Saturation
88%
electric
Lightness
54%
balanced
Brightness
95%
HSV value
Perceived
49%
weighted brightness
Luminance
0.1560
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.10:1
Closest name
Blue Violet
ΔE2000 4.9
Where it sits
Hue279° of 360°
Saturation88%
Lightness54%
Temperature
Warm ← → Cool62% 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#a720f1
RGBrgb(167, 32, 241)
HSLhsl(279, 88%, 54%)
CMYKcmyk(31%, 87%, 0%, 6%)
LABlab(46.5 79.8 -76.1)
LCHlch(46.5 110.3 316.4)
OKLCHoklch(0.575 0.276 308.4)
Decimal10952945
Display P3color(display-p3 0.655 0.125 0.945)

Copy-ready code

/* CSS */
color: #a720f1;
background-color: #a720f1;
/* Tailwind (arbitrary) */
class="text-[#a720f1] bg-[#a720f1]"
/* SCSS */
$brand: #a720f1;
/* SwiftUI */
Color(red: 0.655, green: 0.125, blue: 0.945)
/* Android */
Color.parseColor("#a720f1")
/* Flutter */
Color(0xFFA720F1)
/* Python / OpenCV (BGR) */
(241, 32, 167)

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 #a720f1 · 5.10:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.10:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.12:1
AA fail · AA large pass · AAA fail
Reading the other direction: #a720f1 as text scores 5.10:1 on white and 4.12:1 on black.

Accessibility — WCAG contrast

Aa
#a720f1 on white: 5.10:1
AA ✓ pass · AA-large · AAA
Aa
#a720f1 on black: 4.12:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006AF6
deuteranopia · #006FED
tritanopia · #9B5E90

Color scale — 50 to 950

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

#F9F2FD
#F3E5FA
#E5C4F8
#D595F8
#C161F5
#a720f1
#9A0EE6
#800CC0
#670A9A
#4C0C6F
#2F0745
Base = 500Lightest = 50 · #F9F2FDDarkest = 950 · #2F0745
:root {
  --brand-50: #F9F2FD;
  --brand-100: #F3E5FA;
  --brand-200: #E5C4F8;
  --brand-300: #D595F8;
  --brand-400: #C161F5;
  --brand-500: #a720f1;
  --brand-600: #9A0EE6;
  --brand-700: #800CC0;
  --brand-800: #670A9A;
  --brand-900: #4C0C6F;
  --brand-950: #2F0745;
  --brand: #a720f1;
  --brand-ink: #ffffff;
}

Colors that work with #a720f1

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#F8F4FA
Tinted page background
Border#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#79C408
Second voice, not a rival
Dark variant#500878
Hover, pressed, headers
Light variant#F6E7FD
Selected rows, tints
Dark surface#1F1424
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 #a720f1

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#6AF120
Analogous left#3F20F1
Analogous right#F120D2
Split-complement 1#D2F120
Split-complement 2#20F13F
Triadic 1#F1A720
Triadic 2#20F1A7
Tetradic#F13F20

RGB percentages

Red65.5%
Green12.5%
Blue94.5%

CMYK percentages

Cyan30.7%
Magenta86.7%
Yellow0.0%
Key (black)5.5%

Color previews

#a720f1 text on a black background

contrast 4.12:1

Card sample

#a720f1 text on a white background

contrast 5.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 32, 241, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 32, 241, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a720f1;
background: linear-gradient(135deg, #a720f1, #F120AF);

Monochromatic scale

Palettes built from #a720f1

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.

#a720f1 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#a720f1, answered

What color is #a720f1?

#a720f1 is a balanced electric violet, closest to Blue Violet (ΔE2000 4.9). It sits at 279° on the hue wheel with 88% saturation and 54% lightness, which reads as cool.

What is the RGB value of #a720f1?

rgb(167, 32, 241) — 167 red, 32 green and 241 blue out of 255, or 65.5% / 12.5% / 94.5% by channel.

Is #a720f1 a light or a dark color?

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

Should I use black or white text on #a720f1?

White. It scores 5.10:1 against #a720f1, versus 4.12:1 for black — AA at any size.

What is the complementary color of #a720f1?

#6AF120 sits directly opposite on the wheel. Softer options are the split-complements #D2F120 and #20F13F, which give the same contrast with far less vibration.

What colors go well with #a720f1?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #79C408 as an accent and #500878 for hover and pressed states. For a palette, the analogous pair #3F20F1 and #F120D2 stays calm, while #6AF120 is the loudest partner.

What is #a720f1 in CMYK for printing?

cmyk(31%, 87%, 0%, 6%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #a720f1 warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #F120EE; nudged cooler, #591DF3.

Work with #a720f1 in the Color Lab