Skip to content

#7124f2

a balanced, electric violet · cool · closest name: Blue Violet

RGB
113, 36, 242
HSL
262°, 89%, 55%
CMYK
53, 85, 0, 5
Luminance
0.1118

At a glance

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

Hex
#7124f2
Hue
262°
violet
Saturation
89%
electric
Lightness
55%
balanced
Brightness
95%
HSV value
Perceived
42%
weighted brightness
Luminance
0.1118
WCAG relative
Temperature
Cool
71/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.49:1
Closest name
Blue Violet
ΔE2000 4.2
Where it sits
Hue262° of 360°
Saturation89%
Lightness55%
Temperature
Warm ← → Cool71% 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#7124f2
RGBrgb(113, 36, 242)
HSLhsl(262, 89%, 55%)
CMYKcmyk(53%, 85%, 0%, 5%)
LABlab(39.9 72.8 -87.7)
LCHlch(39.9 114.0 309.7)
OKLCHoklch(0.516 0.269 290.0)
Decimal7415026
Display P3color(display-p3 0.443 0.141 0.949)

Copy-ready code

/* CSS */
color: #7124f2;
background-color: #7124f2;
/* Tailwind (arbitrary) */
class="text-[#7124f2] bg-[#7124f2]"
/* SCSS */
$brand: #7124f2;
/* SwiftUI */
Color(red: 0.443, green: 0.141, blue: 0.949)
/* Android */
Color.parseColor("#7124f2")
/* Flutter */
Color(0xFF7124F2)
/* Python / OpenCV (BGR) */
(242, 36, 113)

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

Accessibility — WCAG contrast

Aa
#7124f2 on white: 6.49:1
AA ✓ pass · AA-large · AAA
Aa
#7124f2 on black: 3.24:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0062F7
deuteranopia · #0059EF
tritanopia · #3D6791

Color scale — 50 to 950

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

#F6F2FD
#EDE5FB
#D7C4F8
#BA95F9
#9860F6
#7124f2
#5F0EE7
#4F0BC1
#3F099A
#310B6F
#1E0745
Base = 500Lightest = 50 · #F6F2FDDarkest = 950 · #1E0745
:root {
  --brand-50: #F6F2FD;
  --brand-100: #EDE5FB;
  --brand-200: #D7C4F8;
  --brand-300: #BA95F9;
  --brand-400: #9860F6;
  --brand-500: #7124f2;
  --brand-600: #5F0EE7;
  --brand-700: #4F0BC1;
  --brand-800: #3F099A;
  --brand-900: #310B6F;
  --brand-950: #1E0745;
  --brand: #7124f2;
  --brand-ink: #ffffff;
}

Colors that work with #7124f2

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#D1C0ED
Hairlines and dividers
Muted text#694B9B
Captions on the surface
Accent#ADC507
Second voice, not a rival
Dark variant#310778
Hover, pressed, headers
Light variant#EFE7FE
Selected rows, tints
Dark surface#1A1424
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 #7124f2

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
  • 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#A5F224
Analogous left#243EF2
Analogous right#D824F2
Split-complement 1#F2D824
Split-complement 2#3EF224
Triadic 1#F27124
Triadic 2#24F271
Tetradic#F2243E

RGB percentages

Red44.3%
Green14.1%
Blue94.9%

CMYK percentages

Cyan53.3%
Magenta85.1%
Yellow0.0%
Key (black)5.1%

Color previews

#7124f2 text on a black background

contrast 3.24:1

Card sample

#7124f2 text on a white background

contrast 6.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(113, 36, 242, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(113, 36, 242, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7124f2;
background: linear-gradient(135deg, #7124f2, #F224EA);

Monochromatic scale

Palettes built from #7124f2

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.

#7124f2 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.

#7124f2, answered

What color is #7124f2?

#7124f2 is a balanced electric violet, closest to Blue Violet (ΔE2000 4.2). It sits at 262° on the hue wheel with 89% saturation and 55% lightness, which reads as cool.

What is the RGB value of #7124f2?

rgb(113, 36, 242) — 113 red, 36 green and 242 blue out of 255, or 44.3% / 14.1% / 94.9% by channel.

Is #7124f2 a light or a dark color?

It is a dark color. Relative luminance is 0.1118 and perceived brightness is 42%, so white text on it reaches 6.49:1.

Should I use black or white text on #7124f2?

White. It scores 6.49:1 against #7124f2, versus 3.24:1 for black — AA at any size.

What is the complementary color of #7124f2?

#A5F224 sits directly opposite on the wheel. Softer options are the split-complements #F2D824 and #3EF224, which give the same contrast with far less vibration.

What colors go well with #7124f2?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #694B9B for secondary text, #ADC507 as an accent and #310778 for hover and pressed states. For a palette, the analogous pair #243EF2 and #D824F2 stays calm, while #A5F224 is the loudest partner.

What is #7124f2 in CMYK for printing?

cmyk(53%, 85%, 0%, 5%). 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 #7124f2 warm or cool?

Cool — it scores 71 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BC24F2; nudged cooler, #2322F4.

Work with #7124f2 in the Color Lab