Skip to content

#7150eb

a balanced, electric blue · cool · closest name: Slate Blue

RGB
113, 80, 235
HSL
253°, 80%, 62%
CMYK
52, 66, 0, 8
Luminance
0.1525

At a glance

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

Hex
#7150eb
Hue
253°
blue
Saturation
80%
electric
Lightness
62%
balanced
Brightness
92%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1525
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
White
5.19:1
Closest name
Slate Blue
ΔE2000 4.9
Where it sits
Hue253° of 360°
Saturation80%
Lightness62%
Temperature
Warm ← → Cool76% 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#7150eb
RGBrgb(113, 80, 235)
HSLhsl(253, 80%, 62%)
CMYKcmyk(52%, 66%, 0%, 8%)
LABlab(46.0 51.8 -73.8)
LCHlch(46.0 90.2 305.1)
OKLCHoklch(0.556 0.221 286.6)
Decimal7426283
Display P3color(display-p3 0.443 0.314 0.922)

Copy-ready code

/* CSS */
color: #7150eb;
background-color: #7150eb;
/* Tailwind (arbitrary) */
class="text-[#7150eb] bg-[#7150eb]"
/* SCSS */
$brand: #7150eb;
/* SwiftUI */
Color(red: 0.443, green: 0.314, blue: 0.922)
/* Android */
Color.parseColor("#7150eb")
/* Flutter */
Color(0xFF7150EB)
/* Python / OpenCV (BGR) */
(235, 80, 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 #7150eb · 5.19:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.19:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 4.05:1
AA fail · AA large pass · AAA fail
Reading the other direction: #7150eb as text scores 5.19:1 on white and 4.05:1 on black.

Accessibility — WCAG contrast

Aa
#7150eb on white: 5.19:1
AA ✓ pass · AA-large · AAA
Aa
#7150eb on black: 4.05:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0071F0
deuteranopia · #0068E8
tritanopia · #417797

Color scale — 50 to 950

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

#F5F3FC
#EAE6F9
#D1C7F5
#AD9AF3
#7150eb
#5C36E8
#4319DC
#3815B7
#2C1192
#24106A
#160A42
Base = 400Lightest = 50 · #F5F3FCDarkest = 950 · #160A42
:root {
  --brand-50: #F5F3FC;
  --brand-100: #EAE6F9;
  --brand-200: #D1C7F5;
  --brand-300: #AD9AF3;
  --brand-400: #7150eb;
  --brand-500: #5C36E8;
  --brand-600: #4319DC;
  --brand-700: #3815B7;
  --brand-800: #2C1192;
  --brand-900: #24106A;
  --brand-950: #160A42;
  --brand: #7150eb;
  --brand-ink: #ffffff;
}

Colors that work with #7150eb

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#C9C0ED
Hairlines and dividers
Muted text#5C4B9B
Captions on the surface
Accent#BBB511
Second voice, not a rival
Dark variant#230D72
Hover, pressed, headers
Light variant#ECE8FC
Selected rows, tints
Dark surface#171424
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 #7150eb

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#CAEB50
Analogous left#507DEB
Analogous right#BF50EB
Split-complement 1#EBBF50
Split-complement 2#7DEB50
Triadic 1#EB7150
Triadic 2#50EB71
Tetradic#EB507D

RGB percentages

Red44.3%
Green31.4%
Blue92.2%

CMYK percentages

Cyan51.9%
Magenta66.0%
Yellow0.0%
Key (black)7.8%

Color previews

#7150eb text on a black background

contrast 4.05:1

Card sample

#7150eb text on a white background

contrast 5.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(113, 80, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(113, 80, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7150eb;
background: linear-gradient(135deg, #7150eb, #D850EB);

Monochromatic scale

Palettes built from #7150eb

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.

#7150eb 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
ButtonsLinksFocus statesCharts
Print note

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

#7150eb, answered

What color is #7150eb?

#7150eb is a balanced electric blue, closest to Slate Blue (ΔE2000 4.9). It sits at 253° on the hue wheel with 80% saturation and 62% lightness, which reads as cool.

What is the RGB value of #7150eb?

rgb(113, 80, 235) — 113 red, 80 green and 235 blue out of 255, or 44.3% / 31.4% / 92.2% by channel.

Is #7150eb a light or a dark color?

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

Should I use black or white text on #7150eb?

White. It scores 5.19:1 against #7150eb, versus 4.05:1 for black — AA at any size.

What is the complementary color of #7150eb?

#CAEB50 sits directly opposite on the wheel. Softer options are the split-complements #EBBF50 and #7DEB50, which give the same contrast with far less vibration.

What colors go well with #7150eb?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5C4B9B for secondary text, #BBB511 as an accent and #230D72 for hover and pressed states. For a palette, the analogous pair #507DEB and #BF50EB stays calm, while #CAEB50 is the loudest partner.

What is #7150eb in CMYK for printing?

cmyk(52%, 66%, 0%, 8%). 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 #7150eb warm or cool?

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

Work with #7150eb in the Color Lab