Skip to content

#ac3ffc

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

RGB
172, 63, 252
HSL
275°, 97%, 62%
CMYK
32, 75, 0, 1
Luminance
0.1935

At a glance

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

Hex
#ac3ffc
Hue
275°
violet
Saturation
97%
electric
Lightness
62%
balanced
Brightness
99%
HSV value
Perceived
53%
weighted brightness
Luminance
0.1935
WCAG relative
Temperature
Cool
64/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.87:1
Closest name
Medium Orchid
ΔE2000 7.9
Where it sits
Hue275° of 360°
Saturation97%
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#ac3ffc
RGBrgb(172, 63, 252)
HSLhsl(275, 97%, 62%)
CMYKcmyk(32%, 75%, 0%, 1%)
LABlab(51.1 73.7 -74.7)
LCHlch(51.1 105.0 314.6)
OKLCHoklch(0.612 0.263 306.1)
Decimal11288572
Display P3color(display-p3 0.675 0.247 0.988)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ac3ffc on white: 4.31:1
AA ✗ fail · AA-large · AAA
Aa
#ac3ffc on black: 4.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0077FF
deuteranopia · #007AF8
tritanopia · #9E6F9C

Color scale — 50 to 950

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

#F8F1FD
#F2E4FC
#E2C1FB
#CF91FD
#ac3ffc
#9F22FC
#8D04F1
#7503C9
#5E03A1
#460774
#2B0448
Base = 400Lightest = 50 · #F8F1FDDarkest = 950 · #2B0448
:root {
  --brand-50: #F8F1FD;
  --brand-100: #F2E4FC;
  --brand-200: #E2C1FB;
  --brand-300: #CF91FD;
  --brand-400: #ac3ffc;
  --brand-500: #9F22FC;
  --brand-600: #8D04F1;
  --brand-700: #7503C9;
  --brand-800: #5E03A1;
  --brand-900: #460774;
  --brand-950: #2B0448;
  --brand: #ac3ffc;
  --brand-ink: #000000;
}

Colors that work with #ac3ffc

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#794B9B
Captions on the surface
Accent#89CC00
Second voice, not a rival
Dark variant#49027E
Hover, pressed, headers
Light variant#F4E6FF
Selected rows, tints
Dark surface#1D1424
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 #ac3ffc

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#8FFC3F
Analogous left#4E3FFC
Analogous right#FC3FEE
Split-complement 1#EEFC3F
Split-complement 2#3FFC4E
Triadic 1#FCAC3F
Triadic 2#3FFCAC
Tetradic#FC4E3F

RGB percentages

Red67.5%
Green24.7%
Blue98.8%

CMYK percentages

Cyan31.7%
Magenta75.0%
Yellow0.0%
Key (black)1.2%

Color previews

#ac3ffc text on a black background

contrast 4.87:1

Card sample

#ac3ffc text on a white background

contrast 4.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ac3ffc

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.

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

#ac3ffc, answered

What color is #ac3ffc?

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

What is the RGB value of #ac3ffc?

rgb(172, 63, 252) — 172 red, 63 green and 252 blue out of 255, or 67.5% / 24.7% / 98.8% by channel.

Is #ac3ffc a light or a dark color?

It is a mid-tone. Relative luminance is 0.1935 and perceived brightness is 53%, so black text on it reaches 4.87:1.

Should I use black or white text on #ac3ffc?

Black. It scores 4.87:1 against #ac3ffc, versus 4.31:1 for white — AA at any size.

What is the complementary color of #ac3ffc?

#8FFC3F sits directly opposite on the wheel. Softer options are the split-complements #EEFC3F and #3FFC4E, which give the same contrast with far less vibration.

What colors go well with #ac3ffc?

For interface work: #F8F4FA as the surface, #DAC0ED for borders, #794B9B for secondary text, #89CC00 as an accent and #49027E for hover and pressed states. For a palette, the analogous pair #4E3FFC and #FC3FEE stays calm, while #8FFC3F is the loudest partner.

What is #ac3ffc in CMYK for printing?

cmyk(32%, 75%, 0%, 1%). 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 #ac3ffc 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 #F13FFC; nudged cooler, #663DFE.

Work with #ac3ffc in the Color Lab