Skip to content

#705cec

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

RGB
112, 92, 236
HSL
248°, 79%, 64%
CMYK
53, 61, 0, 8
Luminance
0.1716

At a glance

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

Hex
#705cec
Hue
248°
blue
Saturation
79%
electric
Lightness
64%
balanced
Brightness
93%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1716
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Electric
Best ink
White
4.74:1
Closest name
Medium Slate Blue
ΔE2000 3.9
Where it sits
Hue248° of 360°
Saturation79%
Lightness64%
Temperature
Warm ← → Cool79% 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#705cec
RGBrgb(112, 92, 236)
HSLhsl(248, 79%, 64%)
CMYKcmyk(53%, 61%, 0%, 8%)
LABlab(48.5 45.3 -70.3)
LCHlch(48.5 83.6 302.8)
OKLCHoklch(0.575 0.208 284.1)
Decimal7363820
Display P3color(display-p3 0.439 0.361 0.925)

Copy-ready code

/* CSS */
color: #705cec;
background-color: #705cec;
/* Tailwind (arbitrary) */
class="text-[#705cec] bg-[#705cec]"
/* SCSS */
$brand: #705cec;
/* SwiftUI */
Color(red: 0.439, green: 0.361, blue: 0.925)
/* Android */
Color.parseColor("#705cec")
/* Flutter */
Color(0xFF705CEC)
/* Python / OpenCV (BGR) */
(236, 92, 112)

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

Accessibility — WCAG contrast

Aa
#705cec on white: 4.74:1
AA ✓ pass · AA-large · AAA
Aa
#705cec on black: 4.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0077F1
deuteranopia · #006EE9
tritanopia · #3C7F9B

Color scale — 50 to 950

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

#F4F3FC
#E9E6F9
#CDC7F5
#A79BF3
#705cec
#4F36E8
#341ADB
#2C15B7
#231192
#1D116A
#120A42
Base = 400Lightest = 50 · #F4F3FCDarkest = 950 · #120A42
:root {
  --brand-50: #F4F3FC;
  --brand-100: #E9E6F9;
  --brand-200: #CDC7F5;
  --brand-300: #A79BF3;
  --brand-400: #705cec;
  --brand-500: #4F36E8;
  --brand-600: #341ADB;
  --brand-700: #2C15B7;
  --brand-800: #231192;
  --brand-900: #1D116A;
  --brand-950: #120A42;
  --brand: #705cec;
  --brand-ink: #ffffff;
}

Colors that work with #705cec

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#F5F4FA
Tinted page background
Border#C6C0ED
Hairlines and dividers
Muted text#564B9B
Captions on the surface
Accent#BBA811
Second voice, not a rival
Dark variant#1B0D72
Hover, pressed, headers
Light variant#EBE8FC
Selected rows, tints
Dark surface#161424
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 #705cec

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#D8EC5C
Analogous left#5C90EC
Analogous right#B85CEC
Split-complement 1#ECB85C
Split-complement 2#90EC5C
Triadic 1#EC705C
Triadic 2#5CEC70
Tetradic#EC5C90

RGB percentages

Red43.9%
Green36.1%
Blue92.5%

CMYK percentages

Cyan52.5%
Magenta61.0%
Yellow0.0%
Key (black)7.5%

Color previews

#705cec text on a black background

contrast 4.43:1

Card sample

#705cec text on a white background

contrast 4.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(112, 92, 236, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 92, 236, 0.45);
Border & gradient
Gradient panel
border: 3px solid #705cec;
background: linear-gradient(135deg, #705cec, #D05CEC);

Monochromatic scale

Palettes built from #705cec

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.

#705cec 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.

#705cec, answered

What color is #705cec?

#705cec is a balanced electric blue, closest to Medium Slate Blue (ΔE2000 3.9). It sits at 248° on the hue wheel with 79% saturation and 64% lightness, which reads as cool.

What is the RGB value of #705cec?

rgb(112, 92, 236) — 112 red, 92 green and 236 blue out of 255, or 43.9% / 36.1% / 92.5% by channel.

Is #705cec a light or a dark color?

It is a dark color. Relative luminance is 0.1716 and perceived brightness is 48%, so white text on it reaches 4.74:1.

Should I use black or white text on #705cec?

White. It scores 4.74:1 against #705cec, versus 4.43:1 for black — AA at any size.

What is the complementary color of #705cec?

#D8EC5C sits directly opposite on the wheel. Softer options are the split-complements #ECB85C and #90EC5C, which give the same contrast with far less vibration.

What colors go well with #705cec?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #564B9B for secondary text, #BBA811 as an accent and #1B0D72 for hover and pressed states. For a palette, the analogous pair #5C90EC and #B85CEC stays calm, while #D8EC5C is the loudest partner.

What is #705cec in CMYK for printing?

cmyk(53%, 61%, 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 #705cec warm or cool?

Cool — it scores 79 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A55CEC; nudged cooler, #5A7BEE.

Work with #705cec in the Color Lab