#9b58fd
a light, electric violet · cool · closest name: Medium Slate Blue
At a glance
Every number on this page in one read: what #9b58fd is made of, how bright it looks, and which way it leans.
Reads cool. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #9b58fd |
| RGB | rgb(155, 88, 253) |
| HSL | hsl(264, 98%, 67%) |
| CMYK | cmyk(39%, 65%, 0%, 1%) |
| LAB | lab(53.0 60.1 -72.3) |
| LCH | lch(53.0 94.0 309.8) |
| OKLCH | oklch(0.621 0.233 297.9) |
| Decimal | 10180861 |
| Display P3 | color(display-p3 0.608 0.345 0.992) |
Copy-ready code
/* CSS */
color: #9b58fd;
background-color: #9b58fd;
/* Tailwind (arbitrary) */
class="text-[#9b58fd] bg-[#9b58fd]"
/* SCSS */
$brand: #9b58fd;
/* SwiftUI */
Color(red: 0.608, green: 0.345, blue: 0.992)
/* Android */
Color.parseColor("#9b58fd")
/* Flutter */
Color(0xFF9B58FD)
/* Python / OpenCV (BGR) */
(253, 88, 155)Best text color
Only one of black and white can be right. This is the one, with the number that proves it.
Accessibility — WCAG contrast
Color scale — 50 to 950
A Tailwind-shaped ramp built around this exact hex. #9b58fd 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.
:root {
--brand-50: #F6F1FD;
--brand-100: #EDE4FC;
--brand-200: #D8C1FB;
--brand-300: #BD90FE;
--brand-400: #9b58fd;
--brand-500: #7A21FC;
--brand-600: #6403F2;
--brand-700: #5302CA;
--brand-800: #4302A1;
--brand-900: #330674;
--brand-950: #200449;
--brand: #9b58fd;
--brand-ink: #000000;
}Colors that work with #9b58fd
Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #9b58fd
Derived from its contrast, chroma and lightness — not from taste.
- ✓Headings from 24px up on white
- ✓Text and icons on dark surfaces
- ✓Primary buttons and calls to action
- ✓Focus rings, active and selected states
- ✓Card and section backgrounds
- ✓Brand accents, badges and data highlights
- ⚠Small text on white — under 4.5:1
- ⚠Full-page backgrounds — tiring over long sessions
- ⚠White text placed on it
- ⚠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 | #BAFD58 | Directly opposite — maximum tension | |
| Analogous left | #5868FD | Neighbour, quieter | |
| Analogous right | #EE58FD | Neighbour, quieter | |
| Split-complement 1 | #FDEE58 | Contrast without the clash | |
| Split-complement 2 | #68FD58 | Contrast without the clash | |
| Triadic 1 | #FD9B58 | Even thirds — balanced and loud | |
| Triadic 2 | #58FD9B | Even thirds — balanced and loud | |
| Tetradic | #FD5868 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#9b58fd text on a black background
contrast 5.21:1
#9b58fd text on a white background
contrast 4.03:1
CSS3 live lab
The quick brown fox
color: #9b58fd;
background-color: #9b58fd;
Glowing headline
text-shadow: 2px 2px 8px #9b58fd;
Soft neon halo
text-shadow: 0 0 14px rgba(155, 88, 253, 0.45);
box-shadow: 0 12px 32px -8px rgba(155, 88, 253, 0.45);
border: 3px solid #9b58fd; background: linear-gradient(135deg, #9b58fd, #FD58F1);
Monochromatic scale
Palettes built from #9b58fd
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.
Closest color with a full write-up: Iris (#5a4fcf) — ΔE2000 13.1 away, with its history, psychology and brand usage.
#9b58fd in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.
#9b58fd, answered
What color is #9b58fd?
#9b58fd is a light electric violet, closest to Medium Slate Blue (ΔE2000 6.7). It sits at 264° on the hue wheel with 98% saturation and 67% lightness, which reads as cool.
What is the RGB value of #9b58fd?
rgb(155, 88, 253) — 155 red, 88 green and 253 blue out of 255, or 60.8% / 34.5% / 99.2% by channel.
Is #9b58fd a light or a dark color?
It is a mid-tone. Relative luminance is 0.2104 and perceived brightness is 54%, so black text on it reaches 5.21:1.
Should I use black or white text on #9b58fd?
Black. It scores 5.21:1 against #9b58fd, versus 4.03:1 for white — AA at any size.
What is the complementary color of #9b58fd?
#BAFD58 sits directly opposite on the wheel. Softer options are the split-complements #FDEE58 and #68FD58, which give the same contrast with far less vibration.
What colors go well with #9b58fd?
For interface work: #F7F4FA as the surface, #D2C0ED for borders, #6B4B9B for secondary text, #ADCC00 as an accent and #34027E for hover and pressed states. For a palette, the analogous pair #5868FD and #EE58FD stays calm, while #BAFD58 is the loudest partner.
What is #9b58fd in CMYK for printing?
cmyk(39%, 65%, 0%, 1%). 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 #9b58fd 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 #D858FD; nudged cooler, #5D57FF.