Skip to content

#a072cf

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

RGB
160, 114, 207
HSL
270°, 49%, 63%
CMYK
23, 45, 0, 19
Luminance
0.2401

At a glance

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

Hex
#a072cf
Hue
270°
violet
Saturation
49%
vivid
Lightness
63%
balanced
Brightness
81%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2401
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.80:1
Closest name
Medium Purple
ΔE2000 4.1
Where it sits
Hue270° of 360°
Saturation49%
Lightness63%
Temperature
Warm ← → Cool67% 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#a072cf
RGBrgb(160, 114, 207)
HSLhsl(270, 49%, 63%)
CMYKcmyk(23%, 45%, 0%, 19%)
LABlab(56.1 36.2 -41.4)
LCHlch(56.1 55.0 311.2)
OKLCHoklch(0.636 0.142 305.5)
Decimal10515151
Display P3color(display-p3 0.627 0.447 0.812)

Copy-ready code

/* CSS */
color: #a072cf;
background-color: #a072cf;
/* Tailwind (arbitrary) */
class="text-[#a072cf] bg-[#a072cf]"
/* SCSS */
$brand: #a072cf;
/* SwiftUI */
Color(red: 0.627, green: 0.447, blue: 0.812)
/* Android */
Color.parseColor("#a072cf")
/* Flutter */
Color(0xFFA072CF)
/* Python / OpenCV (BGR) */
(207, 114, 160)

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

Accessibility — WCAG contrast

Aa
#a072cf on white: 3.62:1
AA ✗ fail · AA-large · AAA
Aa
#a072cf on black: 5.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5A85D2
deuteranopia · #6687CD
tritanopia · #998197

Color scale — 50 to 950

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

#F7F4FA
#F0EAF6
#DECFEC
#C7ABE3
#a072cf
#8E58C6
#7A3EB7
#653498
#51297A
#3D2159
#261538
Base = 400Lightest = 50 · #F7F4FADarkest = 950 · #261538
:root {
  --brand-50: #F7F4FA;
  --brand-100: #F0EAF6;
  --brand-200: #DECFEC;
  --brand-300: #C7ABE3;
  --brand-400: #a072cf;
  --brand-500: #8E58C6;
  --brand-600: #7A3EB7;
  --brand-700: #653498;
  --brand-800: #51297A;
  --brand-900: #3D2159;
  --brand-950: #261538;
  --brand: #a072cf;
  --brand-ink: #000000;
}

Colors that work with #a072cf

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#D6C2EA
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#819C30
Second voice, not a rival
Dark variant#3F205F
Hover, pressed, headers
Light variant#F2ECF9
Selected rows, tints
Dark surface#1C1424
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 #a072cf

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#A1CF72
Analogous left#7272CF
Analogous right#CE72CF
Split-complement 1#CFCE72
Split-complement 2#72CF72
Triadic 1#CFA072
Triadic 2#72CFA0
Tetradic#CF7272

RGB percentages

Red62.7%
Green44.7%
Blue81.2%

CMYK percentages

Cyan22.7%
Magenta44.9%
Yellow0.0%
Key (black)18.8%

Color previews

#a072cf text on a black background

contrast 5.80:1

Card sample

#a072cf text on a white background

contrast 3.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a072cf

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.

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

#a072cf, answered

What color is #a072cf?

#a072cf is a balanced vivid violet, closest to Medium Purple (ΔE2000 4.1). It sits at 270° on the hue wheel with 49% saturation and 63% lightness, which reads as cool.

What is the RGB value of #a072cf?

rgb(160, 114, 207) — 160 red, 114 green and 207 blue out of 255, or 62.7% / 44.7% / 81.2% by channel.

Is #a072cf a light or a dark color?

It is a mid-tone. Relative luminance is 0.2401 and perceived brightness is 56%, so black text on it reaches 5.80:1.

Should I use black or white text on #a072cf?

Black. It scores 5.80:1 against #a072cf, versus 3.62:1 for white — AA at any size.

What is the complementary color of #a072cf?

#A1CF72 sits directly opposite on the wheel. Softer options are the split-complements #CFCE72 and #72CF72, which give the same contrast with far less vibration.

What colors go well with #a072cf?

For interface work: #F7F4FA as the surface, #D6C2EA for borders, #724B9B for secondary text, #819C30 as an accent and #3F205F for hover and pressed states. For a palette, the analogous pair #7272CF and #CE72CF stays calm, while #A1CF72 is the loudest partner.

What is #a072cf in CMYK for printing?

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

Is #a072cf warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C272CF; nudged cooler, #7C70D1.

Work with #a072cf in the Color Lab