HSL(302, 15%, 63%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
N/A
CSS Class
bg-[hsl(302,15%,63%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(302, 15%, 63%) | color: hsl(302, 15%, 63%) | |
| HEX | #AF92AE | color: #AF92AE | |
| RGB | rgb(175, 146, 174) | color: rgb(175, 146, 174) | |
| CMYK | cmyk(0%, 17%, 1%, 31%) | — | |
| HSV | hsv(302, 17%, 69%) | — | |
| HWB | hwb(302 57% 31%) | color: hwb(302 57% 31%) | |
| OKLCH | oklch(0.6952 0.0521 327.2) | color: oklch(0.6952 0.0521 327.2) | |
| Lab | lab(63.94 15.84 -10.57) | color: lab(63.94 15.84 -10.57) | |
| LCH | lch(63.94 19.04 326.28) | color: lch(63.94 19.04 326.28) |
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)
#A2A2A7 — rgb(162, 162, 167)
Deuteranopia (Green-blind)
#A4A6A6 — rgb(164, 166, 166)
Tritanopia (Blue-blind)
#AEA2A1 — rgb(174, 162, 161)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(302, 15%, 63%);
text
color: hsl(302, 15%, 63%);
border
border: 2px solid hsl(302, 15%, 63%);
gradient light
background: linear-gradient(to right, hsl(302, 15%, 83%), hsl(302, 15%, 63%));
gradient dark
background: linear-gradient(to right, hsl(302, 15%, 63%), hsl(302, 15%, 43%))
hex
background-color: #AF92AE;
tailwind
bg-[hsl(302,15%,63%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(302, 15%, 63%, 0.4);
css variable
--color-primary: hsl(302, 15%, 63%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(302, 15%, 63%)?
HEX: #AF92AE | RGB: rgb(175, 146, 174) | CMYK: 0%, 17%, 1%, 31% | HSV: 302°, 17%, 69%. Copy any format from the conversion table above.
What colors go well with #AF92AE?
The complementary color is HSL(122, 15%, 63%). For a triadic harmony, use hues 302°, 62°, and 182°. For analogous combinations, try hues 272° and 332°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(302, 15%, 63%) in CSS?
As HSL: color: hsl(302, 15%, 63%); — As HEX: color: #AF92AE; — As RGB: color: rgb(175, 146, 174); — Tailwind CSS: bg-[hsl(302,15%,63%)] — CSS variable: --color-primary: hsl(302, 15%, 63%);