HSL(303, 22%, 76%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(303,22%,76%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(303, 22%, 76%) | color: hsl(303, 22%, 76%) | |
| HEX | #CFB4CE | color: #CFB4CE | |
| RGB | rgb(207, 180, 206) | color: rgb(207, 180, 206) | |
| CMYK | cmyk(0%, 13%, 0%, 19%) | — | |
| HSV | hsv(302, 13%, 81%) | — | |
| HWB | hwb(302 70% 19%) | color: hwb(302 70% 19%) | |
| OKLCH | oklch(0.8011 0.0468 327.15) | color: oklch(0.8011 0.0468 327.15) | |
| Lab | lab(76.29 14.23 -9.54) | color: lab(76.29 14.23 -9.54) | |
| LCH | lch(76.29 17.13 326.16) | color: lch(76.29 17.13 326.16) |
Color Theory
Accessibility (WCAG)
White text on color
Black text on color
Colored text
Contrast Ratios
AA Normal (4.5:1)
AA Large (3:1)
AAA Normal (7:1)
Best text on this color: black
Color Blindness Simulation
Protanopia (Red-blind)
#C3C3C8 — rgb(195, 195, 200)
Deuteranopia (Green-blind)
#C5C7C6 — rgb(197, 199, 198)
Tritanopia (Blue-blind)
#CEC3C2 — rgb(206, 195, 194)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(303, 22%, 76%);
text
color: hsl(303, 22%, 76%);
border
border: 2px solid hsl(303, 22%, 76%);
gradient light
background: linear-gradient(to right, hsl(303, 22%, 96%), hsl(303, 22%, 76%));
gradient dark
background: linear-gradient(to right, hsl(303, 22%, 76%), hsl(303, 22%, 56%))
hex
background-color: #CFB4CE;
tailwind
bg-[hsl(303,22%,76%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(303, 22%, 76%, 0.4);
css variable
--color-primary: hsl(303, 22%, 76%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(303, 22%, 76%)?
HEX: #CFB4CE | RGB: rgb(207, 180, 206) | CMYK: 0%, 13%, 0%, 19% | HSV: 302°, 13%, 81%. Copy any format from the conversion table above.
What colors go well with #CFB4CE?
The complementary color is HSL(123, 22%, 76%). For a triadic harmony, use hues 303°, 63°, and 183°. For analogous combinations, try hues 273° and 333°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(303, 22%, 76%) in CSS?
As HSL: color: hsl(303, 22%, 76%); — As HEX: color: #CFB4CE; — As RGB: color: rgb(207, 180, 206); — Tailwind CSS: bg-[hsl(303,22%,76%)] — CSS variable: --color-primary: hsl(303, 22%, 76%);