HSL(312, 20%, 67%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(312,20%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 20%, 67%) | color: hsl(312, 20%, 67%) | |
| HEX | #BC9AB5 | color: #BC9AB5 | |
| RGB | rgb(188, 154, 181) | color: rgb(188, 154, 181) | |
| CMYK | cmyk(0%, 18%, 4%, 26%) | — | |
| HSV | hsv(312, 18%, 74%) | — | |
| HWB | hwb(312 61% 26%) | color: hwb(312 61% 26%) | |
| OKLCH | oklch(0.7254 0.0546 333.31) | color: oklch(0.7254 0.0546 333.31) | |
| Lab | lab(67.38 17.26 -9.23) | color: lab(67.38 17.26 -9.23) | |
| LCH | lch(67.38 19.57 331.86) | color: lch(67.38 19.57 331.86) |
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)
#ADADAE — rgb(173, 173, 174)
Deuteranopia (Green-blind)
#AFB2AD — rgb(175, 178, 173)
Tritanopia (Blue-blind)
#BAA9A8 — rgb(186, 169, 168)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 20%, 67%);
text
color: hsl(312, 20%, 67%);
border
border: 2px solid hsl(312, 20%, 67%);
gradient light
background: linear-gradient(to right, hsl(312, 20%, 87%), hsl(312, 20%, 67%));
gradient dark
background: linear-gradient(to right, hsl(312, 20%, 67%), hsl(312, 20%, 47%))
hex
background-color: #BC9AB5;
tailwind
bg-[hsl(312,20%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 20%, 67%, 0.4);
css variable
--color-primary: hsl(312, 20%, 67%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 20%, 67%)?
HEX: #BC9AB5 | RGB: rgb(188, 154, 181) | CMYK: 0%, 18%, 4%, 26% | HSV: 312°, 18%, 74%. Copy any format from the conversion table above.
What colors go well with #BC9AB5?
The complementary color is HSL(132, 20%, 67%). For a triadic harmony, use hues 312°, 72°, and 192°. For analogous combinations, try hues 282° and 342°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(312, 20%, 67%) in CSS?
As HSL: color: hsl(312, 20%, 67%); — As HEX: color: #BC9AB5; — As RGB: color: rgb(188, 154, 181); — Tailwind CSS: bg-[hsl(312,20%,67%)] — CSS variable: --color-primary: hsl(312, 20%, 67%);