Skip to content

#ac94f7

a light, electric blue · cool · closest name: Medium Purple

RGB
172, 148, 247
HSL
255°, 86%, 78%
CMYK
30, 40, 0, 3
Luminance
0.3667

At a glance

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

Hex
#ac94f7
Hue
255°
blue
Saturation
86%
electric
Lightness
78%
light
Brightness
97%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3667
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
8.33:1
Closest name
Medium Purple
ΔE2000 10.8
Where it sits
Hue255° of 360°
Saturation86%
Lightness78%
Temperature
Warm ← → Cool75% 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#ac94f7
RGBrgb(172, 148, 247)
HSLhsl(255, 86%, 78%)
CMYKcmyk(30%, 40%, 0%, 3%)
LABlab(67.0 30.1 -46.4)
LCHlch(67.0 55.3 302.9)
OKLCHoklch(0.728 0.142 293.7)
Decimal11310327
Display P3color(display-p3 0.675 0.580 0.969)

Copy-ready code

/* CSS */
color: #ac94f7;
background-color: #ac94f7;
/* Tailwind (arbitrary) */
class="text-[#ac94f7] bg-[#ac94f7]"
/* SCSS */
$brand: #ac94f7;
/* SwiftUI */
Color(red: 0.675, green: 0.580, blue: 0.969)
/* Android */
Color.parseColor("#ac94f7")
/* Flutter */
Color(0xFFAC94F7)
/* Python / OpenCV (BGR) */
(247, 148, 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 #ac94f7 · 8.33:1
Use #000000AAA at every size.
Aa
White text · 2.52:1
AA fail · AA large fail · AAA fail
Aa
Black text · 8.33:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #ac94f7 as text scores 2.52:1 on white and 8.33:1 on black.

Accessibility — WCAG contrast

Aa
#ac94f7 on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#ac94f7 on black: 8.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #77A4FB
deuteranopia · #7AA1F5
tritanopia · #9BA6BA

Color scale — 50 to 950

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

#F5F2FD
#EAE5FA
#D1C5F7
#ac94f7
#8562F3
#5D2EEF
#4411E4
#390EBE
#2D0B98
#240D6E
#170845
Base = 300Lightest = 50 · #F5F2FDDarkest = 950 · #170845
:root {
  --brand-50: #F5F2FD;
  --brand-100: #EAE5FA;
  --brand-200: #D1C5F7;
  --brand-300: #ac94f7;
  --brand-400: #8562F3;
  --brand-500: #5D2EEF;
  --brand-600: #4411E4;
  --brand-700: #390EBE;
  --brand-800: #2D0B98;
  --brand-900: #240D6E;
  --brand-950: #170845;
  --brand: #ac94f7;
  --brand-ink: #000000;
}

Colors that work with #ac94f7

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#F6F4FA
Tinted page background
Border#CBC0ED
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#C1C00B
Second voice, not a rival
Dark variant#230977
Hover, pressed, headers
Light variant#EDE7FD
Selected rows, tints
Dark surface#181424
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 #ac94f7

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#DFF794
Analogous left#94AEF7
Analogous right#DE94F7
Split-complement 1#F7DE94
Split-complement 2#AEF794
Triadic 1#F7AC94
Triadic 2#94F7AC
Tetradic#F794AE

RGB percentages

Red67.5%
Green58.0%
Blue96.9%

CMYK percentages

Cyan30.4%
Magenta40.1%
Yellow0.0%
Key (black)3.1%

Color previews

#ac94f7 text on a black background

contrast 8.33:1

Card sample

#ac94f7 text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac94f7

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.

#ac94f7 in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
TechnologyFinanceHealthcareEnterprise SaaS
Common UI roles
SurfacesBadgesHighlightsEmpty states
Print note

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

#ac94f7, answered

What color is #ac94f7?

#ac94f7 is a light electric blue, closest to Medium Purple (ΔE2000 10.8). It sits at 255° on the hue wheel with 86% saturation and 78% lightness, which reads as cool.

What is the RGB value of #ac94f7?

rgb(172, 148, 247) — 172 red, 148 green and 247 blue out of 255, or 67.5% / 58% / 96.9% by channel.

Is #ac94f7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.3667 and perceived brightness is 66%, so black text on it reaches 8.33:1.

Should I use black or white text on #ac94f7?

Black. It scores 8.33:1 against #ac94f7, versus 2.52:1 for white — AAA at any size.

What is the complementary color of #ac94f7?

#DFF794 sits directly opposite on the wheel. Softer options are the split-complements #F7DE94 and #AEF794, which give the same contrast with far less vibration.

What colors go well with #ac94f7?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5E4B9B for secondary text, #C1C00B as an accent and #230977 for hover and pressed states. For a palette, the analogous pair #94AEF7 and #DE94F7 stays calm, while #DFF794 is the loudest partner.

What is #ac94f7 in CMYK for printing?

cmyk(30%, 40%, 0%, 3%). 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 #ac94f7 warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D094F7; nudged cooler, #93A0F8.

Work with #ac94f7 in the Color Lab