Color #8338ad
A moderately saturated medium purple.
Conversions
#8338ad
rgb(131, 56, 173)
hsl(278.5, 51.1%, 44.9%)
hsv(278.5, 67.6%, 67.8%)
cmyk(24.3%, 67.6%, 0%, 32.2%)
lab(39.02, 51.64, -49.11)
lch(39.02, 71.26, 316.44)
oklch(49.7%, 0.1835, 310.89)
hwb(278.5, 22%, 32.2%)
Harmony colors
Accessibility
White text reads better on this background (6.7:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.
Under color vision deficiencies
Protanopia
#6b6a9b · ΔE 17
Deuteranopia
#6e7396 · ΔE 20.5
Tritanopia
#808a86 · ΔE 32.9
Achromatopsia
#5c5c5c · ΔE 27.5
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #8338ad;
bg-[#8338ad]
Related colors
Frequently asked questions
#8338ad (#8338ad) is rgb(131, 56, 173) in RGB.
No, #8338ad 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 #8338ad, or check how it holds up for accessibility.