Color #c304ff
A vivid, highly saturated medium purple.
Conversions
#c304ff
rgb(195, 4, 255)
hsl(285.7, 100%, 50.8%)
hsv(285.7, 98.4%, 100%)
cmyk(23.5%, 98.4%, 0%, 0%)
lab(50.58, 89.55, -77.05)
lch(50.58, 118.14, 319.29)
oklch(61.6%, 0.3035, 313.99)
hwb(285.7, 1.6%, 0%)
Harmony colors
Accessibility
Black text reads better on this background (4.78:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#9796e2 · ΔE 24.9
Deuteranopia
#9ea6da · ΔE 29.5
Tritanopia
#bfc6c0 · ΔE 41.6
Achromatopsia
#787878 · ΔE 32.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c304ff;
bg-[#c304ff]
Related colors
Frequently asked questions
#c304ff (#c304ff) is rgb(195, 4, 255) in RGB.
No, #c304ff 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 #c304ff, or check how it holds up for accessibility.