Skip to content

#8c6bdf

a balanced, vivid violet · cool · closest name: Medium Purple

RGB
140, 107, 223
HSL
257°, 64%, 65%
CMYK
37, 52, 0, 13
Luminance
0.2142

At a glance

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

Hex
#8c6bdf
Hue
257°
violet
Saturation
64%
vivid
Lightness
65%
balanced
Brightness
87%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2142
WCAG relative
Temperature
Cool
74/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
5.28:1
Closest name
Medium Purple
ΔE2000 2.2
Where it sits
Hue257° of 360°
Saturation64%
Lightness65%
Temperature
Warm ← → Cool74% 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#8c6bdf
RGBrgb(140, 107, 223)
HSLhsl(257, 64%, 65%)
CMYKcmyk(37%, 52%, 0%, 13%)
LABlab(53.4 39.0 -54.9)
LCHlch(53.4 67.3 305.4)
OKLCHoklch(0.614 0.170 293.9)
Decimal9202655
Display P3color(display-p3 0.549 0.420 0.875)

Copy-ready code

/* CSS */
color: #8c6bdf;
background-color: #8c6bdf;
/* Tailwind (arbitrary) */
class="text-[#8c6bdf] bg-[#8c6bdf]"
/* SCSS */
$brand: #8c6bdf;
/* SwiftUI */
Color(red: 0.549, green: 0.420, blue: 0.875)
/* Android */
Color.parseColor("#8c6bdf")
/* Flutter */
Color(0xFF8C6BDF)
/* Python / OpenCV (BGR) */
(223, 107, 140)

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

Accessibility — WCAG contrast

Aa
#8c6bdf on white: 3.97:1
AA ✗ fail · AA-large · AAA
Aa
#8c6bdf on black: 5.28:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3B81E3
deuteranopia · #427EDC
tritanopia · #77839B

Color scale — 50 to 950

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

#F6F4FB
#ECE8F7
#D6CBF1
#B7A3EB
#8c6bdf
#7047D7
#592CC9
#4A24A8
#3B1D86
#2E1961
#1D103D
Base = 400Lightest = 50 · #F6F4FBDarkest = 950 · #1D103D
:root {
  --brand-50: #F6F4FB;
  --brand-100: #ECE8F7;
  --brand-200: #D6CBF1;
  --brand-300: #B7A3EB;
  --brand-400: #8c6bdf;
  --brand-500: #7047D7;
  --brand-600: #592CC9;
  --brand-700: #4A24A8;
  --brand-800: #3B1D86;
  --brand-900: #2E1961;
  --brand-950: #1D103D;
  --brand: #8c6bdf;
  --brand-ink: #000000;
}

Colors that work with #8c6bdf

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#CDC0ED
Hairlines and dividers
Muted text#614B9B
Captions on the surface
Accent#A7AC20
Second voice, not a rival
Dark variant#2E1769
Hover, pressed, headers
Light variant#EFEAFA
Selected rows, tints
Dark surface#181424
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 #8c6bdf

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#BEDF6B
Analogous left#6B84DF
Analogous right#C66BDF
Split-complement 1#DFC66B
Split-complement 2#84DF6B
Triadic 1#DF8C6B
Triadic 2#6BDF8C
Tetradic#DF6B84

RGB percentages

Red54.9%
Green42.0%
Blue87.5%

CMYK percentages

Cyan37.2%
Magenta52.0%
Yellow0.0%
Key (black)12.5%

Color previews

#8c6bdf text on a black background

contrast 5.28:1

Card sample

#8c6bdf text on a white background

contrast 3.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8c6bdf

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.

#8c6bdf in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

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

#8c6bdf, answered

What color is #8c6bdf?

#8c6bdf is a balanced vivid violet, closest to Medium Purple (ΔE2000 2.2). It sits at 257° on the hue wheel with 64% saturation and 65% lightness, which reads as cool.

What is the RGB value of #8c6bdf?

rgb(140, 107, 223) — 140 red, 107 green and 223 blue out of 255, or 54.9% / 42% / 87.5% by channel.

Is #8c6bdf a light or a dark color?

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

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

Black. It scores 5.28:1 against #8c6bdf, versus 3.97:1 for white — AA at any size.

What is the complementary color of #8c6bdf?

#BEDF6B sits directly opposite on the wheel. Softer options are the split-complements #DFC66B and #84DF6B, which give the same contrast with far less vibration.

What colors go well with #8c6bdf?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #614B9B for secondary text, #A7AC20 as an accent and #2E1769 for hover and pressed states. For a palette, the analogous pair #6B84DF and #C66BDF stays calm, while #BEDF6B is the loudest partner.

What is #8c6bdf in CMYK for printing?

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

Is #8c6bdf warm or cool?

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

Work with #8c6bdf in the Color Lab