Color #c798e3
A moderately saturated light purple.
Conversions
#c798e3
rgb(199, 152, 227)
hsl(277.6, 57.3%, 74.3%)
hsv(277.6, 33%, 89%)
cmyk(12.3%, 33%, 0%, 11%)
lab(69.57, 31.1, -31.3)
lch(69.57, 44.12, 314.82)
oklch(75%, 0.1162, 312.35)
hwb(277.6, 59.6%, 11%)
Harmony colors
Accessibility
Black text reads better on this background (9.03:1). That passes WCAG AAA (≥7:1) for normal-size text.
Under color vision deficiencies
Protanopia
#b5b4d4 · ΔE 13.2
Deuteranopia
#b7bbd0 · ΔE 16.5
Tritanopia
#c5c7c4 · ΔE 27.9
Achromatopsia
#aaaaaa · ΔE 23.4
Left half is the original, right half is the simulated appearance. See all 8 vision types →
Code
background-color: #c798e3;
bg-[#c798e3]
Related colors
Frequently asked questions
#c798e3 (#c798e3) is rgb(199, 152, 227) in RGB.
No, #c798e3 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 #c798e3, or check how it holds up for accessibility.