Skip to content

#8f85df

a light, vivid blue · cool · closest name: Medium Purple

RGB
143, 133, 223
HSL
247°, 58%, 70%
CMYK
36, 40, 0, 13
Luminance
0.2794

At a glance

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

Hex
#8f85df
Hue
247°
blue
Saturation
58%
vivid
Lightness
70%
light
Brightness
87%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2794
WCAG relative
Temperature
Cool
80/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
6.59:1
Closest name
Medium Purple
ΔE2000 6.8
Where it sits
Hue247° of 360°
Saturation58%
Lightness70%
Temperature
Warm ← → Cool80% 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#8f85df
RGBrgb(143, 133, 223)
HSLhsl(247, 58%, 70%)
CMYKcmyk(36%, 40%, 0%, 13%)
LABlab(59.8 24.6 -44.6)
LCHlch(59.8 51.0 298.9)
OKLCHoklch(0.663 0.131 287.3)
Decimal9405919
Display P3color(display-p3 0.561 0.522 0.875)

Copy-ready code

/* CSS */
color: #8f85df;
background-color: #8f85df;
/* Tailwind (arbitrary) */
class="text-[#8f85df] bg-[#8f85df]"
/* SCSS */
$brand: #8f85df;
/* SwiftUI */
Color(red: 0.561, green: 0.522, blue: 0.875)
/* Android */
Color.parseColor("#8f85df")
/* Flutter */
Color(0xFF8F85DF)
/* Python / OpenCV (BGR) */
(223, 133, 143)

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

Accessibility — WCAG contrast

Aa
#8f85df on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#8f85df on black: 6.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6892E2
deuteranopia · #678EDD
tritanopia · #7A96A7

Color scale — 50 to 950

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

#F5F4FB
#EAE9F7
#D1CDEF
#ADA6E8
#8f85df
#5C4DD0
#4333C2
#382AA2
#2D2281
#241C5E
#16123B
Base = 400Lightest = 50 · #F5F4FBDarkest = 950 · #16123B
:root {
  --brand-50: #F5F4FB;
  --brand-100: #EAE9F7;
  --brand-200: #D1CDEF;
  --brand-300: #ADA6E8;
  --brand-400: #8f85df;
  --brand-500: #5C4DD0;
  --brand-600: #4333C2;
  --brand-700: #382AA2;
  --brand-800: #2D2281;
  --brand-900: #241C5E;
  --brand-950: #16123B;
  --brand: #8f85df;
  --brand-ink: #000000;
}

Colors that work with #8f85df

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#C5C0ED
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#A69426
Second voice, not a rival
Dark variant#231B65
Hover, pressed, headers
Light variant#ECEBFA
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 #8f85df

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#D5DF85
Analogous left#85A8DF
Analogous right#BC85DF
Split-complement 1#DFBC85
Split-complement 2#A8DF85
Triadic 1#DF8F85
Triadic 2#85DF8F
Tetradic#DF85A8

RGB percentages

Red56.1%
Green52.2%
Blue87.5%

CMYK percentages

Cyan35.9%
Magenta40.4%
Yellow0.0%
Key (black)12.5%

Color previews

#8f85df text on a black background

contrast 6.59:1

Card sample

#8f85df text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8f85df;
Background color
Panel with #8f85df background
background-color: #8f85df;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(143, 133, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(143, 133, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8f85df;
background: linear-gradient(135deg, #8f85df, #CB85DF);

Monochromatic scale

Palettes built from #8f85df

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.

#8f85df 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.

#8f85df, answered

What color is #8f85df?

#8f85df is a light vivid blue, closest to Medium Purple (ΔE2000 6.8). It sits at 247° on the hue wheel with 58% saturation and 70% lightness, which reads as cool.

What is the RGB value of #8f85df?

rgb(143, 133, 223) — 143 red, 133 green and 223 blue out of 255, or 56.1% / 52.2% / 87.5% by channel.

Is #8f85df a light or a dark color?

It is a mid-tone. Relative luminance is 0.2794 and perceived brightness is 58%, so black text on it reaches 6.59:1.

Should I use black or white text on #8f85df?

Black. It scores 6.59:1 against #8f85df, versus 3.19:1 for white — AA at any size.

What is the complementary color of #8f85df?

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

What colors go well with #8f85df?

For interface work: #F5F4FA as the surface, #C5C0ED for borders, #544B9B for secondary text, #A69426 as an accent and #231B65 for hover and pressed states. For a palette, the analogous pair #85A8DF and #BC85DF stays calm, while #D5DF85 is the loudest partner.

What is #8f85df in CMYK for printing?

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

Is #8f85df warm or cool?

Cool — it scores 80 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B085DF; nudged cooler, #839BE1.

Work with #8f85df in the Color Lab