Skip to content

#ac4eee

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

RGB
172, 78, 238
HSL
275°, 83%, 62%
CMYK
28, 67, 0, 7
Luminance
0.2039

At a glance

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

Hex
#ac4eee
Hue
275°
violet
Saturation
83%
electric
Lightness
62%
balanced
Brightness
93%
HSV value
Perceived
54%
weighted brightness
Luminance
0.2039
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
5.08:1
Closest name
Medium Orchid
ΔE2000 5.7
Where it sits
Hue275° of 360°
Saturation83%
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#ac4eee
RGBrgb(172, 78, 238)
HSLhsl(275, 83%, 62%)
CMYKcmyk(28%, 67%, 0%, 7%)
LABlab(52.3 64.7 -64.9)
LCHlch(52.3 91.6 314.9)
OKLCHoklch(0.617 0.233 307.9)
Decimal11292398
Display P3color(display-p3 0.675 0.306 0.933)

Copy-ready code

/* CSS */
color: #ac4eee;
background-color: #ac4eee;
/* Tailwind (arbitrary) */
class="text-[#ac4eee] bg-[#ac4eee]"
/* SCSS */
$brand: #ac4eee;
/* SwiftUI */
Color(red: 0.675, green: 0.306, blue: 0.933)
/* Android */
Color.parseColor("#ac4eee")
/* Flutter */
Color(0xFFAC4EEE)
/* Python / OpenCV (BGR) */
(238, 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 #ac4eee · 5.08: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.08:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ac4eee as text scores 4.14:1 on white and 5.08:1 on black.

Accessibility — WCAG contrast

Aa
#ac4eee on white: 4.14:1
AA ✗ fail · AA-large · AAA
Aa
#ac4eee on black: 5.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0079F3
deuteranopia · #297EEB
tritanopia · #A27198

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ac4eee 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
#F1E6FA
#E2C6F6
#CF99F5
#ac4eee
#9F32EB
#8C15DF
#7512BA
#5D0E95
#450F6C
#2B0943
Base = 400Lightest = 50 · #F8F2FCDarkest = 950 · #2B0943
:root {
  --brand-50: #F8F2FC;
  --brand-100: #F1E6FA;
  --brand-200: #E2C6F6;
  --brand-300: #CF99F5;
  --brand-400: #ac4eee;
  --brand-500: #9F32EB;
  --brand-600: #8C15DF;
  --brand-700: #7512BA;
  --brand-800: #5D0E95;
  --brand-900: #450F6C;
  --brand-950: #2B0943;
  --brand: #ac4eee;
  --brand-ink: #000000;
}

Colors that work with #ac4eee

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#82BE0E
Second voice, not a rival
Dark variant#490B74
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 #ac4eee

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#90EE4E
Analogous left#5C4EEE
Analogous right#EE4EE0
Split-complement 1#E0EE4E
Split-complement 2#4EEE5C
Triadic 1#EEAC4E
Triadic 2#4EEEAC
Tetradic#EE5C4E

RGB percentages

Red67.5%
Green30.6%
Blue93.3%

CMYK percentages

Cyan27.7%
Magenta67.2%
Yellow0.0%
Key (black)6.7%

Color previews

#ac4eee text on a black background

contrast 5.08:1

Card sample

#ac4eee text on a white background

contrast 4.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac4eee

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.

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

#ac4eee, answered

What color is #ac4eee?

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

What is the RGB value of #ac4eee?

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

Is #ac4eee a light or a dark color?

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

Should I use black or white text on #ac4eee?

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

What is the complementary color of #ac4eee?

#90EE4E sits directly opposite on the wheel. Softer options are the split-complements #E0EE4E and #4EEE5C, which give the same contrast with far less vibration.

What colors go well with #ac4eee?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #7A4B9B for secondary text, #82BE0E as an accent and #490B74 for hover and pressed states. For a palette, the analogous pair #5C4EEE and #EE4EE0 stays calm, while #90EE4E is the loudest partner.

What is #ac4eee in CMYK for printing?

cmyk(28%, 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 #ac4eee 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 #E74EEE; nudged cooler, #714CF0.

Work with #ac4eee in the Color Lab