Skip to content

#ac4eed

a balanced, electric violet · cool · closest name: Medium Orchid

RGB
172, 78, 237
HSL
276°, 82%, 62%
CMYK
27, 67, 0, 7
Luminance
0.2033

At a glance

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

Hex
#ac4eed
Hue
276°
violet
Saturation
82%
electric
Lightness
62%
balanced
Brightness
93%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2033
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.07:1
Closest name
Medium Orchid
ΔE2000 5.6
Where it sits
Hue276° of 360°
Saturation82%
Lightness62%
Temperature
Warm ← → Cool64% 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#ac4eed
RGBrgb(172, 78, 237)
HSLhsl(276, 82%, 62%)
CMYKcmyk(27%, 67%, 0%, 7%)
LABlab(52.2 64.4 -64.5)
LCHlch(52.2 91.2 315.0)
OKLCHoklch(0.616 0.232 308.1)
Decimal11292397
Display P3color(display-p3 0.675 0.306 0.929)

Copy-ready code

/* CSS */
color: #ac4eed;
background-color: #ac4eed;
/* Tailwind (arbitrary) */
class="text-[#ac4eed] bg-[#ac4eed]"
/* SCSS */
$brand: #ac4eed;
/* SwiftUI */
Color(red: 0.675, green: 0.306, blue: 0.929)
/* Android */
Color.parseColor("#ac4eed")
/* Flutter */
Color(0xFFAC4EED)
/* Python / OpenCV (BGR) */
(237, 78, 172)

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

Accessibility — WCAG contrast

Aa
#ac4eed on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#ac4eed on black: 5.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0079F2
deuteranopia · #2B7EEA
tritanopia · #A27098

Color scale — 50 to 950

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

#F8F2FC
#F1E6F9
#E2C6F6
#CF99F5
#ac4eed
#A033EA
#8D17DE
#7513B9
#5E0F94
#460F6B
#2C0A43
Base = 400Lightest = 50 · #F8F2FCDarkest = 950 · #2C0A43
:root {
  --brand-50: #F8F2FC;
  --brand-100: #F1E6F9;
  --brand-200: #E2C6F6;
  --brand-300: #CF99F5;
  --brand-400: #ac4eed;
  --brand-500: #A033EA;
  --brand-600: #8D17DE;
  --brand-700: #7513B9;
  --brand-800: #5E0F94;
  --brand-900: #460F6B;
  --brand-950: #2C0A43;
  --brand: #ac4eed;
  --brand-ink: #000000;
}

Colors that work with #ac4eed

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#DAC0ED
Hairlines and dividers
Muted text#7A4B9B
Captions on the surface
Accent#82BD0F
Second voice, not a rival
Dark variant#490C74
Hover, pressed, headers
Light variant#F4E8FD
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 #ac4eed

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#8FED4E
Analogous left#5D4EED
Analogous right#ED4EDE
Split-complement 1#DEED4E
Split-complement 2#4EED5D
Triadic 1#EDAC4E
Triadic 2#4EEDAC
Tetradic#ED5D4E

RGB percentages

Red67.5%
Green30.6%
Blue92.9%

CMYK percentages

Cyan27.4%
Magenta67.1%
Yellow0.0%
Key (black)7.1%

Color previews

#ac4eed text on a black background

contrast 5.07:1

Card sample

#ac4eed text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 78, 237, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 78, 237, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ac4eed;
background: linear-gradient(135deg, #ac4eed, #ED4EC4);

Monochromatic scale

Palettes built from #ac4eed

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.

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

#ac4eed, answered

What color is #ac4eed?

#ac4eed is a balanced electric violet, closest to Medium Orchid (ΔE2000 5.6). It sits at 276° on the hue wheel with 82% saturation and 62% lightness, which reads as cool.

What is the RGB value of #ac4eed?

rgb(172, 78, 237) — 172 red, 78 green and 237 blue out of 255, or 67.5% / 30.6% / 92.9% by channel.

Is #ac4eed a light or a dark color?

It is a mid-tone. Relative luminance is 0.2033 and perceived brightness is 54%, so black text on it reaches 5.07:1.

Should I use black or white text on #ac4eed?

Black. It scores 5.07:1 against #ac4eed, versus 4.14:1 for white — AA at any size.

What is the complementary color of #ac4eed?

#8FED4E sits directly opposite on the wheel. Softer options are the split-complements #DEED4E and #4EED5D, which give the same contrast with far less vibration.

What colors go well with #ac4eed?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #82BD0F as an accent and #490C74 for hover and pressed states. For a palette, the analogous pair #5D4EED and #ED4EDE stays calm, while #8FED4E is the loudest partner.

What is #ac4eed in CMYK for printing?

cmyk(27%, 67%, 0%, 7%). 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 #ac4eed warm or cool?

Cool — it scores 64 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E64EED; nudged cooler, #714CEF.

Work with #ac4eed in the Color Lab