HSL(312, 17%, 68%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(312,17%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(312, 17%, 68%) | color: hsl(312, 17%, 68%) | |
| HEX | #BBA0B6 | color: #BBA0B6 | |
| RGB | rgb(187, 160, 182) | color: rgb(187, 160, 182) | |
| CMYK | cmyk(0%, 14%, 3%, 27%) | — | |
| HSV | hsv(311, 14%, 73%) | — | |
| HWB | hwb(311 63% 27%) | color: hwb(311 63% 27%) | |
| OKLCH | oklch(0.7364 0.0437 332.29) | color: oklch(0.7364 0.0437 332.29) | |
| Lab | lab(68.81 13.77 -7.66) | color: lab(68.81 13.77 -7.66) | |
| LCH | lch(68.81 15.76 330.91) | color: lch(68.81 15.76 330.91) |
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)
#AFAFB1 — rgb(175, 175, 177)
Deuteranopia (Green-blind)
#B1B3AF — rgb(177, 179, 175)
Tritanopia (Blue-blind)
#BAACAC — rgb(186, 172, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(312, 17%, 68%);
text
color: hsl(312, 17%, 68%);
border
border: 2px solid hsl(312, 17%, 68%);
gradient light
background: linear-gradient(to right, hsl(312, 17%, 88%), hsl(312, 17%, 68%));
gradient dark
background: linear-gradient(to right, hsl(312, 17%, 68%), hsl(312, 17%, 48%))
hex
background-color: #BBA0B6;
tailwind
bg-[hsl(312,17%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(312, 17%, 68%, 0.4);
css variable
--color-primary: hsl(312, 17%, 68%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(312, 17%, 68%)?
HEX: #BBA0B6 | RGB: rgb(187, 160, 182) | CMYK: 0%, 14%, 3%, 27% | HSV: 311°, 14%, 73%. Copy any format from the conversion table above.
What colors go well with #BBA0B6?
The complementary color is HSL(132, 17%, 68%). 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, 17%, 68%) in CSS?
As HSL: color: hsl(312, 17%, 68%); — As HEX: color: #BBA0B6; — As RGB: color: rgb(187, 160, 182); — Tailwind CSS: bg-[hsl(312,17%,68%)] — CSS variable: --color-primary: hsl(312, 17%, 68%);