#C798CA color

#C798CA rgb(199, 152, 202)
Shades of purple

The hex color #C798CA is a light, desaturated magenta.

In the RGB color model it is made of 78% red, 59.6% green and 79.2% blue (199, 152, 202).

Its hue angle is 296°, with 32% saturation and 69% lightness. For print, the CMYK equivalent is 1% cyan, 25% magenta, 0% yellow and 21% black.

The closest named color is Pastel Violet (#CB99C9), a difference of 1.1 ΔE, which is barely visible.

Black text is the more readable choice on this background (contrast 8.77:1).

#C798CA color codes

HEX#C798CA
RGBrgb(199, 152, 202)
RGB percentrgb(78%, 59.6%, 79.2%)
HSLhsl(296, 32%, 69%)
HSV / HSBhsv(296, 25%, 79%)
CMYKcmyk(1%, 25%, 0%, 21%)
CIE LABlab(68.65, 26.08, -18.9)
CIE LCHlch(68.65, 32.21, 324.08)
CIE XYZxyz(45.441, 38.864, 60.973)
Decimal13080778
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #C798CA, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #C798CARatioAAAAAAA large
Sample text8.77:1PassPassPass
Sample text2.39:1FailFailFail
#C798CA as text onRatioAAAAAAA large
Sample text2.39:1FailFailFail
Sample text8.77:1PassPassPass

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #C798CA looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #c798ca; }
.text { color: #c798ca; }
.border { border: 2px solid #c798ca; }
.transparent { background-color: rgb(199 152 202 / 50%); }
.gradient { background: linear-gradient(to right, #c798ca, #ca98b4); }
Background
Text color
Border

Similar colors

Questions

What color is #C798CA?
#C798CA is a light, desaturated magenta, closest to the named color Pastel Violet. It belongs to the purple family of colors.
What is the RGB value of #C798CA?
The RGB value is 199, 152, 202: 199 red, 152 green and 202 blue on a 0 to 255 scale.
What is the complementary color of #C798CA?
The complementary color is #9BCA98, found by rotating the hue 180° on the color wheel.
Is black or white text better on #C798CA?
Black text. Black text has a contrast ratio of 8.77:1 and white text 2.39:1. WCAG asks for at least 4.5:1 for normal text.