Skip to content

#9155ed

a balanced, electric violet · cool · closest name: Medium Slate Blue

RGB
145, 85, 237
HSL
264°, 81%, 63%
CMYK
39, 64, 0, 7
Luminance
0.1863

At a glance

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

Hex
#9155ed
Hue
264°
violet
Saturation
81%
electric
Lightness
63%
balanced
Brightness
93%
HSV value
Perceived
51%
weighted brightness
Luminance
0.1863
WCAG relative
Temperature
Cool
70/100 cool
Color family
Violet
Tone
Electric
Best ink
Black
4.73:1
Closest name
Medium Slate Blue
ΔE2000 6.3
Where it sits
Hue264° of 360°
Saturation81%
Lightness63%
Temperature
Warm ← → Cool70% 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#9155ed
RGBrgb(145, 85, 237)
HSLhsl(264, 81%, 63%)
CMYKcmyk(39%, 64%, 0%, 7%)
LABlab(50.3 55.6 -67.8)
LCHlch(50.3 87.7 309.4)
OKLCHoklch(0.595 0.218 297.5)
Decimal9524717
Display P3color(display-p3 0.569 0.333 0.929)

Copy-ready code

/* CSS */
color: #9155ed;
background-color: #9155ed;
/* Tailwind (arbitrary) */
class="text-[#9155ed] bg-[#9155ed]"
/* SCSS */
$brand: #9155ed;
/* SwiftUI */
Color(red: 0.569, green: 0.333, blue: 0.929)
/* Android */
Color.parseColor("#9155ed")
/* Flutter */
Color(0xFF9155ED)
/* Python / OpenCV (BGR) */
(237, 85, 145)

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

Accessibility — WCAG contrast

Aa
#9155ed on white: 4.44:1
AA ✗ fail · AA-large · AAA
Aa
#9155ed on black: 4.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #0078F2
deuteranopia · #0076EA
tritanopia · #7B789A

Color scale — 50 to 950

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

#F6F3FC
#EEE6F9
#D9C6F5
#BD9AF4
#9155ed
#7C34EA
#6617DD
#5513B9
#441094
#34106B
#200A43
Base = 400Lightest = 50 · #F6F3FCDarkest = 950 · #200A43
:root {
  --brand-50: #F6F3FC;
  --brand-100: #EEE6F9;
  --brand-200: #D9C6F5;
  --brand-300: #BD9AF4;
  --brand-400: #9155ed;
  --brand-500: #7C34EA;
  --brand-600: #6617DD;
  --brand-700: #5513B9;
  --brand-800: #441094;
  --brand-900: #34106B;
  --brand-950: #200A43;
  --brand: #9155ed;
  --brand-ink: #000000;
}

Colors that work with #9155ed

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#F7F4FA
Tinted page background
Border#D1C0ED
Hairlines and dividers
Muted text#6A4B9B
Captions on the surface
Accent#A4BD0F
Second voice, not a rival
Dark variant#350C73
Hover, pressed, headers
Light variant#F0E8FD
Selected rows, tints
Dark surface#1A1424
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 #9155ed

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • 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#B1ED55
Analogous left#5565ED
Analogous right#DD55ED
Split-complement 1#EDDD55
Split-complement 2#65ED55
Triadic 1#ED9155
Triadic 2#55ED91
Tetradic#ED5565

RGB percentages

Red56.9%
Green33.3%
Blue92.9%

CMYK percentages

Cyan38.8%
Magenta64.1%
Yellow0.0%
Key (black)7.1%

Color previews

#9155ed text on a black background

contrast 4.73:1

Card sample

#9155ed text on a white background

contrast 4.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9155ed;
Background color
Panel with #9155ed background
background-color: #9155ed;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9155ed;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(145, 85, 237, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(145, 85, 237, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9155ed;
background: linear-gradient(135deg, #9155ed, #ED55E4);

Monochromatic scale

Palettes built from #9155ed

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.

#9155ed 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.

#9155ed, answered

What color is #9155ed?

#9155ed is a balanced electric violet, closest to Medium Slate Blue (ΔE2000 6.3). It sits at 264° on the hue wheel with 81% saturation and 63% lightness, which reads as cool.

What is the RGB value of #9155ed?

rgb(145, 85, 237) — 145 red, 85 green and 237 blue out of 255, or 56.9% / 33.3% / 92.9% by channel.

Is #9155ed a light or a dark color?

It is a mid-tone. Relative luminance is 0.1863 and perceived brightness is 51%, so black text on it reaches 4.73:1.

Should I use black or white text on #9155ed?

Black. It scores 4.73:1 against #9155ed, versus 4.44:1 for white — AA at any size.

What is the complementary color of #9155ed?

#B1ED55 sits directly opposite on the wheel. Softer options are the split-complements #EDDD55 and #65ED55, which give the same contrast with far less vibration.

What colors go well with #9155ed?

For interface work: #F7F4FA as the surface, #D1C0ED for borders, #6A4B9B for secondary text, #A4BD0F as an accent and #350C73 for hover and pressed states. For a palette, the analogous pair #5565ED and #DD55ED stays calm, while #B1ED55 is the loudest partner.

What is #9155ed in CMYK for printing?

cmyk(39%, 64%, 0%, 7%). 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 #9155ed warm or cool?

Cool — it scores 70 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #C955ED; nudged cooler, #5753EF.

Work with #9155ed in the Color Lab