Skip to content

#8f86cf

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

RGB
143, 134, 207
HSL
247°, 43%, 67%
CMYK
31, 35, 0, 19
Luminance
0.2739

At a glance

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

Hex
#8f86cf
Hue
247°
blue
Saturation
43%
soft
Lightness
67%
light
Brightness
81%
HSV value
Perceived
58%
weighted brightness
Luminance
0.2739
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
6.48:1
Closest name
Medium Purple
ΔE2000 7.7
Where it sits
Hue247° of 360°
Saturation43%
Lightness67%
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#8f86cf
RGBrgb(143, 134, 207)
HSLhsl(247, 43%, 67%)
CMYKcmyk(31%, 35%, 0%, 19%)
LABlab(59.3 19.9 -36.5)
LCHlch(59.3 41.5 298.6)
OKLCHoklch(0.657 0.107 288.7)
Decimal9406159
Display P3color(display-p3 0.561 0.525 0.812)

Copy-ready code

/* CSS */
color: #8f86cf;
background-color: #8f86cf;
/* Tailwind (arbitrary) */
class="text-[#8f86cf] bg-[#8f86cf]"
/* SCSS */
$brand: #8f86cf;
/* SwiftUI */
Color(red: 0.561, green: 0.525, blue: 0.812)
/* Android */
Color.parseColor("#8f86cf")
/* Flutter */
Color(0xFF8F86CF)
/* Python / OpenCV (BGR) */
(207, 134, 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 #8f86cf · 6.48:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.24:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.48:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #8f86cf as text scores 3.24:1 on white and 6.48:1 on black.

Accessibility — WCAG contrast

Aa
#8f86cf on white: 3.24:1
AA ✗ fail · AA-large · AAA
Aa
#8f86cf on black: 6.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7190D2
deuteranopia · #718DCD
tritanopia · #8093A1

Color scale — 50 to 950

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

#F5F5FA
#ECEBF5
#D4D1EA
#B5AFDF
#8f86cf
#6A5EBF
#5346AF
#453A92
#372E75
#2B2556
#1B1735
Base = 400Lightest = 50 · #F5F5FADarkest = 950 · #1B1735
:root {
  --brand-50: #F5F5FA;
  --brand-100: #ECEBF5;
  --brand-200: #D4D1EA;
  --brand-300: #B5AFDF;
  --brand-400: #8f86cf;
  --brand-500: #6A5EBF;
  --brand-600: #5346AF;
  --brand-700: #453A92;
  --brand-800: #372E75;
  --brand-900: #2B2556;
  --brand-950: #1B1735;
  --brand: #8f86cf;
  --brand-ink: #000000;
}

Colors that work with #8f86cf

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#C9C5E8
Hairlines and dividers
Muted text#544B9B
Captions on the surface
Accent#968A36
Second voice, not a rival
Dark variant#2B245B
Hover, pressed, headers
Light variant#EEEDF8
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 #8f86cf

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
  • Charts, tags and secondary surfaces
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#C6CF86
Analogous left#86A2CF
Analogous right#B486CF
Split-complement 1#CFB486
Split-complement 2#A2CF86
Triadic 1#CF8F86
Triadic 2#86CF8F
Tetradic#CF86A2

RGB percentages

Red56.1%
Green52.5%
Blue81.2%

CMYK percentages

Cyan30.9%
Magenta35.3%
Yellow0.0%
Key (black)18.8%

Color previews

#8f86cf text on a black background

contrast 6.48:1

Card sample

#8f86cf text on a white background

contrast 3.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8f86cf

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.

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

#8f86cf, answered

What color is #8f86cf?

#8f86cf is a light soft blue, closest to Medium Purple (ΔE2000 7.7). It sits at 247° on the hue wheel with 43% saturation and 67% lightness, which reads as cool.

What is the RGB value of #8f86cf?

rgb(143, 134, 207) — 143 red, 134 green and 207 blue out of 255, or 56.1% / 52.5% / 81.2% by channel.

Is #8f86cf a light or a dark color?

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

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

Black. It scores 6.48:1 against #8f86cf, versus 3.24:1 for white — AA at any size.

What is the complementary color of #8f86cf?

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

What colors go well with #8f86cf?

For interface work: #F5F4FA as the surface, #C9C5E8 for borders, #544B9B for secondary text, #968A36 as an accent and #2B245B for hover and pressed states. For a palette, the analogous pair #86A2CF and #B486CF stays calm, while #C6CF86 is the loudest partner.

What is #8f86cf in CMYK for printing?

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

Is #8f86cf 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 #AA86CF; nudged cooler, #8497D1.

Work with #8f86cf in the Color Lab