#ba01fd
a balanced, electric violet · cool · closest name: Dark Orchid
At a glance
Every number on this page in one read: what #ba01fd 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 | #ba01fd |
| RGB | rgb(186, 1, 253) |
| HSL | hsl(284, 99%, 50%) |
| CMYK | cmyk(27%, 100%, 0%, 1%) |
| LAB | lab(49.0 88.3 -78.7) |
| LCH | lch(49.0 118.3 318.3) |
| OKLCH | oklch(0.601 0.300 312.0) |
| Decimal | 12190205 |
| Display P3 | color(display-p3 0.729 0.004 0.992) |
Copy-ready code
/* CSS */
color: #ba01fd;
background-color: #ba01fd;
/* Tailwind (arbitrary) */
class="text-[#ba01fd] bg-[#ba01fd]"
/* SCSS */
$brand: #ba01fd;
/* SwiftUI */
Color(red: 0.729, green: 0.004, blue: 0.992)
/* Android */
Color.parseColor("#ba01fd")
/* Flutter */
Color(0xFFBA01FD)
/* Python / OpenCV (BGR) */
(253, 1, 186)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. #ba01fd 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.
:root {
--brand-50: #FAF1FE;
--brand-100: #F5E3FC;
--brand-200: #ECC0FB;
--brand-300: #E18FFF;
--brand-400: #D257FE;
--brand-500: #C31FFE;
--brand-600: #ba01fd;
--brand-700: #9501CB;
--brand-800: #7701A3;
--brand-900: #570575;
--brand-950: #370349;
--brand: #ba01fd;
--brand-ink: #ffffff;
}Colors that work with #ba01fd
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 #ba01fd
Derived from its contrast, chroma and lightness — not from taste.
- ✓Body text and links 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
- ⚠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 | #44FD01 | Directly opposite — maximum tension | |
| Analogous left | #3C01FD | Neighbour, quieter | |
| Analogous right | #FD01C2 | Neighbour, quieter | |
| Split-complement 1 | #C2FD01 | Contrast without the clash | |
| Split-complement 2 | #01FD3C | Contrast without the clash | |
| Triadic 1 | #FDBA01 | Even thirds — balanced and loud | |
| Triadic 2 | #01FDBA | Even thirds — balanced and loud | |
| Tetradic | #FD3C01 | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ba01fd text on a black background
contrast 4.51:1
#ba01fd text on a white background
contrast 4.66:1
CSS3 live lab
The quick brown fox
color: #ba01fd;
background-color: #ba01fd;
Glowing headline
text-shadow: 2px 2px 8px #ba01fd;
Soft neon halo
text-shadow: 0 0 14px rgba(186, 1, 253, 0.45);
box-shadow: 0 12px 32px -8px rgba(186, 1, 253, 0.45);
border: 3px solid #ba01fd; background: linear-gradient(135deg, #ba01fd, #FD0198);
Monochromatic scale
Palettes built from #ba01fd
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: Magenta (#ff00ff) — ΔE2000 12.9 away, with its history, psychology and brand usage.
#ba01fd 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.
#ba01fd, answered
What color is #ba01fd?
#ba01fd is a balanced electric violet, closest to Dark Orchid (ΔE2000 7.5). It sits at 284° on the hue wheel with 99% saturation and 50% lightness, which reads as cool.
What is the RGB value of #ba01fd?
rgb(186, 1, 253) — 186 red, 1 green and 253 blue out of 255, or 72.9% / 0.4% / 99.2% by channel.
Is #ba01fd a light or a dark color?
It is a dark color. Relative luminance is 0.1755 and perceived brightness is 52%, so white text on it reaches 4.66:1.
Should I use black or white text on #ba01fd?
White. It scores 4.66:1 against #ba01fd, versus 4.51:1 for black — AA at any size.
What is the complementary color of #ba01fd?
#44FD01 sits directly opposite on the wheel. Softer options are the split-complements #C2FD01 and #01FD3C, which give the same contrast with far less vibration.
What colors go well with #ba01fd?
For interface work: #F9F4FA as the surface, #E1C0ED for borders, #854B9B for secondary text, #69CC00 as an accent and #5D017F for hover and pressed states. For a palette, the analogous pair #3C01FD and #FD01C2 stays calm, while #44FD01 is the loudest partner.
What is #ba01fd in CMYK for printing?
cmyk(27%, 100%, 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 #ba01fd warm or cool?
Cool — it scores 59 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #FD01E4; nudged cooler, #5D00FE.