Color #c798e2
A moderately saturated light purple.
Conversions
#c798e2
rgb(199, 152, 226)
hsl(278.1, 56.1%, 74.1%)
hsv(278.1, 32.7%, 88.6%)
cmyk(11.9%, 32.7%, 0%, 11.4%)
lab(69.53, 30.89, -30.81)
lch(69.53, 43.63, 315.07)
oklch(75%, 0.115, 312.71)
hwb(278.1, 59.6%, 11.4%)
Harmony colors
Accessibility
Black text reads better on this background (9.02:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b5b4d3 · ΔE 13.4
Deuteranopia
#b7bbcf · ΔE 16.7
Tritanopia
#c5c6c3 · ΔE 27.4
Achromatopsia
#aaaaaa · ΔE 23.3
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c798e2;
bg-[#c798e2]
Related colors
Frequently asked questions
#c798e2 (#c798e2) is rgb(199, 152, 226) in RGB.
No, #c798e2 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 #c798e2, or check how it holds up for accessibility.