#D17FC0
Closest named color: Lavender Pink (#DD85D7). oklch(70.4% 0.13 334.9), rgb(209, 127, 192).
Aa
Black text reads best on this color (7.50:1).
About this color
#D17FC0 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.130 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lavender Pink (#DD85D7), ΔE 0.040 away. Black text reads best on it, at 7.50:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.130) |
| Temperature | in between |
| Nearest name | Lavender Pink (#DD85D7) |
| Black text | 7.50:1 |
| White text | 2.79:1 |
Values
| HEX | #D17FC0 |
| RGB | rgb(209, 127, 192) |
| HSL | hsl(312, 47%, 66%) |
| OKLCH | oklch(70.4% 0.13 334.9) |
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 #D17FC0 | 2.79:1 | Fails | Lc -58.9 | Large or bold text, headings |
| Black text on #D17FC0 | 7.50:1 | AAA | Lc 50.4 | Large or bold text, headings |
| #D17FC0 text on white | 2.79:1 | Fails | Lc 53.6 | Large or bold text, headings |
| #D17FC0 text on black | 7.50:1 | AAA | Lc -48.2 | Large or bold text, headings |
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
#FAF3F8
oklch(97.1% 0.01 335.5)
-
Step 100
100
#F4E4F0
oklch(93.5% 0.023 334.3)
-
Step 200
200
#EDCEE5
oklch(88.4% 0.046 335.1)
-
Step 300
300
#E2ADD6
oklch(80.9% 0.082 334.5)
-
Step 400
400 (this color)
#D17FC0
oklch(70.4% 0.13 334.9)
-
Step 500
500
#C45CB1
oklch(63% 0.167 334.8)
-
Step 600
600
#AF3F9D
oklch(55.6% 0.181 334.6)
-
Step 700
700
#963086
oklch(49.1% 0.168 334.7)
-
Step 800
800
#7A296D
oklch(42.7% 0.14 334.7)
-
Step 900
900
#632758
oklch(37.8% 0.108 335.2)
-
Step 950
950
#3A1834
oklch(27.1% 0.068 334.4)
#D17FC0 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) | #7F93C2 | 0.130 |
| Deuteranopia (no green cones) | #949FBE | 0.119 |
| Tritanopia (no blue cones) | #D88397 | 0.066 |
| Achromatopsia (no color) | #9A9A9A | 0.132 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D17FC0
#D17FC0
oklch(70.4% 0.13 334.9)
- #52B77B
#52B77B
oklch(70.3% 0.13 154.9)
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 #D17FC0, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lavender Pink #DD85D7 ΔE 0.040
- Pale Magenta #D767AD ΔE 0.053
- Orchid #DA70D6 ΔE 0.053
- Pale Purple #B790D4 ΔE 0.057
- Dull Pink #D5869D ΔE 0.060
- Pale Violet Red #DB7093 ΔE 0.066
- Muted Pink #D1768F ΔE 0.069
- Wisteria #A87DC2 ΔE 0.070
Use #D17FC0 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.