Skip to content

#a77cd3

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

RGB
167, 124, 211
HSL
270°, 50%, 66%
CMYK
21, 41, 0, 17
Luminance
0.2733

At a glance

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

Hex
#a77cd3
Hue
270°
violet
Saturation
50%
vivid
Lightness
66%
light
Brightness
83%
HSV value
Perceived
59%
weighted brightness
Luminance
0.2733
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
6.47:1
Closest name
Medium Purple
ΔE2000 6.1
Where it sits
Hue270° of 360°
Saturation50%
Lightness66%
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#a77cd3
RGBrgb(167, 124, 211)
HSLhsl(270, 50%, 66%)
CMYKcmyk(21%, 41%, 0%, 17%)
LABlab(59.3 33.5 -38.6)
LCHlch(59.3 51.2 311.0)
OKLCHoklch(0.662 0.133 305.9)
Decimal10976467
Display P3color(display-p3 0.655 0.486 0.827)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a77cd3 on white: 3.25:1
AA ✗ fail · AA-large · AAA
Aa
#a77cd3 on black: 6.47:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #688DD6
deuteranopia · #728FD1
tritanopia · #A08A9D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #a77cd3 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
#a77cd3
#8E57C7
#7A3EB7
#653399
#51297A
#3D2159
#261538
Base = 400Lightest = 50 · #F7F4FADarkest = 950 · #261538
:root {
  --brand-50: #F7F4FA;
  --brand-100: #F0EAF6;
  --brand-200: #DECFEC;
  --brand-300: #C7ABE3;
  --brand-400: #a77cd3;
  --brand-500: #8E57C7;
  --brand-600: #7A3EB7;
  --brand-700: #653399;
  --brand-800: #51297A;
  --brand-900: #3D2159;
  --brand-950: #261538;
  --brand: #a77cd3;
  --brand-ink: #000000;
}

Colors that work with #a77cd3

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#819D2F
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 #a77cd3

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#A8D37C
Analogous left#7C7CD3
Analogous right#D37CD3
Split-complement 1#D3D37C
Split-complement 2#7CD37C
Triadic 1#D3A77C
Triadic 2#7CD3A7
Tetradic#D37C7C

RGB percentages

Red65.5%
Green48.6%
Blue82.7%

CMYK percentages

Cyan20.9%
Magenta41.2%
Yellow0.0%
Key (black)17.3%

Color previews

#a77cd3 text on a black background

contrast 6.47:1

Card sample

#a77cd3 text on a white background

contrast 3.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a77cd3

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.

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

#a77cd3, answered

What color is #a77cd3?

#a77cd3 is a light vivid violet, closest to Medium Purple (ΔE2000 6.1). It sits at 270° on the hue wheel with 50% saturation and 66% lightness, which reads as cool.

What is the RGB value of #a77cd3?

rgb(167, 124, 211) — 167 red, 124 green and 211 blue out of 255, or 65.5% / 48.6% / 82.7% by channel.

Is #a77cd3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2733 and perceived brightness is 59%, so black text on it reaches 6.47:1.

Should I use black or white text on #a77cd3?

Black. It scores 6.47:1 against #a77cd3, versus 3.25:1 for white — AA at any size.

What is the complementary color of #a77cd3?

#A8D37C sits directly opposite on the wheel. Softer options are the split-complements #D3D37C and #7CD37C, which give the same contrast with far less vibration.

What colors go well with #a77cd3?

For interface work: #F7F4FA as the surface, #D6C2EA for borders, #724B9B for secondary text, #819D2F as an accent and #3F205F for hover and pressed states. For a palette, the analogous pair #7C7CD3 and #D37CD3 stays calm, while #A8D37C is the loudest partner.

What is #a77cd3 in CMYK for printing?

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

Is #a77cd3 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 #C77CD3; nudged cooler, #867AD5.

Work with #a77cd3 in the Color Lab