Skip to content

#a892eb

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

RGB
168, 146, 235
HSL
255°, 69%, 75%
CMYK
29, 38, 0, 8
Luminance
0.3488

At a glance

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

Hex
#a892eb
Hue
255°
blue
Saturation
69%
vivid
Lightness
75%
light
Brightness
92%
HSV value
Perceived
65%
weighted brightness
Luminance
0.3488
WCAG relative
Temperature
Cool
75/100 cool
Color family
Blue
Tone
Vivid
Best ink
Black
7.98:1
Closest name
Medium Purple
ΔE2000 10
Where it sits
Hue255° of 360°
Saturation69%
Lightness75%
Temperature
Warm ← → Cool75% 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#a892eb
RGBrgb(168, 146, 235)
HSLhsl(255, 69%, 75%)
CMYKcmyk(29%, 38%, 0%, 8%)
LABlab(65.7 27.1 -42.0)
LCHlch(65.7 50.0 302.8)
OKLCHoklch(0.715 0.129 294.3)
Decimal11047659
Display P3color(display-p3 0.659 0.573 0.922)

Copy-ready code

/* CSS */
color: #a892eb;
background-color: #a892eb;
/* Tailwind (arbitrary) */
class="text-[#a892eb] bg-[#a892eb]"
/* SCSS */
$brand: #a892eb;
/* SwiftUI */
Color(red: 0.659, green: 0.573, blue: 0.922)
/* Android */
Color.parseColor("#a892eb")
/* Flutter */
Color(0xFFA892EB)
/* Python / OpenCV (BGR) */
(235, 146, 168)

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 #a892eb · 7.98:1
Use #000000AAA at every size.
Aa
White text · 2.63:1
AA fail · AA large fail · AAA fail
Aa
Black text · 7.98:1 · recommended
AA pass · AA large pass · AAA pass
Reading the other direction: #a892eb as text scores 2.63:1 on white and 7.98:1 on black.

Accessibility — WCAG contrast

Aa
#a892eb on white: 2.63:1
AA ✗ fail · AA-large · AAA
Aa
#a892eb on black: 7.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #79A0EE
deuteranopia · #7C9EE9
tritanopia · #9AA2B3

Color scale — 50 to 950

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

#F5F3FB
#ECE7F8
#D4CAF2
#a892eb
#8D71E5
#6841DC
#5026CF
#4220AC
#35198A
#2A1664
#1A0E3F
Base = 300Lightest = 50 · #F5F3FBDarkest = 950 · #1A0E3F
:root {
  --brand-50: #F5F3FB;
  --brand-100: #ECE7F8;
  --brand-200: #D4CAF2;
  --brand-300: #a892eb;
  --brand-400: #8D71E5;
  --brand-500: #6841DC;
  --brand-600: #5026CF;
  --brand-700: #4220AC;
  --brand-800: #35198A;
  --brand-900: #2A1664;
  --brand-950: #1A0E3F;
  --brand: #a892eb;
  --brand-ink: #000000;
}

Colors that work with #a892eb

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#F6F4FA
Tinted page background
Border#CBC0ED
Hairlines and dividers
Muted text#5E4B9B
Captions on the surface
Accent#B1B01B
Second voice, not a rival
Dark variant#29146C
Hover, pressed, headers
Light variant#EEE9FB
Selected rows, tints
Dark surface#181424
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 #a892eb

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • 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
  • 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#D5EB92
Analogous left#92A9EB
Analogous right#D492EB
Split-complement 1#EBD492
Split-complement 2#A9EB92
Triadic 1#EBA892
Triadic 2#92EBA8
Tetradic#EB92A9

RGB percentages

Red65.9%
Green57.3%
Blue92.2%

CMYK percentages

Cyan28.5%
Magenta37.9%
Yellow0.0%
Key (black)7.8%

Color previews

#a892eb text on a black background

contrast 7.98:1

Card sample

#a892eb text on a white background

contrast 2.63:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(168, 146, 235, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 146, 235, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a892eb;
background: linear-gradient(135deg, #a892eb, #E392EB);

Monochromatic scale

Palettes built from #a892eb

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.

#a892eb 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.

#a892eb, answered

What color is #a892eb?

#a892eb is a light vivid blue, closest to Medium Purple (ΔE2000 10). It sits at 255° on the hue wheel with 69% saturation and 75% lightness, which reads as cool.

What is the RGB value of #a892eb?

rgb(168, 146, 235) — 168 red, 146 green and 235 blue out of 255, or 65.9% / 57.3% / 92.2% by channel.

Is #a892eb a light or a dark color?

It is a mid-tone. Relative luminance is 0.3488 and perceived brightness is 65%, so black text on it reaches 7.98:1.

Should I use black or white text on #a892eb?

Black. It scores 7.98:1 against #a892eb, versus 2.63:1 for white — AAA at any size.

What is the complementary color of #a892eb?

#D5EB92 sits directly opposite on the wheel. Softer options are the split-complements #EBD492 and #A9EB92, which give the same contrast with far less vibration.

What colors go well with #a892eb?

For interface work: #F6F4FA as the surface, #CBC0ED for borders, #5E4B9B for secondary text, #B1B01B as an accent and #29146C for hover and pressed states. For a palette, the analogous pair #92A9EB and #D492EB stays calm, while #D5EB92 is the loudest partner.

What is #a892eb in CMYK for printing?

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

Is #a892eb warm or cool?

Cool — it scores 75 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C992EB; nudged cooler, #919CEC.

Work with #a892eb in the Color Lab