#D171BE
Closest named color: Pale Magenta (#D767AD). oklch(68.2% 0.153 335), rgb(209, 113, 190).
Aa
Black text reads best on this color (6.81:1).
About this color
#D171BE is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.153 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.029 away. Black text reads best on it, at 6.81:1.
| Hue family | Purples |
| Lightness | medium-light (68%) |
| Chroma | vivid (0.153) |
| Temperature | in between |
| Nearest name | Pale Magenta (#D767AD) |
| Black text | 6.81:1 |
| White text | 3.08:1 |
Values
| HEX | #D171BE |
| RGB | rgb(209, 113, 190) |
| HSL | hsl(312, 51%, 63%) |
| OKLCH | oklch(68.2% 0.153 335) |
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 #D171BE | 3.08:1 | AA large text | Lc -62.7 | Content text, not long reading |
| Black text on #D171BE | 6.81:1 | AA | Lc 46.7 | Large or bold text, headings |
| #D171BE text on white | 3.08:1 | AA large text | Lc 57.4 | Large or bold text, headings |
| #D171BE text on black | 6.81: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
#F0CDE7
oklch(88.6% 0.052 335.1)
-
Step 300
300
#E8A9D9
oklch(80.9% 0.096 335.3)
-
Step 400
400 (this color)
#D171BE
oklch(68.2% 0.153 335)
-
Step 500
500
#CD51B7
oklch(63.2% 0.195 335.2)
-
Step 600
600
#B82DA3
oklch(55.6% 0.212 335.1)
-
Step 700
700
#9E1D8C
oklch(49.1% 0.198 334.9)
-
Step 800
800
#801C71
oklch(42.6% 0.163 335)
-
Step 900
900
#681F5C
oklch(37.8% 0.128 335)
-
Step 950
950
#3D1436
oklch(27.1% 0.081 334.7)
#D171BE 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) | #718AC1 | 0.155 |
| Deuteranopia (no green cones) | #8B98BB | 0.140 |
| Tritanopia (no blue cones) | #D9768F | 0.076 |
| Achromatopsia (no color) | #939393 | 0.154 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D171BE
#D171BE
oklch(68.2% 0.153 335)
- #2FB46E
#2FB46E
oklch(68.3% 0.153 155.1)
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 #D171BE, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Magenta #D767AD ΔE 0.029
- Orchid #DA70D6 ΔE 0.039
- Lavender Pink #DD85D7 ΔE 0.057
- Pale Violet Red #DB7093 ΔE 0.066
- Wisteria #A87DC2 ΔE 0.071
- Muted Pink #D1768F ΔE 0.075
- Soft Purple #A66FB5 ΔE 0.077
- Pinky Purple #C94CBE ΔE 0.079
Use #D171BE 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.