Skip to content

#7d74df

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

RGB
125, 116, 223
HSL
245°, 63%, 67%
CMYK
44, 48, 0, 13
Luminance
0.2218

At a glance

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

Hex
#7d74df
Hue
245°
blue
Saturation
63%
vivid
Lightness
67%
light
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2218
WCAG relative
Temperature
Cool
81/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.44:1
Closest name
Medium Slate Blue
ΔE2000 4.2
Where it sits
Hue245° of 360°
Saturation63%
Lightness67%
Temperature
Warm ← → Cool81% 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#7d74df
RGBrgb(125, 116, 223)
HSLhsl(245, 63%, 67%)
CMYKcmyk(44%, 48%, 0%, 13%)
LABlab(54.2 30.1 -53.7)
LCHlch(54.2 61.5 299.3)
OKLCHoklch(0.617 0.157 284.6)
Decimal8221919
Display P3color(display-p3 0.490 0.455 0.875)

Copy-ready code

/* CSS */
color: #7d74df;
background-color: #7d74df;
/* Tailwind (arbitrary) */
class="text-[#7d74df] bg-[#7d74df]"
/* SCSS */
$brand: #7d74df;
/* SwiftUI */
Color(red: 0.490, green: 0.455, blue: 0.875)
/* Android */
Color.parseColor("#7d74df")
/* Flutter */
Color(0xFF7D74DF)
/* Python / OpenCV (BGR) */
(223, 116, 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 #7d74df · 5.44:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.86:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.44:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #7d74df as text scores 3.86:1 on white and 5.44:1 on black.

Accessibility — WCAG contrast

Aa
#7d74df on white: 3.86:1
AA ✗ fail · AA-large · AAA
Aa
#7d74df on black: 5.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4785E3
deuteranopia · #447EDD
tritanopia · #5E8A9F

Color scale — 50 to 950

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

#F4F4FB
#E9E8F7
#CFCCF0
#AAA4EA
#7d74df
#5449D5
#3B2EC7
#3126A6
#271F85
#201A60
#14103C
Base = 400Lightest = 50 · #F4F4FBDarkest = 950 · #14103C
:root {
  --brand-50: #F4F4FB;
  --brand-100: #E9E8F7;
  --brand-200: #CFCCF0;
  --brand-300: #AAA4EA;
  --brand-400: #7d74df;
  --brand-500: #5449D5;
  --brand-600: #3B2EC7;
  --brand-700: #3126A6;
  --brand-800: #271F85;
  --brand-900: #201A60;
  --brand-950: #14103C;
  --brand: #7d74df;
  --brand-ink: #000000;
}

Colors that work with #7d74df

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#F5F4FA
Tinted page background
Border#C3C0ED
Hairlines and dividers
Muted text#514B9B
Captions on the surface
Accent#A99423
Second voice, not a rival
Dark variant#1E1868
Hover, pressed, headers
Light variant#ECEAFA
Selected rows, tints
Dark surface#151424
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 #7d74df

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#D6DF74
Analogous left#74A1DF
Analogous right#B274DF
Split-complement 1#DFB274
Split-complement 2#A1DF74
Triadic 1#DF7D74
Triadic 2#74DF7D
Tetradic#DF74A1

RGB percentages

Red49.0%
Green45.5%
Blue87.5%

CMYK percentages

Cyan43.9%
Magenta48.0%
Yellow0.0%
Key (black)12.5%

Color previews

#7d74df text on a black background

contrast 5.44:1

Card sample

#7d74df text on a white background

contrast 3.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7d74df

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.

#7d74df 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

Converts to four-color process without much drama. Proof it anyway.

#7d74df, answered

What color is #7d74df?

#7d74df is a light vivid blue, closest to Medium Slate Blue (ΔE2000 4.2). It sits at 245° on the hue wheel with 63% saturation and 67% lightness, which reads as cool.

What is the RGB value of #7d74df?

rgb(125, 116, 223) — 125 red, 116 green and 223 blue out of 255, or 49% / 45.5% / 87.5% by channel.

Is #7d74df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2218 and perceived brightness is 53%, so black text on it reaches 5.44:1.

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

Black. It scores 5.44:1 against #7d74df, versus 3.86:1 for white — AA at any size.

What is the complementary color of #7d74df?

#D6DF74 sits directly opposite on the wheel. Softer options are the split-complements #DFB274 and #A1DF74, which give the same contrast with far less vibration.

What colors go well with #7d74df?

For interface work: #F5F4FA as the surface, #C3C0ED for borders, #514B9B for secondary text, #A99423 as an accent and #1E1868 for hover and pressed states. For a palette, the analogous pair #74A1DF and #B274DF stays calm, while #D6DF74 is the loudest partner.

What is #7d74df in CMYK for printing?

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

Is #7d74df warm or cool?

Cool — it scores 81 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A474DF; nudged cooler, #7291E1.

Work with #7d74df in the Color Lab