Skip to content

#752ac2

a balanced, vivid violet · cool · closest name: Dark Violet

RGB
117, 42, 194
HSL
270°, 64%, 46%
CMYK
40, 78, 0, 24
Luminance
0.0933

At a glance

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

Hex
#752ac2
Hue
270°
violet
Saturation
64%
vivid
Lightness
46%
balanced
Brightness
76%
HSV value
Perceived
38%
weighted brightness
Luminance
0.0933
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
7.33:1
Closest name
Dark Violet
ΔE2000 5.2
Where it sits
Hue270° of 360°
Saturation64%
Lightness46%
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#752ac2
RGBrgb(117, 42, 194)
HSLhsl(270, 64%, 46%)
CMYKcmyk(40%, 78%, 0%, 24%)
LABlab(36.6 59.8 -65.5)
LCHlch(36.6 88.7 312.4)
OKLCHoklch(0.481 0.217 300.5)
Decimal7678658
Display P3color(display-p3 0.459 0.165 0.761)

Copy-ready code

/* CSS */
color: #752ac2;
background-color: #752ac2;
/* Tailwind (arbitrary) */
class="text-[#752ac2] bg-[#752ac2]"
/* SCSS */
$brand: #752ac2;
/* SwiftUI */
Color(red: 0.459, green: 0.165, blue: 0.761)
/* Android */
Color.parseColor("#752ac2")
/* Flutter */
Color(0xFF752AC2)
/* Python / OpenCV (BGR) */
(194, 42, 117)

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#ffffff on #752ac2 · 7.33:1
Use #ffffffAAA at every size.
Aa
White text · 7.33:1 · recommended
AA pass · AA large pass · AAA pass
Aa
Black text · 2.87:1
AA fail · AA large fail · AAA fail
Reading the other direction: #752ac2 as text scores 7.33:1 on white and 2.87:1 on black.

Accessibility — WCAG contrast

Aa
#752ac2 on white: 7.33:1
AA ✓ pass · AA-large · AAA
Aa
#752ac2 on black: 2.87:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0056C6
deuteranopia · #0055BF
tritanopia · #635376

Color scale — 50 to 950

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

#F7F4FB
#F0E8F7
#DECBF1
#C6A3EB
#AA75E1
#8E47D7
#752ac2
#6524A8
#511D86
#3D1961
#26103D
Base = 600Lightest = 50 · #F7F4FBDarkest = 950 · #26103D
:root {
  --brand-50: #F7F4FB;
  --brand-100: #F0E8F7;
  --brand-200: #DECBF1;
  --brand-300: #C6A3EB;
  --brand-400: #AA75E1;
  --brand-500: #8E47D7;
  --brand-600: #752ac2;
  --brand-700: #6524A8;
  --brand-800: #511D86;
  --brand-900: #3D1961;
  --brand-950: #26103D;
  --brand: #752ac2;
  --brand-ink: #ffffff;
}

Colors that work with #752ac2

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F7F4FA
Tinted page background
Border#D6C0ED
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#8AAC20
Second voice, not a rival
Dark variant#3F1769
Hover, pressed, headers
Light variant#F2EAFA
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 #752ac2

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Text on black or near-black surfaces
  • 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#77C22A
Analogous left#2A2BC2
Analogous right#C12AC2
Split-complement 1#C2C12A
Split-complement 2#2BC22A
Triadic 1#C2752A
Triadic 2#2AC275
Tetradic#C22A2B

RGB percentages

Red45.9%
Green16.5%
Blue76.1%

CMYK percentages

Cyan39.7%
Magenta78.4%
Yellow0.0%
Key (black)23.9%

Color previews

#752ac2 text on a black background

contrast 2.87:1

Card sample

#752ac2 text on a white background

contrast 7.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(117, 42, 194, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(117, 42, 194, 0.45);
Border & gradient
Gradient panel
border: 3px solid #752ac2;
background: linear-gradient(135deg, #752ac2, #C22AAA);

Monochromatic scale

Palettes built from #752ac2

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.

#752ac2 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

Converts to four-color process without much drama. Proof it anyway.

#752ac2, answered

What color is #752ac2?

#752ac2 is a balanced vivid violet, closest to Dark Violet (ΔE2000 5.2). It sits at 270° on the hue wheel with 64% saturation and 46% lightness, which reads as cool.

What is the RGB value of #752ac2?

rgb(117, 42, 194) — 117 red, 42 green and 194 blue out of 255, or 45.9% / 16.5% / 76.1% by channel.

Is #752ac2 a light or a dark color?

It is a dark color. Relative luminance is 0.0933 and perceived brightness is 38%, so white text on it reaches 7.33:1.

Should I use black or white text on #752ac2?

White. It scores 7.33:1 against #752ac2, versus 2.87:1 for black — AAA at any size.

What is the complementary color of #752ac2?

#77C22A sits directly opposite on the wheel. Softer options are the split-complements #C2C12A and #2BC22A, which give the same contrast with far less vibration.

What colors go well with #752ac2?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #8AAC20 as an accent and #3F1769 for hover and pressed states. For a palette, the analogous pair #2A2BC2 and #C12AC2 stays calm, while #77C22A is the loudest partner.

What is #752ac2 in CMYK for printing?

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

Is #752ac2 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 #AD2AC2; nudged cooler, #3C28C4.

Work with #752ac2 in the Color Lab