Skip to content

#892dec

a balanced, electric violet · cool · closest name: Blue Violet

RGB
137, 45, 236
HSL
269°, 83%, 55%
CMYK
42, 81, 0, 8
Luminance
0.1325

At a glance

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

Hex
#892dec
Hue
269°
violet
Saturation
83%
electric
Lightness
55%
balanced
Brightness
93%
HSV value
Perceived
45%
weighted brightness
Luminance
0.1325
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.75:1
Closest name
Blue Violet
ΔE2000 1.4
Where it sits
Hue269° of 360°
Saturation83%
Lightness55%
Temperature
Warm ← → Cool67% 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#892dec
RGBrgb(137, 45, 236)
HSLhsl(269, 83%, 55%)
CMYKcmyk(42%, 81%, 0%, 8%)
LABlab(43.1 71.3 -78.9)
LCHlch(43.1 106.3 312.1)
OKLCHoklch(0.543 0.258 298.9)
Decimal8990188
Display P3color(display-p3 0.537 0.176 0.925)

Copy-ready code

/* CSS */
color: #892dec;
background-color: #892dec;
/* Tailwind (arbitrary) */
class="text-[#892dec] bg-[#892dec]"
/* SCSS */
$brand: #892dec;
/* SwiftUI */
Color(red: 0.537, green: 0.176, blue: 0.925)
/* Android */
Color.parseColor("#892dec")
/* Flutter */
Color(0xFF892DEC)
/* Python / OpenCV (BGR) */
(236, 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 #892dec · 5.75:1
Use #ffffffAA at every size, AAA for large text only.
Aa
White text · 5.75:1 · recommended
AA pass · AA large pass · AAA fail
Aa
Black text · 3.65:1
AA fail · AA large pass · AAA fail
Reading the other direction: #892dec as text scores 5.75:1 on white and 3.65:1 on black.

Accessibility — WCAG contrast

Aa
#892dec on white: 5.75:1
AA ✓ pass · AA-large · AAA
Aa
#892dec on black: 3.65:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0066F1
deuteranopia · #0064E8
tritanopia · #70648F

Color scale — 50 to 950

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

#F7F2FC
#EFE6FA
#DDC6F6
#C598F6
#A865F1
#892dec
#7714E0
#6311BB
#4F0E96
#3B0E6C
#250944
Base = 500Lightest = 50 · #F7F2FCDarkest = 950 · #250944
:root {
  --brand-50: #F7F2FC;
  --brand-100: #EFE6FA;
  --brand-200: #DDC6F6;
  --brand-300: #C598F6;
  --brand-400: #A865F1;
  --brand-500: #892dec;
  --brand-600: #7714E0;
  --brand-700: #6311BB;
  --brand-800: #4F0E96;
  --brand-900: #3B0E6C;
  --brand-950: #250944;
  --brand: #892dec;
  --brand-ink: #ffffff;
}

Colors that work with #892dec

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#F7F4FA
Tinted page background
Border#D5C0ED
Hairlines and dividers
Muted text#714B9B
Captions on the surface
Accent#96C00C
Second voice, not a rival
Dark variant#3E0B75
Hover, pressed, headers
Light variant#F2E8FD
Selected rows, tints
Dark surface#1C1424
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 #892dec

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#90EC2D
Analogous left#2D31EC
Analogous right#E82DEC
Split-complement 1#ECE82D
Split-complement 2#31EC2D
Triadic 1#EC892D
Triadic 2#2DEC89
Tetradic#EC2D31

RGB percentages

Red53.7%
Green17.6%
Blue92.5%

CMYK percentages

Cyan41.9%
Magenta80.9%
Yellow0.0%
Key (black)7.5%

Color previews

#892dec text on a black background

contrast 3.65:1

Card sample

#892dec text on a white background

contrast 5.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #892dec

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.

#892dec 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

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#892dec, answered

What color is #892dec?

#892dec is a balanced electric violet, closest to Blue Violet (ΔE2000 1.4). It sits at 269° on the hue wheel with 83% saturation and 55% lightness, which reads as cool.

What is the RGB value of #892dec?

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

Is #892dec a light or a dark color?

It is a dark color. Relative luminance is 0.1325 and perceived brightness is 45%, so white text on it reaches 5.75:1.

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

White. It scores 5.75:1 against #892dec, versus 3.65:1 for black — AA at any size.

What is the complementary color of #892dec?

#90EC2D sits directly opposite on the wheel. Softer options are the split-complements #ECE82D and #31EC2D, which give the same contrast with far less vibration.

What colors go well with #892dec?

For interface work: #F7F4FA as the surface, #D5C0ED for borders, #714B9B for secondary text, #96C00C as an accent and #3E0B75 for hover and pressed states. For a palette, the analogous pair #2D31EC and #E82DEC stays calm, while #90EC2D is the loudest partner.

What is #892dec in CMYK for printing?

cmyk(42%, 81%, 0%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #892dec warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #CF2DEC; nudged cooler, #412BEE.

Work with #892dec in the Color Lab