HSL(301, 40%, 67%)
Purple — Purple color
Adjust Color
Color Information
Color Name
Purple
Color Family
Purple
Warm / Cool
🔴 Warm
Temperature
6500K
CSS Class
bg-[hsl(301,40%,67%)]
Color Conversions
| Format | Value | CSS Usage | |
|---|---|---|---|
| HSL | hsl(301, 40%, 67%) | color: hsl(301, 40%, 67%) | |
| HEX | #CD89CB | color: #CD89CB | |
| RGB | rgb(205, 137, 203) | color: rgb(205, 137, 203) | |
| CMYK | cmyk(0%, 33%, 1%, 20%) | — | |
| HSV | hsv(302, 33%, 80%) | — | |
| HWB | hwb(302 54% 20%) | color: hwb(302 54% 20%) | |
| OKLCH | oklch(0.7205 0.1198 327.74) | color: oklch(0.7205 0.1198 327.74) | |
| Lab | lab(65.89 36.43 -23.6) | color: lab(65.89 36.43 -23.6) | |
| LCH | lch(65.89 43.41 327.06) | color: lch(65.89 43.41 327.06) |
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)
#B0AFBB — rgb(176, 175, 187)
Deuteranopia (Green-blind)
#B4B9B7 — rgb(180, 185, 183)
Tritanopia (Blue-blind)
#CAAEAC — rgb(202, 174, 172)
Tints & Shades
CSS Code Snippets
background
background-color: hsl(301, 40%, 67%);
text
color: hsl(301, 40%, 67%);
border
border: 2px solid hsl(301, 40%, 67%);
gradient light
background: linear-gradient(to right, hsl(301, 40%, 87%), hsl(301, 40%, 67%));
gradient dark
background: linear-gradient(to right, hsl(301, 40%, 67%), hsl(301, 40%, 47%))
hex
background-color: #CD89CB;
tailwind
bg-[hsl(301,40%,67%)]
box shadow
box-shadow: 0 4px 6px -1px hsl(301, 40%, 67%, 0.4);
css variable
--color-primary: hsl(301, 40%, 67%);
Related Colors
Use Cases for Purple
Frequently Asked Questions
What are all the color codes for HSL(301, 40%, 67%)?
HEX: #CD89CB | RGB: rgb(205, 137, 203) | CMYK: 0%, 33%, 1%, 20% | HSV: 302°, 33%, 80%. Copy any format from the conversion table above.
What colors go well with #CD89CB?
The complementary color is HSL(121, 40%, 67%). For a triadic harmony, use hues 301°, 61°, and 181°. For analogous combinations, try hues 271° and 331°. See the Color Harmony section above for complete palettes with previews.
How do I use HSL(301, 40%, 67%) in CSS?
As HSL: color: hsl(301, 40%, 67%); — As HEX: color: #CD89CB; — As RGB: color: rgb(205, 137, 203); — Tailwind CSS: bg-[hsl(301,40%,67%)] — CSS variable: --color-primary: hsl(301, 40%, 67%);