Skip to content

#7a50df

a balanced, vivid violet · cool · closest name: Slate Blue

RGB
122, 80, 223
HSL
258°, 69%, 59%
CMYK
45, 64, 0, 13
Luminance
0.1520

At a glance

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

Hex
#7a50df
Hue
258°
violet
Saturation
69%
vivid
Lightness
59%
balanced
Brightness
87%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1520
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.20:1
Closest name
Slate Blue
ΔE2000 4.6
Where it sits
Hue258° of 360°
Saturation69%
Lightness59%
Temperature
Warm ← → Cool74% 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#7a50df
RGBrgb(122, 80, 223)
HSLhsl(258, 69%, 59%)
CMYKcmyk(45%, 64%, 0%, 13%)
LABlab(45.9 50.1 -67.1)
LCHlch(45.9 83.7 306.8)
OKLCHoklch(0.555 0.206 291.8)
Decimal8016095
Display P3color(display-p3 0.478 0.314 0.875)

Copy-ready code

/* CSS */
color: #7a50df;
background-color: #7a50df;
/* Tailwind (arbitrary) */
class="text-[#7a50df] bg-[#7a50df]"
/* SCSS */
$brand: #7a50df;
/* SwiftUI */
Color(red: 0.478, green: 0.314, blue: 0.875)
/* Android */
Color.parseColor("#7a50df")
/* Flutter */
Color(0xFF7A50DF)
/* Python / OpenCV (BGR) */
(223, 80, 122)

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

Accessibility — WCAG contrast

Aa
#7a50df on white: 5.20:1
AA ✓ pass · AA-large · AAA
Aa
#7a50df on black: 4.04:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006FE3
deuteranopia · #006ADC
tritanopia · #5C7290

Color scale — 50 to 950

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

#F6F3FB
#ECE7F8
#D6CAF2
#B7A0EE
#9371E5
#7a50df
#5726CF
#4920AC
#3A198A
#2D1664
#1C0E3F
Base = 500Lightest = 50 · #F6F3FBDarkest = 950 · #1C0E3F
:root {
  --brand-50: #F6F3FB;
  --brand-100: #ECE7F8;
  --brand-200: #D6CAF2;
  --brand-300: #B7A0EE;
  --brand-400: #9371E5;
  --brand-500: #7a50df;
  --brand-600: #5726CF;
  --brand-700: #4920AC;
  --brand-800: #3A198A;
  --brand-900: #2D1664;
  --brand-950: #1C0E3F;
  --brand: #7a50df;
  --brand-ink: #ffffff;
}

Colors that work with #7a50df

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#F6F4FA
Tinted page background
Border#CDC0ED
Hairlines and dividers
Muted text#624B9B
Captions on the surface
Accent#AAB01C
Second voice, not a rival
Dark variant#2E146C
Hover, pressed, headers
Light variant#EFE9FB
Selected rows, tints
Dark surface#191424
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 #7a50df

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#B5DF50
Analogous left#506EDF
Analogous right#C150DF
Split-complement 1#DFC150
Split-complement 2#6EDF50
Triadic 1#DF7A50
Triadic 2#50DF7A
Tetradic#DF506E

RGB percentages

Red47.8%
Green31.4%
Blue87.5%

CMYK percentages

Cyan45.3%
Magenta64.1%
Yellow0.0%
Key (black)12.5%

Color previews

#7a50df text on a black background

contrast 4.04:1

Card sample

#7a50df text on a white background

contrast 5.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(122, 80, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(122, 80, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7a50df;
background: linear-gradient(135deg, #7a50df, #D950DF);

Monochromatic scale

Palettes built from #7a50df

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.

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

#7a50df, answered

What color is #7a50df?

#7a50df is a balanced vivid violet, closest to Slate Blue (ΔE2000 4.6). It sits at 258° on the hue wheel with 69% saturation and 59% lightness, which reads as cool.

What is the RGB value of #7a50df?

rgb(122, 80, 223) — 122 red, 80 green and 223 blue out of 255, or 47.8% / 31.4% / 87.5% by channel.

Is #7a50df a light or a dark color?

It is a dark color. Relative luminance is 0.1520 and perceived brightness is 46%, so white text on it reaches 5.20:1.

Should I use black or white text on #7a50df?

White. It scores 5.20:1 against #7a50df, versus 4.04:1 for black — AA at any size.

What is the complementary color of #7a50df?

#B5DF50 sits directly opposite on the wheel. Softer options are the split-complements #DFC150 and #6EDF50, which give the same contrast with far less vibration.

What colors go well with #7a50df?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #624B9B for secondary text, #AAB01C as an accent and #2E146C for hover and pressed states. For a palette, the analogous pair #506EDF and #C150DF stays calm, while #B5DF50 is the loudest partner.

What is #7a50df in CMYK for printing?

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

Is #7a50df warm or cool?

Cool — it scores 74 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #AE50DF; nudged cooler, #4E59E1.

Work with #7a50df in the Color Lab