Skip to content

#C797CE Color

#C797CE is rgb(199, 151, 206) in RGB, hsl(292, 36%, 70%) in HSL, and about cmyk(3%, 27%, 0%, 19%) in CMYK. It has no registered color name of its own — the closest is Light Grayish Magenta (#CC99CC), very hard to tell apart at ΔE 2.77. Black text is the more readable choice on this background.

#C797CE
HEX#C797CE
RGBrgb(199, 151, 206)
HSLhsl(292, 36%, 70%)
HSVhsv(292, 27%, 81%)
CMYKcmyk(3%, 27%, 0%, 19%)
OKLCHoklch(74% 0.094 322.1)
LABlab(68.49% 25.54 -21.15)
LCHlch(68.49% 33.16 320.37)

What #C797CE Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #C797CE, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every pink in the library.

#C797CE Channel Values

How #C797CE breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 199 · G 151 · B 2068-bit channels as sent to the display
HSLH 292° · S 36% · L 70%Easiest model for building lighter and darker variants
HSVH 292° · S 27% · V 81%Matches the picker in most design tools
CMYKC 3% · M 27% · Y 0% · K 19%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.4:1 vs white · 8.75:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #C797CE background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text2.4:1AA normal AA large AAA normal
TextBlack text8.75:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #C797CE in the contrast checker.

Colors That Go With #C797CE

Pairings derived from color-wheel relationships. The complementary color sits opposite #C797CE; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #C797CE

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #C797CE.

How #C797CE Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#C797CE
Protanopia#A1A1CE
Protanomaly#B19DCE
Deuteranopia#A9A9CD
Deuteranomaly#B6A2CD
Tritanopia#C19F9F
Tritanomaly#C39CB4
Achromatopsia#A7A7A7

Test a full palette in the color blindness simulator.

Using #C797CE in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-c797ce: #C797CE;
CSS backgroundbackground-color: #C797CE;
Tailwind configcolors: { 'color-c797ce': '#C797CE' }
SwiftUIColor(red: 0.780, green: 0.592, blue: 0.808)
Android XML<color name="color_c797ce">#C797CE</color>
SVG fillfill="#C797CE"

More Pink Colors

#C797CE sits in the pink family. These are its neighbours across that family's full range, each with its own breakdown.

#C797CE Frequently Asked Questions

What color is #C797CE?

#C797CE is a light pink — rgb(199, 151, 206) in RGB and hsl(292, 36%, 70%) in HSL. It carries no registered color name of its own; the closest named color is Light Grayish Magenta (#CC99CC), which is very hard to tell apart at a CIE76 distance of 2.77.

What is the RGB value of #C797CE?

#C797CE is rgb(199, 151, 206) — red 199, green 151, and blue 206 on the 0-255 scale.

What is the CMYK value of #C797CE?

#C797CE converts to approximately cmyk(3%, 27%, 0%, 19%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #C797CE be black or white?

Black text is the more readable choice. #C797CE scores 2.4:1 against white and 8.75:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #C797CE as a CSS color keyword?

No. #C797CE is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is plum (#DDA0DD) at a CIE76 distance of 7.07, which is clearly related but distinguishable side by side.

Open #C797CE in a Tool

Keep exploring: every pink in the color library, the guide to shades of pink, or the full color library.