HSL(299, 63%, 68%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔵 Cool
Temperature
6500K
CSS Class
bg-[hsl(299,63%,68%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(299, 63%, 68%) | color: hsl(299, 63%, 68%) | |
| HEX | #DF7AE1 | color: #DF7AE1 | |
| RGB | rgb(223, 122, 225) | color: rgb(223, 122, 225) | |
| CMYK | cmyk(1%, 46%, 0%, 12%) | — | |
| HSV | hsv(299, 46%, 88%) | — | |
| HWB | hwb(299 48% 12%) | color: hwb(299 48% 12%) | |
| OKLCH | oklch(0.7271 0.1781 326.5) | color: oklch(0.7271 0.1781 326.5) | |
| Lab | lab(65.78 53.73 -35.86) | color: lab(65.78 53.73 -35.86) | |
| LCH | lch(65.78 64.6 326.28) | color: lch(65.78 64.6 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)
#B3B2C8 — rgb(179, 178, 200)
Deuteranopia (Green-blind)
#B9C1C2 — rgb(185, 193, 194)
Tritanopia (Blue-blind)
#DAB4B0 — rgb(218, 180, 176)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(299, 63%, 68%);
text
color: hsl(299, 63%, 68%);
border
border: 2px solid hsl(299, 63%, 68%);
gradient light
background: linear-gradient(to right, hsl(299, 63%, 88%), hsl(299, 63%, 68%));
gradient dark
background: linear-gradient(to right, hsl(299, 63%, 68%), hsl(299, 63%, 48%))
hex
background-color: #DF7AE1;
tailwind
bg-[hsl(299,63%,68%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(299, 63%, 68%, 0.4);
css variable
--color-primary: hsl(299, 63%, 68%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(299, 63%, 68%)?
HEX: #DF7AE1 | RGB: rgb(223, 122, 225) | CMYK: 1%, 46%, 0%, 12% | HSV: 299°, 46%, 88%. Copy any format from the conversion table above.
What colors go well with #DF7AE1?
The complementary color is HSL(119, 63%, 68%). For a triadic harmony, use hues 299°, 59°, and 179°. For analogous combinations, try hues 269° and 329°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(299, 63%, 68%) in CSS?
As HSL: color: hsl(299, 63%, 68%); — As HEX: color: #DF7AE1; — As RGB: color: rgb(223, 122, 225); — Tailwind CSS: bg-[hsl(299,63%,68%)] — CSS variable: --color-primary: hsl(299, 63%, 68%);