Skip to content

#908ab7

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

RGB
144, 138, 183
HSL
248°, 24%, 63%
CMYK
21, 25, 0, 28
Luminance
0.2753

At a glance

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

Hex
#908ab7
Hue
248°
blue
Saturation
24%
soft
Lightness
63%
balanced
Brightness
72%
HSV value
Perceived
57%
weighted brightness
Luminance
0.2753
WCAG relative
Temperature
Cool
70/100 cool
Color family
Blue
Tone
Soft
Best ink
Black
6.51:1
Closest name
Medium Purple
ΔE2000 12.4
Where it sits
Hue248° of 360°
Saturation24%
Lightness63%
Temperature
Warm ← → Cool70% 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#908ab7
RGBrgb(144, 138, 183)
HSLhsl(248, 24%, 63%)
CMYKcmyk(21%, 25%, 0%, 28%)
LABlab(59.5 11.9 -22.7)
LCHlch(59.5 25.6 297.6)
OKLCHoklch(0.655 0.067 290.5)
Decimal9472695
Display P3color(display-p3 0.565 0.541 0.718)

Copy-ready code

/* CSS */
color: #908ab7;
background-color: #908ab7;
/* Tailwind (arbitrary) */
class="text-[#908ab7] bg-[#908ab7]"
/* SCSS */
$brand: #908ab7;
/* SwiftUI */
Color(red: 0.565, green: 0.541, blue: 0.718)
/* Android */
Color.parseColor("#908ab7")
/* Flutter */
Color(0xFF908AB7)
/* Python / OpenCV (BGR) */
(183, 138, 144)

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

Accessibility — WCAG contrast

Aa
#908ab7 on white: 3.23:1
AA ✗ fail · AA-large · AAA
Aa
#908ab7 on black: 6.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7F90B9
deuteranopia · #7F8EB6
tritanopia · #88919A

Color scale — 50 to 950

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

#F6F6F9
#EEEDF3
#D9D7E5
#BDBAD4
#908ab7
#7B74AA
#655D98
#544E7E
#433E65
#33304B
#201E2F
Base = 400Lightest = 50 · #F6F6F9Darkest = 950 · #201E2F
:root {
  --brand-50: #F6F6F9;
  --brand-100: #EEEDF3;
  --brand-200: #D9D7E5;
  --brand-300: #BDBAD4;
  --brand-400: #908ab7;
  --brand-500: #7B74AA;
  --brand-600: #655D98;
  --brand-700: #544E7E;
  --brand-800: #433E65;
  --brand-900: #33304B;
  --brand-950: #201E2F;
  --brand: #908ab7;
  --brand-ink: #000000;
}

Colors that work with #908ab7

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#F6F6F9
Tinted page background
Border#CFCCE0
Hairlines and dividers
Muted text#5F578E
Captions on the surface
Accent#837C49
Second voice, not a rival
Dark variant#35314F
Hover, pressed, headers
Light variant#F0EFF5
Selected rows, tints
Dark surface#171523
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 #908ab7

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#B1B78A
Analogous left#8A9AB7
Analogous right#A68AB7
Split-complement 1#B7A68A
Split-complement 2#9AB78A
Triadic 1#B7908A
Triadic 2#8AB790
Tetradic#B78A9A

RGB percentages

Red56.5%
Green54.1%
Blue71.8%

CMYK percentages

Cyan21.3%
Magenta24.6%
Yellow0.0%
Key (black)28.2%

Color previews

#908ab7 text on a black background

contrast 6.51:1

Card sample

#908ab7 text on a white background

contrast 3.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #908ab7;
Background color
Panel with #908ab7 background
background-color: #908ab7;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(144, 138, 183, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(144, 138, 183, 0.45);
Border & gradient
Gradient panel
border: 3px solid #908ab7;
background: linear-gradient(135deg, #908ab7, #AE8AB7);

Monochromatic scale

Palettes built from #908ab7

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.

#908ab7 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.

#908ab7, answered

What color is #908ab7?

#908ab7 is a balanced soft blue, closest to Medium Purple (ΔE2000 12.4). It sits at 248° on the hue wheel with 24% saturation and 63% lightness, which reads as cool.

What is the RGB value of #908ab7?

rgb(144, 138, 183) — 144 red, 138 green and 183 blue out of 255, or 56.5% / 54.1% / 71.8% by channel.

Is #908ab7 a light or a dark color?

It is a mid-tone. Relative luminance is 0.2753 and perceived brightness is 57%, so black text on it reaches 6.51:1.

Should I use black or white text on #908ab7?

Black. It scores 6.51:1 against #908ab7, versus 3.23:1 for white — AA at any size.

What is the complementary color of #908ab7?

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

What colors go well with #908ab7?

For interface work: #F6F6F9 as the surface, #CFCCE0 for borders, #5F578E for secondary text, #837C49 as an accent and #35314F for hover and pressed states. For a palette, the analogous pair #8A9AB7 and #A68AB7 stays calm, while #B1B78A is the loudest partner.

What is #908ab7 in CMYK for printing?

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

Is #908ab7 warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #A08AB7; nudged cooler, #8893B9.

Work with #908ab7 in the Color Lab