#a08eee
a light, vivid blue · cool · closest name: Medium Purple
At a glance
Every number on this page in one read: what #a08eee 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 | #a08eee |
| RGB | rgb(160, 142, 238) |
| HSL | hsl(251, 74%, 75%) |
| CMYK | cmyk(33%, 40%, 0%, 7%) |
| LAB | lab(64.2 27.9 -46.1) |
| LCH | lch(64.2 53.9 301.2) |
| OKLCH | oklch(0.702 0.138 291.0) |
| Decimal | 10522350 |
| Display P3 | color(display-p3 0.627 0.557 0.933) |
Copy-ready code
/* CSS */
color: #a08eee;
background-color: #a08eee;
/* Tailwind (arbitrary) */
class="text-[#a08eee] bg-[#a08eee]"
/* SCSS */
$brand: #a08eee;
/* SwiftUI */
Color(red: 0.627, green: 0.557, blue: 0.933)
/* Android */
Color.parseColor("#a08eee")
/* Flutter */
Color(0xFFA08EEE)
/* Python / OpenCV (BGR) */
(238, 142, 160)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. #a08eee is pinned to step 300; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F5F3FC;
--brand-100: #EAE7F9;
--brand-200: #D0C8F3;
--brand-300: #a08eee;
--brand-400: #846DE9;
--brand-500: #5B3CE2;
--brand-600: #4220D5;
--brand-700: #371BB1;
--brand-800: #2C158E;
--brand-900: #231467;
--brand-950: #160C40;
--brand: #a08eee;
--brand-ink: #000000;
}Colors that work with #a08eee
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 #a08eee
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠Text of any size on white — fails WCAG AA
- ⚠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 | #DCEE8E | Directly opposite — maximum tension | |
| Analogous left | #8EACEE | Neighbour, quieter | |
| Analogous right | #D08EEE | Neighbour, quieter | |
| Split-complement 1 | #EED08E | Contrast without the clash | |
| Split-complement 2 | #ACEE8E | Contrast without the clash | |
| Triadic 1 | #EEA08E | Even thirds — balanced and loud | |
| Triadic 2 | #8EEEA0 | Even thirds — balanced and loud | |
| Tetradic | #EE8EAC | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#a08eee text on a black background
contrast 7.60:1
#a08eee text on a white background
contrast 2.76:1
CSS3 live lab
The quick brown fox
color: #a08eee;
background-color: #a08eee;
Glowing headline
text-shadow: 2px 2px 8px #a08eee;
Soft neon halo
text-shadow: 0 0 14px rgba(160, 142, 238, 0.45);
box-shadow: 0 12px 32px -8px rgba(160, 142, 238, 0.45);
border: 3px solid #a08eee; background: linear-gradient(135deg, #a08eee, #E08EEE);
Monochromatic scale
Palettes built from #a08eee
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 6.4 away, with its history, psychology and brand usage.
#a08eee 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.
#a08eee, answered
What color is #a08eee?
#a08eee is a light vivid blue, closest to Medium Purple (ΔE2000 8.9). It sits at 251° on the hue wheel with 74% saturation and 75% lightness, which reads as cool.
What is the RGB value of #a08eee?
rgb(160, 142, 238) — 160 red, 142 green and 238 blue out of 255, or 62.7% / 55.7% / 93.3% by channel.
Is #a08eee a light or a dark color?
It is a mid-tone. Relative luminance is 0.3299 and perceived brightness is 63%, so black text on it reaches 7.60:1.
Should I use black or white text on #a08eee?
Black. It scores 7.60:1 against #a08eee, versus 2.76:1 for white — AAA at any size.
What is the complementary color of #a08eee?
#DCEE8E sits directly opposite on the wheel. Softer options are the split-complements #EED08E and #ACEE8E, which give the same contrast with far less vibration.
What colors go well with #a08eee?
For interface work: #F5F4FA as the surface, #C8C0ED for borders, #5A4B9B for secondary text, #B6AB16 as an accent and #22116F for hover and pressed states. For a palette, the analogous pair #8EACEE and #D08EEE stays calm, while #DCEE8E is the loudest partner.
What is #a08eee in CMYK for printing?
cmyk(33%, 40%, 0%, 7%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #a08eee warm or cool?
Cool — it scores 77 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C38EEE; nudged cooler, #8D9EEF.