Skip to content

#b90fe4

a balanced, electric violet · neutral · closest name: Dark Orchid

RGB
185, 15, 228
HSL
288°, 88%, 48%
CMYK
19, 93, 0, 11
Luminance
0.1626

At a glance

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

Hex
#b90fe4
Hue
288°
violet
Saturation
88%
electric
Lightness
48%
balanced
Brightness
89%
HSV value
Perceived
50%
weighted brightness
Luminance
0.1626
WCAG relative
Temperature
Neutral
57/100 cool
Color family
Violet
Tone
Electric
Best ink
White
4.94:1
Closest name
Dark Orchid
ΔE2000 5.5
Where it sits
Hue288° of 360°
Saturation88%
Lightness48%
Temperature
Warm ← → Cool57% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#b90fe4
RGBrgb(185, 15, 228)
HSLhsl(288, 88%, 48%)
CMYKcmyk(19%, 93%, 0%, 11%)
LABlab(47.3 82.7 -67.3)
LCHlch(47.3 106.6 320.9)
OKLCHoklch(0.584 0.279 317.1)
Decimal12128228
Display P3color(display-p3 0.725 0.059 0.894)

Copy-ready code

/* CSS */
color: #b90fe4;
background-color: #b90fe4;
/* Tailwind (arbitrary) */
class="text-[#b90fe4] bg-[#b90fe4]"
/* SCSS */
$brand: #b90fe4;
/* SwiftUI */
Color(red: 0.725, green: 0.059, blue: 0.894)
/* Android */
Color.parseColor("#b90fe4")
/* Flutter */
Color(0xFFB90FE4)
/* Python / OpenCV (BGR) */
(228, 15, 185)

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

Accessibility — WCAG contrast

Aa
#b90fe4 on white: 4.94:1
AA ✓ pass · AA-large · AAA
Aa
#b90fe4 on black: 4.25:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0067E9
deuteranopia · #1174E0
tritanopia · #B65087

Color scale — 50 to 950

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

#FBF2FD
#F6E5FA
#EDC4F8
#E496F8
#D761F5
#CA2CF1
#b90fe4
#9B0DBF
#7C0A99
#5B0C6F
#390745
Base = 600Lightest = 50 · #FBF2FDDarkest = 950 · #390745
:root {
  --brand-50: #FBF2FD;
  --brand-100: #F6E5FA;
  --brand-200: #EDC4F8;
  --brand-300: #E496F8;
  --brand-400: #D761F5;
  --brand-500: #CA2CF1;
  --brand-600: #b90fe4;
  --brand-700: #9B0DBF;
  --brand-800: #7C0A99;
  --brand-900: #5B0C6F;
  --brand-950: #390745;
  --brand: #b90fe4;
  --brand-ink: #ffffff;
}

Colors that work with #b90fe4

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#E4C0ED
Hairlines and dividers
Muted text#8B4B9B
Captions on the surface
Accent#5DC408
Second voice, not a rival
Dark variant#610878
Hover, pressed, headers
Light variant#F9E7FD
Selected rows, tints
Dark surface#211424
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 #b90fe4

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#3AE40F
Analogous left#4E0FE4
Analogous right#E40FA4
Split-complement 1#A4E40F
Split-complement 2#0FE44E
Triadic 1#E4B90F
Triadic 2#0FE4B9
Tetradic#E44E0F

RGB percentages

Red72.5%
Green5.9%
Blue89.4%

CMYK percentages

Cyan18.9%
Magenta93.4%
Yellow0.0%
Key (black)10.6%

Color previews

#b90fe4 text on a black background

contrast 4.25:1

Card sample

#b90fe4 text on a white background

contrast 4.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(185, 15, 228, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(185, 15, 228, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b90fe4;
background: linear-gradient(135deg, #b90fe4, #E40F81);

Monochromatic scale

Palettes built from #b90fe4

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.

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

#b90fe4, answered

What color is #b90fe4?

#b90fe4 is a balanced electric violet, closest to Dark Orchid (ΔE2000 5.5). It sits at 288° on the hue wheel with 88% saturation and 48% lightness, which reads as neutral.

What is the RGB value of #b90fe4?

rgb(185, 15, 228) — 185 red, 15 green and 228 blue out of 255, or 72.5% / 5.9% / 89.4% by channel.

Is #b90fe4 a light or a dark color?

It is a dark color. Relative luminance is 0.1626 and perceived brightness is 50%, so white text on it reaches 4.94:1.

Should I use black or white text on #b90fe4?

White. It scores 4.94:1 against #b90fe4, versus 4.25:1 for black — AA at any size.

What is the complementary color of #b90fe4?

#3AE40F sits directly opposite on the wheel. Softer options are the split-complements #A4E40F and #0FE44E, which give the same contrast with far less vibration.

What colors go well with #b90fe4?

For interface work: #F9F4FA as the surface, #E4C0ED for borders, #8B4B9B for secondary text, #5DC408 as an accent and #610878 for hover and pressed states. For a palette, the analogous pair #4E0FE4 and #E40FA4 stays calm, while #3AE40F is the loudest partner.

What is #b90fe4 in CMYK for printing?

cmyk(19%, 93%, 0%, 11%). 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 #b90fe4 warm or cool?

Neutral — it scores 57 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #E40FC1; nudged cooler, #6B0DE6.

Work with #b90fe4 in the Color Lab