Skip to content

#902aba

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

RGB
144, 42, 186
HSL
283°, 63%, 45%
CMYK
23, 77, 0, 27
Luminance
0.1113

At a glance

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

Hex
#902aba
Hue
283°
violet
Saturation
63%
vivid
Lightness
45%
dark
Brightness
73%
HSV value
Perceived
41%
weighted brightness
Luminance
0.1113
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.51:1
Closest name
Dark Orchid
ΔE2000 3.5
Where it sits
Hue283° of 360°
Saturation63%
Lightness45%
Temperature
Warm ← → Cool60% 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#902aba
RGBrgb(144, 42, 186)
HSLhsl(283, 63%, 45%)
CMYKcmyk(23%, 77%, 0%, 27%)
LABlab(39.8 62.7 -55.5)
LCHlch(39.8 83.7 318.5)
OKLCHoklch(0.509 0.216 313.6)
Decimal9448122
Display P3color(display-p3 0.565 0.165 0.729)

Copy-ready code

/* CSS */
color: #902aba;
background-color: #902aba;
/* Tailwind (arbitrary) */
class="text-[#902aba] bg-[#902aba]"
/* SCSS */
$brand: #902aba;
/* SwiftUI */
Color(red: 0.565, green: 0.165, blue: 0.729)
/* Android */
Color.parseColor("#902aba")
/* Flutter */
Color(0xFF902ABA)
/* Python / OpenCV (BGR) */
(186, 42, 144)

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

Accessibility — WCAG contrast

Aa
#902aba on white: 6.51:1
AA ✓ pass · AA-large · AAA
Aa
#902aba on black: 3.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0059BE
deuteranopia · #1A60B7
tritanopia · #8C4C71

Color scale — 50 to 950

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

#F9F4FB
#F3E8F7
#E6CBF0
#D6A3EA
#C176E0
#AC48D6
#902aba
#8126A6
#671E85
#4C1A61
#30103C
Base = 600Lightest = 50 · #F9F4FBDarkest = 950 · #30103C
:root {
  --brand-50: #F9F4FB;
  --brand-100: #F3E8F7;
  --brand-200: #E6CBF0;
  --brand-300: #D6A3EA;
  --brand-400: #C176E0;
  --brand-500: #AC48D6;
  --brand-600: #902aba;
  --brand-700: #8126A6;
  --brand-800: #671E85;
  --brand-900: #4C1A61;
  --brand-950: #30103C;
  --brand: #902aba;
  --brand-ink: #ffffff;
}

Colors that work with #902aba

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#F9F4FA
Tinted page background
Border#E0C0ED
Hairlines and dividers
Muted text#834B9B
Captions on the surface
Accent#6BAB21
Second voice, not a rival
Dark variant#511768
Hover, pressed, headers
Light variant#F6EAFA
Selected rows, tints
Dark surface#201424
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 #902aba

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
  • Headers, footers and dark-mode surfaces
  • Brand accents, badges and data highlights
Use with care
  • 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#54BA2A
Analogous left#482ABA
Analogous right#BA2A9C
Split-complement 1#9CBA2A
Split-complement 2#2ABA48
Triadic 1#BA902A
Triadic 2#2ABA90
Tetradic#BA482A

RGB percentages

Red56.5%
Green16.5%
Blue72.9%

CMYK percentages

Cyan22.6%
Magenta77.4%
Yellow0.0%
Key (black)27.1%

Color previews

#902aba text on a black background

contrast 3.23:1

Card sample

#902aba text on a white background

contrast 6.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(144, 42, 186, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(144, 42, 186, 0.45);
Border & gradient
Gradient panel
border: 3px solid #902aba;
background: linear-gradient(135deg, #902aba, #BA2A84);

Monochromatic scale

Palettes built from #902aba

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.

#902aba 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.

#902aba, answered

What color is #902aba?

#902aba is a dark vivid violet, closest to Dark Orchid (ΔE2000 3.5). It sits at 283° on the hue wheel with 63% saturation and 45% lightness, which reads as cool.

What is the RGB value of #902aba?

rgb(144, 42, 186) — 144 red, 42 green and 186 blue out of 255, or 56.5% / 16.5% / 72.9% by channel.

Is #902aba a light or a dark color?

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

Should I use black or white text on #902aba?

White. It scores 6.51:1 against #902aba, versus 3.23:1 for black — AA at any size.

What is the complementary color of #902aba?

#54BA2A sits directly opposite on the wheel. Softer options are the split-complements #9CBA2A and #2ABA48, which give the same contrast with far less vibration.

What colors go well with #902aba?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #834B9B for secondary text, #6BAB21 as an accent and #511768 for hover and pressed states. For a palette, the analogous pair #482ABA and #BA2A9C stays calm, while #54BA2A is the loudest partner.

What is #902aba in CMYK for printing?

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

Is #902aba warm or cool?

Cool — it scores 60 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #BA2AAF; nudged cooler, #5A28BC.

Work with #902aba in the Color Lab