Color #c51fff
A vivid, highly saturated medium purple.
Conversions
#c51fff
rgb(197, 31, 255)
hsl(284.5, 100%, 56.1%)
hsv(284.5, 87.8%, 100%)
cmyk(22.7%, 87.8%, 0%, 0%)
lab(51.92, 86.76, -74.86)
lch(51.92, 114.59, 319.21)
oklch(62.5%, 0.2955, 314.15)
hwb(284.5, 12.2%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (5.01:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9a99e2 · ΔE 24.5
Deuteranopia
#a1a9da · ΔE 29
Tritanopia
#c1c7c1 · ΔE 41
Achromatopsia
#7c7c7c · ΔE 32
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c51fff;
bg-[#c51fff]
Related colors
Frequently asked questions
#c51fff (#c51fff) is rgb(197, 31, 255) in RGB.
No, #c51fff 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 #c51fff, or check how it holds up for accessibility.