Color #a302ea
A vivid, highly saturated medium purple.
Conversions
#a302ea
rgb(163, 2, 234)
hsl(281.6, 98.3%, 46.3%)
hsv(281.6, 99.1%, 91.8%)
cmyk(30.3%, 99.1%, 0%, 8.2%)
lab(43.9, 82.13, -76.36)
lch(43.9, 112.14, 317.08)
oklch(55.5%, 0.2809, 309.29)
hwb(281.6, 0.8%, 8.2%)
Harmony colors
Accessibility
White text reads better on this background (5.59:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#7e7dcf · ΔE 22.2
Deuteranopia
#848bc8 · ΔE 26.7
Tritanopia
#9fb6b0 · ΔE 40.8
Achromatopsia
#686868 · ΔE 31.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #a302ea;
bg-[#a302ea]
Related colors
Frequently asked questions
#a302ea (#a302ea) is rgb(163, 2, 234) in RGB.
No, #a302ea 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 #a302ea, or check how it holds up for accessibility.