Color #b915d4
A vivid, highly saturated medium magenta.
Conversions
#b915d4
rgb(185, 21, 212)
hsl(291.5, 82%, 45.7%)
hsv(291.5, 90.1%, 83.1%)
cmyk(12.7%, 90.1%, 0%, 16.9%)
lab(46.45, 79.21, -59.5)
lch(46.45, 99.07, 323.09)
oklch(57.4%, 0.265, 320.88)
hwb(291.5, 8.2%, 16.9%)
Harmony colors
Accessibility
White text reads better on this background (5.1:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#908fbc · ΔE 26.8
Deuteranopia
#969eb5 · ΔE 30.8
Tritanopia
#b5a5a0 · ΔE 38
Achromatopsia
#6e6e6e · ΔE 30.7
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #b915d4;
bg-[#b915d4]
Related colors
Frequently asked questions
#b915d4 (#b915d4) is rgb(185, 21, 212) in RGB.
No, #b915d4 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.
Related tools
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #b915d4, or check how it holds up for accessibility.