Skip to content

#897abc

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

RGB
137, 122, 188
HSL
254°, 33%, 61%
CMYK
27, 35, 0, 26
Luminance
0.2287

At a glance

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

Hex
#897abc
Hue
254°
blue
Saturation
33%
soft
Lightness
61%
balanced
Brightness
74%
HSV value
Perceived
53%
weighted brightness
Luminance
0.2287
WCAG relative
Temperature
Cool
74/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
5.57:1
Closest name
Medium Purple
ΔE2000 7.1
Where it sits
Hue254° of 360°
Saturation33%
Lightness61%
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#897abc
RGBrgb(137, 122, 188)
HSLhsl(254, 33%, 61%)
CMYKcmyk(27%, 35%, 0%, 26%)
LABlab(54.9 20.3 -32.6)
LCHlch(54.9 38.4 301.9)
OKLCHoklch(0.619 0.099 293.7)
Decimal9009852
Display P3color(display-p3 0.537 0.478 0.737)

Copy-ready code

/* CSS */
color: #897abc;
background-color: #897abc;
/* Tailwind (arbitrary) */
class="text-[#897abc] bg-[#897abc]"
/* SCSS */
$brand: #897abc;
/* SwiftUI */
Color(red: 0.537, green: 0.478, blue: 0.737)
/* Android */
Color.parseColor("#897abc")
/* Flutter */
Color(0xFF897ABC)
/* Python / OpenCV (BGR) */
(188, 122, 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 #897abc · 5.57:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.77:1
AA fail · AA large pass · AAA fail
Aa
Black text · 5.57:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #897abc as text scores 3.77:1 on white and 5.57:1 on black.

Accessibility — WCAG contrast

Aa
#897abc on white: 3.77:1
AA ✗ fail · AA-large · AAA
Aa
#897abc on black: 5.57:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6984BF
deuteranopia · #6A82BA
tritanopia · #7E8592

Color scale — 50 to 950

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

#F6F5F9
#EEECF4
#D9D4E7
#BDB4D9
#9C8FC7
#897abc
#6452A3
#544488
#43376D
#332B50
#201B32
Base = 500Lightest = 50 · #F6F5F9Darkest = 950 · #201B32
:root {
  --brand-50: #F6F5F9;
  --brand-100: #EEECF4;
  --brand-200: #D9D4E7;
  --brand-300: #BDB4D9;
  --brand-400: #9C8FC7;
  --brand-500: #897abc;
  --brand-600: #6452A3;
  --brand-700: #544488;
  --brand-800: #43376D;
  --brand-900: #332B50;
  --brand-950: #201B32;
  --brand: #897abc;
  --brand-ink: #000000;
}

Colors that work with #897abc

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#F6F5FA
Tinted page background
Border#CFC9E4
Hairlines and dividers
Muted text#5E4D99
Captions on the surface
Accent#8C8A40
Second voice, not a rival
Dark variant#342B55
Hover, pressed, headers
Light variant#F0EEF6
Selected rows, tints
Dark surface#171424
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 #897abc

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
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#ADBC7A
Analogous left#7A8CBC
Analogous right#AA7ABC
Split-complement 1#BCAA7A
Split-complement 2#8CBC7A
Triadic 1#BC897A
Triadic 2#7ABC89
Tetradic#BC7A8C

RGB percentages

Red53.7%
Green47.8%
Blue73.7%

CMYK percentages

Cyan27.1%
Magenta35.1%
Yellow0.0%
Key (black)26.3%

Color previews

#897abc text on a black background

contrast 5.57:1

Card sample

#897abc text on a white background

contrast 3.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #897abc;
Background color
Panel with #897abc background
background-color: #897abc;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(137, 122, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(137, 122, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #897abc;
background: linear-gradient(135deg, #897abc, #B57ABC);

Monochromatic scale

Palettes built from #897abc

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.

#897abc 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
ButtonsLinksFocus statesCharts
Print note

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

#897abc, answered

What color is #897abc?

#897abc is a balanced soft blue, closest to Medium Purple (ΔE2000 7.1). It sits at 254° on the hue wheel with 33% saturation and 61% lightness, which reads as cool.

What is the RGB value of #897abc?

rgb(137, 122, 188) — 137 red, 122 green and 188 blue out of 255, or 53.7% / 47.8% / 73.7% by channel.

Is #897abc a light or a dark color?

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

Should I use black or white text on #897abc?

Black. It scores 5.57:1 against #897abc, versus 3.77:1 for white — AA at any size.

What is the complementary color of #897abc?

#ADBC7A sits directly opposite on the wheel. Softer options are the split-complements #BCAA7A and #8CBC7A, which give the same contrast with far less vibration.

What colors go well with #897abc?

For interface work: #F6F5FA as the surface, #CFC9E4 for borders, #5E4D99 for secondary text, #8C8A40 as an accent and #342B55 for hover and pressed states. For a palette, the analogous pair #7A8CBC and #AA7ABC stays calm, while #ADBC7A is the loudest partner.

What is #897abc in CMYK for printing?

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

Is #897abc 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 #A17ABC; nudged cooler, #7882BE.

Work with #897abc in the Color Lab