Color #87309a
A moderately saturated dark purple.
Conversions
#87309a
rgb(135, 48, 154)
hsl(289.2, 52.5%, 39.6%)
hsv(289.2, 68.8%, 60.4%)
cmyk(12.3%, 68.8%, 0%, 39.6%)
lab(37.11, 52.12, -40.74)
lch(37.11, 66.15, 321.99)
oklch(48.1%, 0.177, 319.9)
hwb(289.2, 18.8%, 39.6%)
Harmony colors
Accessibility
White text reads better on this background (7.19:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#6c6b89 · ΔE 20.5
Deuteranopia
#707585 · ΔE 24
Tritanopia
#847a77 · ΔE 30.7
Achromatopsia
#575757 · ΔE 26.8
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #87309a;
bg-[#87309a]
Related colors
Frequently asked questions
#87309a (#87309a) is rgb(135, 48, 154) in RGB.
No, #87309a 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 #87309a, or check how it holds up for accessibility.