#892ab6
a dark, vivid violet · cool · closest name: Dark Violet
At a glance
Every number on this page in one read: what #892ab6 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 | #892ab6 |
| RGB | rgb(137, 42, 182) |
| HSL | hsl(281, 63%, 44%) |
| CMYK | cmyk(25%, 77%, 0%, 29%) |
| LAB | lab(38.5 60.6 -55.3) |
| LCH | lch(38.5 82.0 317.6) |
| OKLCH | oklch(0.497 0.211 312.0) |
| Decimal | 8989366 |
| Display P3 | color(display-p3 0.537 0.165 0.714) |
Copy-ready code
/* CSS */
color: #892ab6;
background-color: #892ab6;
/* Tailwind (arbitrary) */
class="text-[#892ab6] bg-[#892ab6]"
/* SCSS */
$brand: #892ab6;
/* SwiftUI */
Color(red: 0.537, green: 0.165, blue: 0.714)
/* Android */
Color.parseColor("#892ab6")
/* Flutter */
Color(0xFF892AB6)
/* Python / OpenCV (BGR) */
(182, 42, 137)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. #892ab6 is pinned to step 700; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #F9F4FB;
--brand-100: #F2E8F7;
--brand-200: #E4CCF0;
--brand-300: #D3A4EA;
--brand-400: #BE76DF;
--brand-500: #A849D5;
--brand-600: #962EC7;
--brand-700: #892ab6;
--brand-800: #641F85;
--brand-900: #4A1A60;
--brand-950: #2E103C;
--brand: #892ab6;
--brand-ink: #ffffff;
}Colors that work with #892ab6
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 #892ab6
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links on white
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Headers, footers and dark-mode surfaces
- ✓Brand accents, badges and data highlights
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠Black 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 | #57B62A | Directly opposite — maximum tension | |
| Analogous left | #432AB6 | Neighbour, quieter | |
| Analogous right | #B62A9D | Neighbour, quieter | |
| Split-complement 1 | #9DB62A | Contrast without the clash | |
| Split-complement 2 | #2AB643 | Contrast without the clash | |
| Triadic 1 | #B6892A | Even thirds — balanced and loud | |
| Triadic 2 | #2AB689 | Even thirds — balanced and loud | |
| Tetradic | #B6432A | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#892ab6 text on a black background
contrast 3.07:1
#892ab6 text on a white background
contrast 6.84:1
CSS3 live lab
The quick brown fox
color: #892ab6;
background-color: #892ab6;
Glowing headline
text-shadow: 2px 2px 8px #892ab6;
Soft neon halo
text-shadow: 0 0 14px rgba(137, 42, 182, 0.45);
box-shadow: 0 12px 32px -8px rgba(137, 42, 182, 0.45);
border: 3px solid #892ab6; background: linear-gradient(135deg, #892ab6, #B62A86);
Monochromatic scale
Palettes built from #892ab6
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: Purple (#800080) — ΔE2000 9.9 away, with its history, psychology and brand usage.
#892ab6 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.
#892ab6, answered
What color is #892ab6?
#892ab6 is a dark vivid violet, closest to Dark Violet (ΔE2000 4.3). It sits at 281° on the hue wheel with 63% saturation and 44% lightness, which reads as cool.
What is the RGB value of #892ab6?
rgb(137, 42, 182) — 137 red, 42 green and 182 blue out of 255, or 53.7% / 16.5% / 71.4% by channel.
Is #892ab6 a light or a dark color?
It is a dark color. Relative luminance is 0.1035 and perceived brightness is 40%, so white text on it reaches 6.84:1.
Should I use black or white text on #892ab6?
White. It scores 6.84:1 against #892ab6, versus 3.07:1 for black — AA at any size.
What is the complementary color of #892ab6?
#57B62A sits directly opposite on the wheel. Softer options are the split-complements #9DB62A and #2AB643, which give the same contrast with far less vibration.
What colors go well with #892ab6?
For interface work: #F8F4FA as the surface, #DEC0ED for borders, #814B9B for secondary text, #70A923 as an accent and #4E1868 for hover and pressed states. For a palette, the analogous pair #432AB6 and #B62A9D stays calm, while #57B62A is the loudest partner.
What is #892ab6 in CMYK for printing?
cmyk(25%, 77%, 0%, 29%). This is a screen-to-ink approximation — ask your printer for a proof before committing to a run.
Is #892ab6 warm or cool?
Cool — it scores 61 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #B62AB0; nudged cooler, #5528B8.