#D171BF
Closest named color: Pale Magenta (#D767AD). oklch(68.2% 0.154 334.5), rgb(209, 113, 191).
Aa
Black text reads best on this color (6.82:1).
About this color
#D171BF is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.154 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Magenta (#D767AD), ΔE 0.031 away. Black text reads best on it, at 6.82:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.154) |
| Temperature | in between |
| Nearest name | Pale Magenta (#D767AD) |
| Black text | 6.82:1 |
| White text | 3.07:1 |
Values
| HEX | #D171BF |
| RGB | rgb(209, 113, 191) |
| HSL | hsl(311, 51%, 63%) |
| OKLCH | oklch(68.2% 0.154 334.5) |
Contrast
WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #D171BF | 3.07:1 | AA large text | Lc -62.7 | Content text, not long reading |
| Black text on #D171BF | 6.82:1 | AA | Lc 46.7 | Large or bold text, headings |
| #D171BF text on white | 3.07:1 | AA large text | Lc 57.3 | Large or bold text, headings |
| #D171BF text on black | 6.82:1 | AA | Lc -44.4 | Non-text elements, placeholder text |
Tints and shades
A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.
-
Step 50
50
#FBF2F9
oklch(97% 0.013 333)
-
Step 100
100
#F6E3F1
oklch(93.5% 0.028 334.9)
-
Step 200
200
#F0CDE8
oklch(88.6% 0.053 334)
-
Step 300
300
#E8A9DA
oklch(80.9% 0.097 334.6)
-
Step 400
400 (this color)
#D171BF
oklch(68.2% 0.154 334.5)
-
Step 500
500
#CD50B8
oklch(63.1% 0.197 334.8)
-
Step 600
600
#B82DA4
oklch(55.7% 0.213 334.7)
-
Step 700
700
#9E1D8D
oklch(49.2% 0.199 334.5)
-
Step 800
800
#801C72
oklch(42.7% 0.164 334.5)
-
Step 900
900
#681F5C
oklch(37.8% 0.128 335)
-
Step 950
950
#3D1436
oklch(27.1% 0.081 334.7)
#D171BF with color blindness
Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #718AC2 | 0.155 |
| Deuteranopia (no green cones) | #8B98BC | 0.140 |
| Tritanopia (no blue cones) | #D9768F | 0.078 |
| Achromatopsia (no color) | #939393 | 0.155 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D171BF
#D171BF
oklch(68.2% 0.154 334.5)
- #30B46D
#30B46D
oklch(68.3% 0.153 154.6)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
Palettes with this color
Curated palettes that contain a color within ΔE 0.04 (OKLab) of #D171BF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Magenta #D767AD ΔE 0.031
- Orchid #DA70D6 ΔE 0.038
- Lavender Pink #DD85D7 ΔE 0.056
- Pale Violet Red #DB7093 ΔE 0.068
- Wisteria #A87DC2 ΔE 0.071
- Muted Pink #D1768F ΔE 0.076
- Soft Purple #A66FB5 ΔE 0.077
- Purply Pink #F075E6 ΔE 0.078
Use #D171BF in your product
Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.