Purple color · XKCD survey name

Baby Purple Color Code: #CA9BF7

Baby Purple (#CA9BF7) is a light, vivid violet shade: RGB 202, 155, 247, HSL 271°, 85%, 79%. Black text reads best on it (9.54:1 contrast).

Baby Purple color values

HEX #CA9BF7
RGB rgb(202, 155, 247)
HSL hsl(271, 85%, 79%)
HSV 271, 37%, 97%
HWB hwb(271 61% 3%)
CMYK 18%, 37%, 0%, 3%
Decimal 13278199
79%HSL lightness (light)
85%HSL saturation (vivid)
271°Hue angle (violet)
0.427Relative luminance

CMYK is a standard screen-to-print conversion. Printed results depend on inks, paper and color profiles.

What is Baby Purple?

“Baby Purple” is a crowd-sourced name from the XKCD Color Survey, in which participants typed names for colors they were shown. It is a popular everyday label rather than an official standard.

Its hue angle of 271° places it in the violet part of the color wheel, with 85% saturation (vivid) and 79% lightness (light). It sits between warm and cool.

Compared with the other purple colors in the Aqeeb Studio library, it is lighter than 85% of them and more saturated than 47% of them.

Its relative luminance is 0.427, which makes it a light color. That is above the 0.179 crossover point at which black and white text have equal contrast, so black text has the advantage.

Baby Purple counts as a light color: its HSL lightness is 79% and its relative luminance is 0.427. Black text reads best on it (9.54:1 contrast).

Text contrast on Baby Purple

WCAG contrast of white and black text on Baby Purple
TextPreviewRatioAA normalAA largeAAA normalAAA large
White text Sample text 2.20:1 Poor Fail Fail Fail Fail
Black text Sample text 9.54:1 Excellent Pass Pass Pass Pass

Ratios use the WCAG 2 formula and are truncated, never rounded up. Test any pair with the contrast checker.

Colors that go with Baby Purple

Complementary color

Complementary colors sit directly opposite each other on the color wheel (180° apart). They give the strongest hue contrast, which suits calls to action and accents.

Analogous colors

Analogous colors are neighbors on the wheel, 30° either side of the base hue. They blend smoothly and are easy to combine in backgrounds, gradients and illustrations.

Triadic colors

A triadic scheme uses three hues spaced 120° apart. It is lively yet balanced, and works best when one color leads and the other two act as accents.

Split-complementary colors

Split-complementary keeps the base color and uses the two colors on either side of its complement (150° and 210°). The contrast is strong but gentler than a direct complement.

Tetradic colors

A tetradic (rectangle) scheme combines two complementary pairs at 0°, 60°, 180° and 240°. It offers variety but needs one dominant color to stay balanced.

Monochromatic variants

Monochromatic variants keep the same hue and saturation and only change lightness, which makes them dependable for UI scales and subtle layered designs.

#680FBD#680FBD
#8C26EE#8C26EE
#AF68F3#AF68F3
#D2AAF8#D2AAF8
#F5ECFD#F5ECFD

A “≈” before a name means the exact harmony color has no named match, so the link goes to the closest named color.

Tints and shades of Baby Purple

Lighter tints (mixed with white)

Darker shades (mixed with black)

Select any swatch to copy its HEX code. Build longer scales with the tints and shades tool.

Where to use Baby Purple

  • Card, highlight and section backgrounds with dark text (9.54:1 contrast with black)
  • Creative and entertainment branding
  • Premium-feeling accents and gradients
  • Illustrations and hero sections
  • Tags, badges and highlights

Use Baby Purple in CSS

:root {
  --color-baby-purple: #CA9BF7;
}

.element {
  color: var(--color-baby-purple);
  background-color: #CA9BF7;
  border: 2px solid #CA9BF7;
}

Questions about Baby Purple

What is the HEX code for Baby Purple?

Baby Purple is #CA9BF7.

What is the RGB value of Baby Purple?

The RGB value of Baby Purple is 202, 155, 247: 202 red, 155 green and 247 blue on a 0–255 scale, written rgb(202, 155, 247) in CSS.

What is the HSL value of Baby Purple?

The HSL value of Baby Purple is 271°, 85%, 79% (hue, saturation, lightness), written hsl(271, 85%, 79%) in CSS.

What is the CMYK value of Baby Purple?

A standard conversion gives about C 18%, M 37%, Y 0%, K 3%. Real print results depend on the inks, paper and color profile, so treat CMYK here as a reference value.

Is Baby Purple a light or dark color?

Baby Purple counts as a light color: its HSL lightness is 79% and its relative luminance is 0.427. Black text reads best on it (9.54:1 contrast).

How does Baby Purple look with white text?

White text on Baby Purple has a contrast ratio of 2.20:1, rated Poor. It falls below the WCAG minimum for text.

How does Baby Purple look with black text?

Black text on Baby Purple has a contrast ratio of 9.54:1, rated Excellent. It meets WCAG AA for normal text.

What colors go well with Baby Purple?

Tea Green is its complementary color, and Periwinkle Blue sits beside it as an analogous color. Lighter and darker variants of the same hue also work well for monochromatic palettes.

Where can Baby Purple be used?

It suits card, highlight and section backgrounds with dark text (9.54:1 contrast with black); creative and entertainment branding; premium-feeling accents and gradients.

How do I use Baby Purple in CSS?

Use color: #CA9BF7; for text, background-color: #CA9BF7; for fills, or define a custom property such as --color-baby-purple: #CA9BF7; and reuse it with var(--color-baby-purple).

About this color page

Crowd-sourced name from the XKCD Color Survey (CC0). Values are calculated from the HEX code; color names are labels, not trademarks or standards unless stated. Screens render colors differently, so always check important colors on your own device. See the disclaimer.