HSL(308, 23%, 72%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(308,23%,72%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(308, 23%, 72%) | color: hsl(308, 23%, 72%) | |
| HEX | #C8A7C4 | color: #C8A7C4 | |
| RGB | rgb(200, 167, 196) | color: rgb(200, 167, 196) | |
| CMYK | cmyk(0%, 17%, 2%, 22%) | — | |
| HSV | hsv(307, 17%, 78%) | — | |
| HWB | hwb(307 65% 22%) | color: hwb(307 65% 22%) | |
| OKLCH | oklch(0.7666 0.055 330.1) | color: oklch(0.7666 0.055 330.1) | |
| Lab | lab(72.16 17.05 -10.29) | color: lab(72.16 17.05 -10.29) | |
| LCH | lch(72.16 19.91 328.89) | color: lch(72.16 19.91 328.89) |
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)
#BAB9BD — rgb(186, 185, 189)
Deuteranopia (Green-blind)
#BCBEBB — rgb(188, 190, 187)
Tritanopia (Blue-blind)
#C6B7B6 — rgb(198, 183, 182)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(308, 23%, 72%);
text
color: hsl(308, 23%, 72%);
border
border: 2px solid hsl(308, 23%, 72%);
gradient light
background: linear-gradient(to right, hsl(308, 23%, 92%), hsl(308, 23%, 72%));
gradient dark
background: linear-gradient(to right, hsl(308, 23%, 72%), hsl(308, 23%, 52%))
hex
background-color: #C8A7C4;
tailwind
bg-[hsl(308,23%,72%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(308, 23%, 72%, 0.4);
css variable
--color-primary: hsl(308, 23%, 72%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(308, 23%, 72%)?
HEX: #C8A7C4 | RGB: rgb(200, 167, 196) | CMYK: 0%, 17%, 2%, 22% | HSV: 307°, 17%, 78%. Copy any format from the conversion table above.
What colors go well with #C8A7C4?
The complementary color is HSL(128, 23%, 72%). For a triadic harmony, use hues 308°, 68°, and 188°. For analogous combinations, try hues 278° and 338°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(308, 23%, 72%) in CSS?
As HSL: color: hsl(308, 23%, 72%); — As HEX: color: #C8A7C4; — As RGB: color: rgb(200, 167, 196); — Tailwind CSS: bg-[hsl(308,23%,72%)] — CSS variable: --color-primary: hsl(308, 23%, 72%);