#908ab7
a balanced, soft blue · cool · closest name: Medium Purple
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.
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 |
| RGB | rgb(144, 138, 183) |
| HSL | hsl(248, 24%, 63%) |
| CMYK | cmyk(21%, 25%, 0%, 28%) |
| LAB | lab(59.5 11.9 -22.7) |
| LCH | lch(59.5 25.6 297.6) |
| OKLCH | oklch(0.655 0.067 290.5) |
| Decimal | 9472695 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #908ab7
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Charts, tags and secondary surfaces
- ✓Brand accents, badges and data highlights
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #8A9AB7 | Neighbour, quieter | |
| Analogous right | #A68AB7 | Neighbour, quieter | |
| Split-complement 1 | #B7A68A | Contrast without the clash | |
| Split-complement 2 | #9AB78A | Contrast without the clash | |
| Triadic 1 | #B7908A | Even thirds — balanced and loud | |
| Triadic 2 | #8AB790 | Even thirds — balanced and loud | |
| Tetradic | #B78A9A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#908ab7 text on a black background
contrast 6.51:1
#908ab7 text on a white background
contrast 3.23:1
CSS3 live lab
The quick brown fox
color: #908ab7;
background-color: #908ab7;
Glowing headline
text-shadow: 2px 2px 8px #908ab7;
Soft neon halo
text-shadow: 0 0 14px rgba(144, 138, 183, 0.45);
box-shadow: 0 12px 32px -8px rgba(144, 138, 183, 0.45);
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.
Closest color with a full write-up: Periwinkle Blue (#8f99fb) — ΔE2000 13.1 away, with its history, psychology and brand usage.
#908ab7 in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.