Skip to content

#9331df

a balanced, vivid violet · cool · closest name: Blue Violet

RGB
147, 49, 223
HSL
274°, 73%, 53%
CMYK
34, 78, 0, 13
Luminance
0.1373

At a glance

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

Hex
#9331df
Hue
274°
violet
Saturation
73%
vivid
Lightness
53%
balanced
Brightness
87%
HSV value
Perceived
46%
weighted brightness
Luminance
0.1373
WCAG relative
Temperature
Cool
65/100 cool
Color family
Violet
Tone
Vivid
Best ink
White
5.61:1
Closest name
Blue Violet
ΔE2000 2
Where it sits
Hue274° of 360°
Saturation73%
Lightness53%
Temperature
Warm ← → Cool65% 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#9331df
RGBrgb(147, 49, 223)
HSLhsl(274, 73%, 53%)
CMYKcmyk(34%, 78%, 0%, 13%)
LABlab(43.8 68.5 -70.3)
LCHlch(43.8 98.2 314.3)
OKLCHoklch(0.547 0.244 304.8)
Decimal9646559
Display P3color(display-p3 0.576 0.192 0.875)

Copy-ready code

/* CSS */
color: #9331df;
background-color: #9331df;
/* Tailwind (arbitrary) */
class="text-[#9331df] bg-[#9331df]"
/* SCSS */
$brand: #9331df;
/* SwiftUI */
Color(red: 0.576, green: 0.192, blue: 0.875)
/* Android */
Color.parseColor("#9331df")
/* Flutter */
Color(0xFF9331DF)
/* Python / OpenCV (BGR) */
(223, 49, 147)

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

Accessibility — WCAG contrast

Aa
#9331df on white: 5.61:1
AA ✓ pass · AA-large · AAA
Aa
#9331df on black: 3.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #0065E4
deuteranopia · #0068DC
tritanopia · #845F88

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #9331df is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#F8F3FC
#F1E7F8
#E1C9F3
#CC9EF0
#B36DE8
#9331df
#8621D4
#6F1BB1
#59168D
#421466
#2A0D40
Base = 500Lightest = 50 · #F8F3FCDarkest = 950 · #2A0D40
:root {
  --brand-50: #F8F3FC;
  --brand-100: #F1E7F8;
  --brand-200: #E1C9F3;
  --brand-300: #CC9EF0;
  --brand-400: #B36DE8;
  --brand-500: #9331df;
  --brand-600: #8621D4;
  --brand-700: #6F1BB1;
  --brand-800: #59168D;
  --brand-900: #421466;
  --brand-950: #2A0D40;
  --brand: #9331df;
  --brand-ink: #ffffff;
}

Colors that work with #9331df

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#F8F4FA
Tinted page background
Border#D9C0ED
Hairlines and dividers
Muted text#784B9B
Captions on the surface
Accent#83B517
Second voice, not a rival
Dark variant#46116E
Hover, pressed, headers
Light variant#F3E9FC
Selected rows, tints
Dark surface#1D1424
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 #9331df

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#7DDF31
Analogous left#3C31DF
Analogous right#DF31D4
Split-complement 1#D4DF31
Split-complement 2#31DF3C
Triadic 1#DF9331
Triadic 2#31DF93
Tetradic#DF3C31

RGB percentages

Red57.6%
Green19.2%
Blue87.5%

CMYK percentages

Cyan34.1%
Magenta78.0%
Yellow0.0%
Key (black)12.5%

Color previews

#9331df text on a black background

contrast 3.75:1

Card sample

#9331df text on a white background

contrast 5.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(147, 49, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(147, 49, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9331df;
background: linear-gradient(135deg, #9331df, #DF31B7);

Monochromatic scale

Palettes built from #9331df

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.

#9331df 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.

#9331df, answered

What color is #9331df?

#9331df is a balanced vivid violet, closest to Blue Violet (ΔE2000 2). It sits at 274° on the hue wheel with 73% saturation and 53% lightness, which reads as cool.

What is the RGB value of #9331df?

rgb(147, 49, 223) — 147 red, 49 green and 223 blue out of 255, or 57.6% / 19.2% / 87.5% by channel.

Is #9331df a light or a dark color?

It is a dark color. Relative luminance is 0.1373 and perceived brightness is 46%, so white text on it reaches 5.61:1.

Should I use black or white text on #9331df?

White. It scores 5.61:1 against #9331df, versus 3.75:1 for black — AA at any size.

What is the complementary color of #9331df?

#7DDF31 sits directly opposite on the wheel. Softer options are the split-complements #D4DF31 and #31DF3C, which give the same contrast with far less vibration.

What colors go well with #9331df?

For interface work: #F8F4FA as the surface, #D9C0ED for borders, #784B9B for secondary text, #83B517 as an accent and #46116E for hover and pressed states. For a palette, the analogous pair #3C31DF and #DF31D4 stays calm, while #7DDF31 is the loudest partner.

What is #9331df in CMYK for printing?

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

Is #9331df warm or cool?

Cool — it scores 65 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D331DF; nudged cooler, #522EE1.

Work with #9331df in the Color Lab