Skip to content

#897cdd

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

RGB
137, 124, 221
HSL
248°, 59%, 68%
CMYK
38, 44, 0, 13
Luminance
0.2495

At a glance

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

Hex
#897cdd
Hue
248°
blue
Saturation
59%
vivid
Lightness
68%
light
Brightness
87%
HSV value
Perceived
56%
weighted brightness
Luminance
0.2495
WCAG relative
Temperature
Cool
79/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
5.99:1
Closest name
Medium Purple
ΔE2000 4.6
Where it sits
Hue248° of 360°
Saturation59%
Lightness68%
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#897cdd
RGBrgb(137, 124, 221)
HSLhsl(248, 59%, 68%)
CMYKcmyk(38%, 44%, 0%, 13%)
LABlab(57.0 27.8 -48.0)
LCHlch(57.0 55.5 300.1)
OKLCHoklch(0.641 0.142 287.8)
Decimal9010397
Display P3color(display-p3 0.537 0.486 0.867)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#897cdd on white: 3.51:1
AA ✗ fail · AA-large · AAA
Aa
#897cdd on black: 5.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #5A8BE1
deuteranopia · #5986DB
tritanopia · #728FA2

Color scale — 50 to 950

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

#F5F4FB
#EBE9F7
#D1CDEF
#AFA6E8
#897cdd
#5E4DD1
#4632C2
#3A2AA2
#2E2282
#251C5E
#17123B
Base = 400Lightest = 50 · #F5F4FBDarkest = 950 · #17123B
:root {
  --brand-50: #F5F4FB;
  --brand-100: #EBE9F7;
  --brand-200: #D1CDEF;
  --brand-300: #AFA6E8;
  --brand-400: #897cdd;
  --brand-500: #5E4DD1;
  --brand-600: #4632C2;
  --brand-700: #3A2AA2;
  --brand-800: #2E2282;
  --brand-900: #251C5E;
  --brand-950: #17123B;
  --brand: #897cdd;
  --brand-ink: #000000;
}

Colors that work with #897cdd

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#C6C0ED
Hairlines and dividers
Muted text#554B9B
Captions on the surface
Accent#A69726
Second voice, not a rival
Dark variant#241A65
Hover, pressed, headers
Light variant#EDEBFA
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 #897cdd

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
  • Card and section backgrounds
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • 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#D0DD7C
Analogous left#7C9FDD
Analogous right#B97CDD
Split-complement 1#DDB97C
Split-complement 2#9FDD7C
Triadic 1#DD897C
Triadic 2#7CDD89
Tetradic#DD7C9F

RGB percentages

Red53.7%
Green48.6%
Blue86.7%

CMYK percentages

Cyan38.0%
Magenta43.9%
Yellow0.0%
Key (black)13.3%

Color previews

#897cdd text on a black background

contrast 5.99:1

Card sample

#897cdd text on a white background

contrast 3.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #897cdd

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.

#897cdd 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.

#897cdd, answered

What color is #897cdd?

#897cdd is a light vivid blue, closest to Medium Purple (ΔE2000 4.6). It sits at 248° on the hue wheel with 59% saturation and 68% lightness, which reads as cool.

What is the RGB value of #897cdd?

rgb(137, 124, 221) — 137 red, 124 green and 221 blue out of 255, or 53.7% / 48.6% / 86.7% by channel.

Is #897cdd a light or a dark color?

It is a mid-tone. Relative luminance is 0.2495 and perceived brightness is 56%, so black text on it reaches 5.99:1.

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

Black. It scores 5.99:1 against #897cdd, versus 3.51:1 for white — AA at any size.

What is the complementary color of #897cdd?

#D0DD7C sits directly opposite on the wheel. Softer options are the split-complements #DDB97C and #9FDD7C, which give the same contrast with far less vibration.

What colors go well with #897cdd?

For interface work: #F5F4FA as the surface, #C6C0ED for borders, #554B9B for secondary text, #A69726 as an accent and #241A65 for hover and pressed states. For a palette, the analogous pair #7C9FDD and #B97CDD stays calm, while #D0DD7C is the loudest partner.

What is #897cdd in CMYK for printing?

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

Is #897cdd 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 #AC7CDD; nudged cooler, #7A92DF.

Work with #897cdd in the Color Lab