#9B23D7 color

#9B23D7 is rgb(155, 35, 215) in RGB and hsl(280, 72%, 49%) in HSL. The closest CSS named color is darkorchid (#9932cc, ΔE 2). Use white text on it (contrast 5.81:1).

#9B23D7magenta
HEX#9B23D7
RGBrgb(155, 35, 215)
RGB percentrgb(60.8%, 13.7%, 84.3%)
HSLhsl(280, 72%, 49%)
HSV / HSBhsv(280, 84%, 84%)
CMYKcmyk(28%, 84%, 0%, 16%)
CIELAB (D65)lab(42.9 72.4 -67.2)

Edit in the color converter → · Check contrast → · Shades →

About #9B23D7

#9B23D7 is a medium, saturated magenta with a hue angle of 280°. It belongs to the purple family and reads as a balanced color. In the RGB model blue is the strongest channel at 215 (84%) and green the weakest at 35 (14%). Colors like this are typically used for illustrations, charts, highlights and secondary buttons.

Color conversions

HEX#9B23D7
RGBrgb(155, 35, 215)
RGB percentrgb(60.8%, 13.7%, 84.3%)
HSLhsl(280, 72%, 49%)
HSV / HSBhsv(280, 84%, 84%)
CMYKcmyk(28%, 84%, 0%, 16%)
CIELAB (D65)lab(42.9 72.4 -67.2)
Decimal10167255
Binary10011011 00100011 11010111

HEX 9B 23 D7 → 155, 35, 215 (each pair is a base-16 number: 9×16 + B = 155)

Color harmonies

Harmonies rotate the HSL hue (complementary +180°, triadic ±120°, split-complementary ±150°, analogous ±30°, tetradic 90° steps) and keep saturation and lightness. Swatches link to the nearest color page.

Tints and shades of #9B23D7

Tints (mixed with white)

Shades (mixed with black)

Tones (mixed with gray)

Contrast and accessibility

Text on #9B23D7RatioAA normalAA largeAAA normalAAA large
White text5.81:1PassPassFailPass
Black text3.62:1FailPassFailFail
White text on #9B23D7
Black text on #9B23D7
#9B23D7 text on white
#9B23D7 text on black

Relative luminance is 0.1308 (0 = black, 1 = white). WCAG 2 requires 4.5:1 for body text and 3:1 for large text and UI components.

Color blindness simulation

Protanopia
#0060dc

Deuteranopia
#0067d4

Tritanopia
#925581

Achromatopsia
#656565

With deuteranopia, the most common form of color blindness, this color shifts noticeably (ΔE 25.7). Do not rely on it alone to signal status; add an icon or text label. Simulation uses the Machado (2009) matrices for full dichromacy; achromatopsia shows luminance only.

Similar named colors

NameHEXΔE 2000
darkorchid#9932cc2
darkviolet#9400d33.1
blueviolet#8a2be23.3
rebeccapurple#66339911.7

CSS

.element {
  color: #9b23d7;
  background-color: rgb(155, 35, 215);
  border: 1px solid hsl(280, 72%, 49%);
  box-shadow: 0 2px 8px rgb(155 35 215 / 50%);
}
:root { --brand: #9b23d7; }

Frequently asked questions

What color is #9B23D7?
A medium saturated magenta in the purple family. Closest CSS name: darkorchid.
What is #9B23D7 in RGB?
rgb(155, 35, 215): red 155, green 35, blue 215.
What is the complementary color of #9B23D7?
#5FD723, found by rotating the hue 180°.