Skip to content

#892dba

a balanced, vivid violet · cool · closest name: Dark Orchid

RGB
137, 45, 186
HSL
279°, 61%, 45%
CMYK
26, 76, 0, 27
Luminance
0.1074

At a glance

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

Hex
#892dba
Hue
279°
violet
Saturation
61%
vivid
Lightness
45%
balanced
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1074
WCAG relative
Temperature
Cool
62/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.67:1
Closest name
Dark Orchid
ΔE2000 4
Where it sits
Hue279° of 360°
Saturation61%
Lightness45%
Temperature
Warm ← → Cool62% 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#892dba
RGBrgb(137, 45, 186)
HSLhsl(279, 61%, 45%)
CMYKcmyk(26%, 76%, 0%, 27%)
LABlab(39.1 60.3 -56.6)
LCHlch(39.1 82.7 316.8)
OKLCHoklch(0.502 0.211 310.6)
Decimal8990138
Display P3color(display-p3 0.537 0.176 0.729)

Copy-ready code

/* CSS */
color: #892dba;
background-color: #892dba;
/* Tailwind (arbitrary) */
class="text-[#892dba] bg-[#892dba]"
/* SCSS */
$brand: #892dba;
/* SwiftUI */
Color(red: 0.537, green: 0.176, blue: 0.729)
/* Android */
Color.parseColor("#892dba")
/* Flutter */
Color(0xFF892DBA)
/* Python / OpenCV (BGR) */
(186, 45, 137)

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#ffffff on #892dba · 6.67:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 6.67:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.15:1
AA fail · AA large pass · AAA fail
Reading the other direction: #892dba as text scores 6.67:1 on white and 3.15:1 on black.

Accessibility — WCAG contrast

Aa
#892dba on white: 6.67:1
AA ✓ pass · AA-large · AAA
Aa
#892dba on black: 3.15:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0058BE
deuteranopia · #085EB7
tritanopia · #824F72

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #892dba is pinned to step 600; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F4FB
#F2E8F7
#E3CCF0
#D1A5E9
#BA78DE
#A44AD3
#892dba
#7928A4
#612083
#481B60
#2D113C
Base = 600Lightest = 50 · #F8F4FBDarkest = 950 · #2D113C
:root {
  --brand-50: #F8F4FB;
  --brand-100: #F2E8F7;
  --brand-200: #E3CCF0;
  --brand-300: #D1A5E9;
  --brand-400: #BA78DE;
  --brand-500: #A44AD3;
  --brand-600: #892dba;
  --brand-700: #7928A4;
  --brand-800: #612083;
  --brand-900: #481B60;
  --brand-950: #2D113C;
  --brand: #892dba;
  --brand-ink: #ffffff;
}

Colors that work with #892dba

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#ffffff
White wins here
Surface#F8F4FA
Tinted page background
Border#DDC0ED
Hairlines and dividers
Muted text#7F4B9B
Captions on the surface
Accent#73A923
Second voice, not a rival
Dark variant#4C1967
Hover, pressed, headers
Light variant#F5EAFA
Selected rows, tints
Dark surface#1F1424
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 #892dba

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

Works well for
  • Body text and links on white
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Full-page backgrounds — tiring over long sessions
  • 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#5EBA2D
Analogous left#422DBA
Analogous right#BA2DA5
Split-complement 1#A5BA2D
Split-complement 2#2DBA42
Triadic 1#BA892D
Triadic 2#2DBA89
Tetradic#BA422D

RGB percentages

Red53.7%
Green17.6%
Blue72.9%

CMYK percentages

Cyan26.3%
Magenta75.8%
Yellow0.0%
Key (black)27.1%

Color previews

#892dba text on a black background

contrast 3.15:1

Card sample

#892dba text on a white background

contrast 6.67:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(137, 45, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(137, 45, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #892dba;
background: linear-gradient(135deg, #892dba, #BA2D8D);

Monochromatic scale

Palettes built from #892dba

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.

#892dba in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
Creative toolsFintechBeautyLuxury
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Converts to four-color process without much drama. Proof it anyway.

#892dba, answered

What color is #892dba?

#892dba is a balanced vivid violet, closest to Dark Orchid (ΔE2000 4). It sits at 279° on the hue wheel with 61% saturation and 45% lightness, which reads as cool.

What is the RGB value of #892dba?

rgb(137, 45, 186) — 137 red, 45 green and 186 blue out of 255, or 53.7% / 17.6% / 72.9% by channel.

Is #892dba a light or a dark color?

It is a dark color. Relative luminance is 0.1074 and perceived brightness is 41%, so white text on it reaches 6.67:1.

Should I use black or white text on #892dba?

White. It scores 6.67:1 against #892dba, versus 3.15:1 for black — AA at any size.

What is the complementary color of #892dba?

#5EBA2D sits directly opposite on the wheel. Softer options are the split-complements #A5BA2D and #2DBA42, which give the same contrast with far less vibration.

What colors go well with #892dba?

For interface work: #F8F4FA as the surface, #DDC0ED for borders, #7F4B9B for secondary text, #73A923 as an accent and #4C1967 for hover and pressed states. For a palette, the analogous pair #422DBA and #BA2DA5 stays calm, while #5EBA2D is the loudest partner.

What is #892dba in CMYK for printing?

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

Is #892dba warm or cool?

Cool — it scores 62 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA2DB7; nudged cooler, #542BBC.

Work with #892dba in the Color Lab