Skip to content

#9233f6

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

RGB
146, 51, 246
HSL
269°, 92%, 58%
CMYK
41, 79, 0, 4
Luminance
0.1513

At a glance

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

Hex
#9233f6
Hue
269°
violet
Saturation
92%
electric
Lightness
58%
balanced
Brightness
96%
HSV value
Perceived
48%
weighted brightness
Luminance
0.1513
WCAG relative
Temperature
Cool
67/100 cool
Color family
Violet
Tone
Electric
Best ink
White
5.22:1
Closest name
Blue Violet
ΔE2000 3.6
Where it sits
Hue269° of 360°
Saturation92%
Lightness58%
Temperature
Warm ← → Cool67% 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#9233f6
RGBrgb(146, 51, 246)
HSLhsl(269, 92%, 58%)
CMYKcmyk(41%, 79%, 0%, 4%)
LABlab(45.8 72.7 -80.1)
LCHlch(45.8 108.2 312.2)
OKLCHoklch(0.566 0.264 299.6)
Decimal9581558
Display P3color(display-p3 0.573 0.200 0.965)

Copy-ready code

/* CSS */
color: #9233f6;
background-color: #9233f6;
/* Tailwind (arbitrary) */
class="text-[#9233f6] bg-[#9233f6]"
/* SCSS */
$brand: #9233f6;
/* SwiftUI */
Color(red: 0.573, green: 0.200, blue: 0.965)
/* Android */
Color.parseColor("#9233f6")
/* Flutter */
Color(0xFF9233F6)
/* Python / OpenCV (BGR) */
(246, 51, 146)

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

Accessibility — WCAG contrast

Aa
#9233f6 on white: 5.22:1
AA ✓ pass · AA-large · AAA
Aa
#9233f6 on black: 4.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia · #006CFB
deuteranopia · #006BF2
tritanopia · #7A6A96

Color scale — 50 to 950

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

#F7F2FD
#EFE4FB
#DDC3F9
#C694FA
#A95EF8
#9233f6
#770AEA
#6409C3
#50079C
#3C0A71
#250646
Base = 500Lightest = 50 · #F7F2FDDarkest = 950 · #250646
:root {
  --brand-50: #F7F2FD;
  --brand-100: #EFE4FB;
  --brand-200: #DDC3F9;
  --brand-300: #C694FA;
  --brand-400: #A95EF8;
  --brand-500: #9233f6;
  --brand-600: #770AEA;
  --brand-700: #6409C3;
  --brand-800: #50079C;
  --brand-900: #3C0A71;
  --brand-950: #250646;
  --brand: #9233f6;
  --brand-ink: #ffffff;
}

Colors that work with #9233f6

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#F7F4FA
Tinted page background
Border#D6C0ED
Hairlines and dividers
Muted text#724B9B
Captions on the surface
Accent#99C705
Second voice, not a rival
Dark variant#3E057A
Hover, pressed, headers
Light variant#F2E7FE
Selected rows, tints
Dark surface#1C1424
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 #9233f6

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#97F633
Analogous left#3335F6
Analogous right#F333F6
Split-complement 1#F6F333
Split-complement 2#35F633
Triadic 1#F69233
Triadic 2#33F692
Tetradic#F63335

RGB percentages

Red57.3%
Green20.0%
Blue96.5%

CMYK percentages

Cyan40.7%
Magenta79.3%
Yellow0.0%
Key (black)3.5%

Color previews

#9233f6 text on a black background

contrast 4.03:1

Card sample

#9233f6 text on a white background

contrast 5.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(146, 51, 246, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(146, 51, 246, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9233f6;
background: linear-gradient(135deg, #9233f6, #F633D8);

Monochromatic scale

Palettes built from #9233f6

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.

#9233f6 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.

#9233f6, answered

What color is #9233f6?

#9233f6 is a balanced electric violet, closest to Blue Violet (ΔE2000 3.6). It sits at 269° on the hue wheel with 92% saturation and 58% lightness, which reads as cool.

What is the RGB value of #9233f6?

rgb(146, 51, 246) — 146 red, 51 green and 246 blue out of 255, or 57.3% / 20% / 96.5% by channel.

Is #9233f6 a light or a dark color?

It is a dark color. Relative luminance is 0.1513 and perceived brightness is 48%, so white text on it reaches 5.22:1.

Should I use black or white text on #9233f6?

White. It scores 5.22:1 against #9233f6, versus 4.03:1 for black — AA at any size.

What is the complementary color of #9233f6?

#97F633 sits directly opposite on the wheel. Softer options are the split-complements #F6F333 and #35F633, which give the same contrast with far less vibration.

What colors go well with #9233f6?

For interface work: #F7F4FA as the surface, #D6C0ED for borders, #724B9B for secondary text, #99C705 as an accent and #3E057A for hover and pressed states. For a palette, the analogous pair #3335F6 and #F333F6 stays calm, while #97F633 is the loudest partner.

What is #9233f6 in CMYK for printing?

cmyk(41%, 79%, 0%, 4%). 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 #9233f6 warm or cool?

Cool — it scores 67 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #D933F6; nudged cooler, #4931F8.

Work with #9233f6 in the Color Lab