Skip to content

#9b1ccc

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

RGB
155, 28, 204
HSL
283°, 76%, 46%
CMYK
24, 86, 0, 20
Luminance
0.1216

At a glance

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

Hex
#9b1ccc
Hue
283°
violet
Saturation
76%
electric
Lightness
46%
balanced
Brightness
80%
HSV value
Perceived
44%
weighted brightness
Luminance
0.1216
WCAG relative
Temperature
Cool
59/100 cool
Color family
Violet
Tone
Electric
Best ink
White
6.12:1
Closest name
Dark Orchid
ΔE2000 2.4
Where it sits
Hue283° of 360°
Saturation76%
Lightness46%
Temperature
Warm ← → Cool59% 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#9b1ccc
RGBrgb(155, 28, 204)
HSLhsl(283, 76%, 46%)
CMYKcmyk(24%, 86%, 0%, 20%)
LABlab(41.5 71.9 -63.2)
LCHlch(41.5 95.7 318.7)
OKLCHoklch(0.528 0.246 313.3)
Decimal10165452
Display P3color(display-p3 0.608 0.110 0.800)

Copy-ready code

/* CSS */
color: #9b1ccc;
background-color: #9b1ccc;
/* Tailwind (arbitrary) */
class="text-[#9b1ccc] bg-[#9b1ccc]"
/* SCSS */
$brand: #9b1ccc;
/* SwiftUI */
Color(red: 0.608, green: 0.110, blue: 0.800)
/* Android */
Color.parseColor("#9b1ccc")
/* Flutter */
Color(0xFF9B1CCC)
/* Python / OpenCV (BGR) */
(204, 28, 155)

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

Accessibility — WCAG contrast

Aa
#9b1ccc on white: 6.12:1
AA ✓ pass · AA-large · AAA
Aa
#9b1ccc on black: 3.43:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CD0
deuteranopia · #0064C9
tritanopia · #954D7A

Color scale — 50 to 950

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

#F9F3FC
#F4E7F9
#E8C8F4
#DA9CF1
#C76BEB
#B53AE4
#9b1ccc
#8819B3
#6D1490
#501268
#320C41
Base = 600Lightest = 50 · #F9F3FCDarkest = 950 · #320C41
:root {
  --brand-50: #F9F3FC;
  --brand-100: #F4E7F9;
  --brand-200: #E8C8F4;
  --brand-300: #DA9CF1;
  --brand-400: #C76BEB;
  --brand-500: #B53AE4;
  --brand-600: #9b1ccc;
  --brand-700: #8819B3;
  --brand-800: #6D1490;
  --brand-900: #501268;
  --brand-950: #320C41;
  --brand: #9b1ccc;
  --brand-ink: #ffffff;
}

Colors that work with #9b1ccc

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#854B9B
Captions on the surface
Accent#6AB814
Second voice, not a rival
Dark variant#550F70
Hover, pressed, headers
Light variant#F7E9FC
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 #9b1ccc

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#4DCC1C
Analogous left#431CCC
Analogous right#CC1CA5
Split-complement 1#A5CC1C
Split-complement 2#1CCC43
Triadic 1#CC9B1C
Triadic 2#1CCC9B
Tetradic#CC431C

RGB percentages

Red60.8%
Green11.0%
Blue80.0%

CMYK percentages

Cyan24.0%
Magenta86.3%
Yellow0.0%
Key (black)20.0%

Color previews

#9b1ccc text on a black background

contrast 3.43:1

Card sample

#9b1ccc text on a white background

contrast 6.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 28, 204, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 28, 204, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9b1ccc;
background: linear-gradient(135deg, #9b1ccc, #CC1C88);

Monochromatic scale

Palettes built from #9b1ccc

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.

#9b1ccc 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.

#9b1ccc, answered

What color is #9b1ccc?

#9b1ccc is a balanced electric violet, closest to Dark Orchid (ΔE2000 2.4). It sits at 283° on the hue wheel with 76% saturation and 46% lightness, which reads as cool.

What is the RGB value of #9b1ccc?

rgb(155, 28, 204) — 155 red, 28 green and 204 blue out of 255, or 60.8% / 11% / 80% by channel.

Is #9b1ccc a light or a dark color?

It is a dark color. Relative luminance is 0.1216 and perceived brightness is 44%, so white text on it reaches 6.12:1.

Should I use black or white text on #9b1ccc?

White. It scores 6.12:1 against #9b1ccc, versus 3.43:1 for black — AA at any size.

What is the complementary color of #9b1ccc?

#4DCC1C sits directly opposite on the wheel. Softer options are the split-complements #A5CC1C and #1CCC43, which give the same contrast with far less vibration.

What colors go well with #9b1ccc?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #854B9B for secondary text, #6AB814 as an accent and #550F70 for hover and pressed states. For a palette, the analogous pair #431CCC and #CC1CA5 stays calm, while #4DCC1C is the loudest partner.

What is #9b1ccc in CMYK for printing?

cmyk(24%, 86%, 0%, 20%). 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 #9b1ccc warm or cool?

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

Work with #9b1ccc in the Color Lab