Skip to content

#985bcf

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

RGB
152, 91, 207
HSL
272°, 55%, 58%
CMYK
27, 56, 0, 19
Luminance
0.1866

At a glance

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

Hex
#985bcf
Hue
272°
violet
Saturation
55%
vivid
Lightness
58%
balanced
Brightness
81%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1866
WCAG relative
Temperature
Cool
66/100 cool
Color family
Violet
Tone
Vivid
Best ink
Black
4.73:1
Closest name
Medium Purple
ΔE2000 6.4
Where it sits
Hue272° of 360°
Saturation55%
Lightness58%
Temperature
Warm ← → Cool66% 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#985bcf
RGBrgb(152, 91, 207)
HSLhsl(272, 55%, 58%)
CMYKcmyk(27%, 56%, 0%, 19%)
LABlab(50.3 46.8 -50.7)
LCHlch(50.3 69.0 312.7)
OKLCHoklch(0.591 0.177 306.0)
Decimal9984975
Display P3color(display-p3 0.596 0.357 0.812)

Copy-ready code

/* CSS */
color: #985bcf;
background-color: #985bcf;
/* Tailwind (arbitrary) */
class="text-[#985bcf] bg-[#985bcf]"
/* SCSS */
$brand: #985bcf;
/* SwiftUI */
Color(red: 0.596, green: 0.357, blue: 0.812)
/* Android */
Color.parseColor("#985bcf")
/* Flutter */
Color(0xFF985BCF)
/* Python / OpenCV (BGR) */
(207, 91, 152)

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

Accessibility — WCAG contrast

Aa
#985bcf on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#985bcf on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #3076D3
deuteranopia · #4778CC
tritanopia · #8F718C

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #985bcf is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F4FB
#F0E9F6
#DFCEEE
#C9A8E6
#AD7DD9
#985bcf
#7E37BD
#692E9E
#54257E
#3F1E5C
#271339
Base = 500Lightest = 50 · #F8F4FBDarkest = 950 · #271339
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F0E9F6;
  --brand-200: #DFCEEE;
  --brand-300: #C9A8E6;
  --brand-400: #AD7DD9;
  --brand-500: #985bcf;
  --brand-600: #7E37BD;
  --brand-700: #692E9E;
  --brand-800: #54257E;
  --brand-900: #3F1E5C;
  --brand-950: #271339;
  --brand: #985bcf;
  --brand-ink: #000000;
}

Colors that work with #985bcf

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#F8F4FA
Tinted page background
Border#D7C0ED
Hairlines and dividers
Muted text#754B9B
Captions on the surface
Accent#81A22A
Second voice, not a rival
Dark variant#421D63
Hover, pressed, headers
Light variant#F3EBF9
Selected rows, tints
Dark surface#1C1424
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 #985bcf

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#92CF5B
Analogous left#5E5BCF
Analogous right#CF5BCC
Split-complement 1#CCCF5B
Split-complement 2#5BCF5E
Triadic 1#CF985B
Triadic 2#5BCF98
Tetradic#CF5E5B

RGB percentages

Red59.6%
Green35.7%
Blue81.2%

CMYK percentages

Cyan26.6%
Magenta56.0%
Yellow0.0%
Key (black)18.8%

Color previews

#985bcf text on a black background

contrast 4.73:1

Card sample

#985bcf text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #985bcf;
Background color
Panel with #985bcf background
background-color: #985bcf;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(152, 91, 207, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 91, 207, 0.45);
Border & gradient
Gradient panel
border: 3px solid #985bcf;
background: linear-gradient(135deg, #985bcf, #CF5BB9);

Monochromatic scale

Palettes built from #985bcf

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.

#985bcf 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.

#985bcf, answered

What color is #985bcf?

#985bcf is a balanced vivid violet, closest to Medium Purple (ΔE2000 6.4). It sits at 272° on the hue wheel with 55% saturation and 58% lightness, which reads as cool.

What is the RGB value of #985bcf?

rgb(152, 91, 207) — 152 red, 91 green and 207 blue out of 255, or 59.6% / 35.7% / 81.2% by channel.

Is #985bcf a light or a dark color?

It is a mid-tone. Relative luminance is 0.1866 and perceived brightness is 51%, so black text on it reaches 4.73:1.

Should I use black or white text on #985bcf?

Black. It scores 4.73:1 against #985bcf, versus 4.44:1 for white — AA at any size.

What is the complementary color of #985bcf?

#92CF5B sits directly opposite on the wheel. Softer options are the split-complements #CCCF5B and #5BCF5E, which give the same contrast with far less vibration.

What colors go well with #985bcf?

For interface work: #F8F4FA as the surface, #D7C0ED for borders, #754B9B for secondary text, #81A22A as an accent and #421D63 for hover and pressed states. For a palette, the analogous pair #5E5BCF and #CF5BCC stays calm, while #92CF5B is the loudest partner.

What is #985bcf in CMYK for printing?

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

Is #985bcf warm or cool?

Cool — it scores 66 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C35BCF; nudged cooler, #6C59D1.

Work with #985bcf in the Color Lab