Skip to content

#7d5df3

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

RGB
125, 93, 243
HSL
253°, 86%, 66%
CMYK
49, 62, 0, 5
Luminance
0.1866

At a glance

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

Hex
#7d5df3
Hue
253°
blue
Saturation
86%
electric
Lightness
66%
light
Brightness
95%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1866
WCAG relative
Temperature
Cool
76/100 cool
Color family
Blue
Tone
Electric
Best ink
Black
4.73:1
Closest name
Medium Slate Blue
ΔE2000 3.1
Where it sits
Hue253° of 360°
Saturation86%
Lightness66%
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#7d5df3
RGBrgb(125, 93, 243)
HSLhsl(253, 86%, 66%)
CMYKcmyk(49%, 62%, 0%, 5%)
LABlab(50.3 49.1 -71.2)
LCHlch(50.3 86.5 304.6)
OKLCHoklch(0.592 0.214 287.8)
Decimal8216051
Display P3color(display-p3 0.490 0.365 0.953)

Copy-ready code

/* CSS */
color: #7d5df3;
background-color: #7d5df3;
/* Tailwind (arbitrary) */
class="text-[#7d5df3] bg-[#7d5df3]"
/* SCSS */
$brand: #7d5df3;
/* SwiftUI */
Color(red: 0.490, green: 0.365, blue: 0.953)
/* Android */
Color.parseColor("#7d5df3")
/* Flutter */
Color(0xFF7D5DF3)
/* Python / OpenCV (BGR) */
(243, 93, 125)

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

Accessibility — WCAG contrast

Aa
#7d5df3 on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#7d5df3 on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #007BF8
deuteranopia · #0074F0
tritanopia · #54819F

Color scale — 50 to 950

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

#F4F2FD
#EAE5FA
#CFC5F7
#AB97F7
#7d5df3
#572EF0
#3E11E4
#340EBE
#290B98
#210D6E
#150845
Base = 400Lightest = 50 · #F4F2FDDarkest = 950 · #150845
:root {
  --brand-50: #F4F2FD;
  --brand-100: #EAE5FA;
  --brand-200: #CFC5F7;
  --brand-300: #AB97F7;
  --brand-400: #7d5df3;
  --brand-500: #572EF0;
  --brand-600: #3E11E4;
  --brand-700: #340EBE;
  --brand-800: #290B98;
  --brand-900: #210D6E;
  --brand-950: #150845;
  --brand: #7d5df3;
  --brand-ink: #000000;
}

Colors that work with #7d5df3

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

Text on it#000000
Black wins here
Surface#F6F4FA
Tinted page background
Border#C9C0ED
Hairlines and dividers
Muted text#5C4B9B
Captions on the surface
Accent#C1BC0B
Second voice, not a rival
Dark variant#200977
Hover, pressed, headers
Light variant#ECE7FD
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 #7d5df3

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

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • White text placed on it
  • 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#D3F35D
Analogous left#5D88F3
Analogous right#C85DF3
Split-complement 1#F3C85D
Split-complement 2#88F35D
Triadic 1#F37D5D
Triadic 2#5DF37D
Tetradic#F35D88

RGB percentages

Red49.0%
Green36.5%
Blue95.3%

CMYK percentages

Cyan48.6%
Magenta61.7%
Yellow0.0%
Key (black)4.7%

Color previews

#7d5df3 text on a black background

contrast 4.73:1

Card sample

#7d5df3 text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(125, 93, 243, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(125, 93, 243, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7d5df3;
background: linear-gradient(135deg, #7d5df3, #E15DF3);

Monochromatic scale

Palettes built from #7d5df3

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.

#7d5df3 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#7d5df3, answered

What color is #7d5df3?

#7d5df3 is a light electric blue, closest to Medium Slate Blue (ΔE2000 3.1). It sits at 253° on the hue wheel with 86% saturation and 66% lightness, which reads as cool.

What is the RGB value of #7d5df3?

rgb(125, 93, 243) — 125 red, 93 green and 243 blue out of 255, or 49% / 36.5% / 95.3% by channel.

Is #7d5df3 a light or a dark color?

It is a mid-tone. Relative luminance is 0.1866 and perceived brightness is 50%, so black text on it reaches 4.73:1.

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

Black. It scores 4.73:1 against #7d5df3, versus 4.44:1 for white — AA at any size.

What is the complementary color of #7d5df3?

#D3F35D sits directly opposite on the wheel. Softer options are the split-complements #F3C85D and #88F35D, which give the same contrast with far less vibration.

What colors go well with #7d5df3?

For interface work: #F6F4FA as the surface, #C9C0ED for borders, #5C4B9B for secondary text, #C1BC0B as an accent and #200977 for hover and pressed states. For a palette, the analogous pair #5D88F3 and #C85DF3 stays calm, while #D3F35D is the loudest partner.

What is #7d5df3 in CMYK for printing?

cmyk(49%, 62%, 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 #7d5df3 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 #B45DF3; nudged cooler, #5B73F5.

Work with #7d5df3 in the Color Lab