Skip to content

#9727c4

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

RGB
151, 39, 196
HSL
283°, 67%, 46%
CMYK
23, 80, 0, 23
Luminance
0.1202

At a glance

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

Hex
#9727c4
Hue
283°
violet
Saturation
67%
vivid
Lightness
46%
balanced
Brightness
77%
HSV value
Perceived
43%
weighted brightness
Luminance
0.1202
WCAG relative
Temperature
Cool
60/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
6.17:1
Closest name
Dark Orchid
ΔE2000 2.1
Where it sits
Hue283° of 360°
Saturation67%
Lightness46%
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#9727c4
RGBrgb(151, 39, 196)
HSLhsl(283, 67%, 46%)
CMYKcmyk(23%, 80%, 0%, 23%)
LABlab(41.2 66.9 -58.9)
LCHlch(41.2 89.1 318.6)
OKLCHoklch(0.524 0.230 313.5)
Decimal9906116
Display P3color(display-p3 0.592 0.153 0.769)

Copy-ready code

/* CSS */
color: #9727c4;
background-color: #9727c4;
/* Tailwind (arbitrary) */
class="text-[#9727c4] bg-[#9727c4]"
/* SCSS */
$brand: #9727c4;
/* SwiftUI */
Color(red: 0.592, green: 0.153, blue: 0.769)
/* Android */
Color.parseColor("#9727c4")
/* Flutter */
Color(0xFF9727C4)
/* Python / OpenCV (BGR) */
(196, 39, 151)

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

Accessibility — WCAG contrast

Aa
#9727c4 on white: 6.17:1
AA ✓ pass · AA-large · AAA
Aa
#9727c4 on black: 3.40:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #005CC8
deuteranopia · #1064C1
tritanopia · #924E77

Color scale — 50 to 950

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

#F9F3FB
#F3E8F8
#E6CAF1
#D7A1EC
#C373E3
#AF44DA
#9727c4
#8322AA
#691B88
#4D1863
#300F3E
Base = 600Lightest = 50 · #F9F3FBDarkest = 950 · #300F3E
:root {
  --brand-50: #F9F3FB;
  --brand-100: #F3E8F8;
  --brand-200: #E6CAF1;
  --brand-300: #D7A1EC;
  --brand-400: #C373E3;
  --brand-500: #AF44DA;
  --brand-600: #9727c4;
  --brand-700: #8322AA;
  --brand-800: #691B88;
  --brand-900: #4D1863;
  --brand-950: #300F3E;
  --brand: #9727c4;
  --brand-ink: #ffffff;
}

Colors that work with #9727c4

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#844B9B
Captions on the surface
Accent#6CAF1D
Second voice, not a rival
Dark variant#52156A
Hover, pressed, headers
Light variant#F6EAFB
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 #9727c4

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#54C427
Analogous left#4927C4
Analogous right#C427A3
Split-complement 1#A3C427
Split-complement 2#27C449
Triadic 1#C49727
Triadic 2#27C497
Tetradic#C44927

RGB percentages

Red59.2%
Green15.3%
Blue76.9%

CMYK percentages

Cyan23.0%
Magenta80.1%
Yellow0.0%
Key (black)23.1%

Color previews

#9727c4 text on a black background

contrast 3.40:1

Card sample

#9727c4 text on a white background

contrast 6.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(151, 39, 196, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(151, 39, 196, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9727c4;
background: linear-gradient(135deg, #9727c4, #C42788);

Monochromatic scale

Palettes built from #9727c4

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.

#9727c4 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.

#9727c4, answered

What color is #9727c4?

#9727c4 is a balanced vivid violet, closest to Dark Orchid (ΔE2000 2.1). It sits at 283° on the hue wheel with 67% saturation and 46% lightness, which reads as cool.

What is the RGB value of #9727c4?

rgb(151, 39, 196) — 151 red, 39 green and 196 blue out of 255, or 59.2% / 15.3% / 76.9% by channel.

Is #9727c4 a light or a dark color?

It is a dark color. Relative luminance is 0.1202 and perceived brightness is 43%, so white text on it reaches 6.17:1.

Should I use black or white text on #9727c4?

White. It scores 6.17:1 against #9727c4, versus 3.40:1 for black — AA at any size.

What is the complementary color of #9727c4?

#54C427 sits directly opposite on the wheel. Softer options are the split-complements #A3C427 and #27C449, which give the same contrast with far less vibration.

What colors go well with #9727c4?

For interface work: #F9F4FA as the surface, #E0C0ED for borders, #844B9B for secondary text, #6CAF1D as an accent and #52156A for hover and pressed states. For a palette, the analogous pair #4927C4 and #C427A3 stays calm, while #54C427 is the loudest partner.

What is #9727c4 in CMYK for printing?

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

Is #9727c4 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 #C427B8; nudged cooler, #5D25C6.

Work with #9727c4 in the Color Lab