Skip to content

#8965df

a balanced, vivid violet · cool · closest name: Medium Slate Blue

RGB
137, 101, 223
HSL
258°, 66%, 64%
CMYK
39, 55, 0, 13
Luminance
0.1995

At a glance

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

Hex
#8965df
Hue
258°
violet
Saturation
66%
vivid
Lightness
64%
balanced
Brightness
87%
HSV value
Perceived
52%
weighted brightness
Luminance
0.1995
WCAG relative
Temperature
Cool
73/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.99:1
Closest name
Medium Slate Blue
ΔE2000 3.7
Where it sits
Hue258° of 360°
Saturation66%
Lightness64%
Temperature
Warm ← → Cool73% 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#8965df
RGBrgb(137, 101, 223)
HSLhsl(258, 66%, 64%)
CMYKcmyk(39%, 55%, 0%, 13%)
LABlab(51.8 41.6 -57.5)
LCHlch(51.8 71.0 305.9)
OKLCHoklch(0.602 0.179 294.0)
Decimal9004511
Display P3color(display-p3 0.537 0.396 0.875)

Copy-ready code

/* CSS */
color: #8965df;
background-color: #8965df;
/* Tailwind (arbitrary) */
class="text-[#8965df] bg-[#8965df]"
/* SCSS */
$brand: #8965df;
/* SwiftUI */
Color(red: 0.537, green: 0.396, blue: 0.875)
/* Android */
Color.parseColor("#8965df")
/* Flutter */
Color(0xFF8965DF)
/* Python / OpenCV (BGR) */
(223, 101, 137)

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

Accessibility — WCAG contrast

Aa
#8965df on white: 4.21:1
AA ✗ fail · AA-large · AAA
Aa
#8965df on black: 4.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #2B7DE3
deuteranopia · #3579DC
tritanopia · #737F98

Color scale — 50 to 950

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

#F6F3FB
#ECE8F8
#D6CBF1
#B8A2EC
#8965df
#7145D8
#592ACB
#4B23A9
#3C1C87
#2E1862
#1D0F3D
Base = 400Lightest = 50 · #F6F3FBDarkest = 950 · #1D0F3D
:root {
  --brand-50: #F6F3FB;
  --brand-100: #ECE8F8;
  --brand-200: #D6CBF1;
  --brand-300: #B8A2EC;
  --brand-400: #8965df;
  --brand-500: #7145D8;
  --brand-600: #592ACB;
  --brand-700: #4B23A9;
  --brand-800: #3C1C87;
  --brand-900: #2E1862;
  --brand-950: #1D0F3D;
  --brand: #8965df;
  --brand-ink: #000000;
}

Colors that work with #8965df

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#624B9B
Captions on the surface
Accent#A7AD1F
Second voice, not a rival
Dark variant#2F166A
Hover, pressed, headers
Light variant#EFEAFB
Selected rows, tints
Dark surface#191424
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 #8965df

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#BBDF65
Analogous left#657EDF
Analogous right#C665DF
Split-complement 1#DFC665
Split-complement 2#7EDF65
Triadic 1#DF8965
Triadic 2#65DF89
Tetradic#DF657E

RGB percentages

Red53.7%
Green39.6%
Blue87.5%

CMYK percentages

Cyan38.6%
Magenta54.7%
Yellow0.0%
Key (black)12.5%

Color previews

#8965df text on a black background

contrast 4.99:1

Card sample

#8965df text on a white background

contrast 4.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #8965df;
Background color
Panel with #8965df background
background-color: #8965df;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(137, 101, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(137, 101, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8965df;
background: linear-gradient(135deg, #8965df, #DA65DF);

Monochromatic scale

Palettes built from #8965df

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.

#8965df 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.

#8965df, answered

What color is #8965df?

#8965df is a balanced vivid violet, closest to Medium Slate Blue (ΔE2000 3.7). It sits at 258° on the hue wheel with 66% saturation and 64% lightness, which reads as cool.

What is the RGB value of #8965df?

rgb(137, 101, 223) — 137 red, 101 green and 223 blue out of 255, or 53.7% / 39.6% / 87.5% by channel.

Is #8965df a light or a dark color?

It is a mid-tone. Relative luminance is 0.1995 and perceived brightness is 52%, so black text on it reaches 4.99:1.

Should I use black or white text on #8965df?

Black. It scores 4.99:1 against #8965df, versus 4.21:1 for white — AA at any size.

What is the complementary color of #8965df?

#BBDF65 sits directly opposite on the wheel. Softer options are the split-complements #DFC665 and #7EDF65, which give the same contrast with far less vibration.

What colors go well with #8965df?

For interface work: #F6F4FA as the surface, #CDC0ED for borders, #624B9B for secondary text, #A7AD1F as an accent and #2F166A for hover and pressed states. For a palette, the analogous pair #657EDF and #C665DF stays calm, while #BBDF65 is the loudest partner.

What is #8965df in CMYK for printing?

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

Is #8965df warm or cool?

Cool — it scores 73 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B665DF; nudged cooler, #636CE1.

Work with #8965df in the Color Lab