#D171F3
Closest named color: Light Purple (#BF77F6). oklch(70.7% 0.202 316.5), rgb(209, 113, 243).
Aa
Black text reads best on this color (7.36:1).
About this color
#D171F3 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.202 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.032 away. Black text reads best on it, at 7.36:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.202) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.36:1 |
| White text | 2.85:1 |
Values
| HEX | #D171F3 |
| RGB | rgb(209, 113, 243) |
| HSL | hsl(284, 84%, 70%) |
| OKLCH | oklch(70.7% 0.202 316.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 #D171F3 | 2.85:1 | Fails | Lc -59.4 | Large or bold text, headings |
| Black text on #D171F3 | 7.36:1 | AAA | Lc 49.9 | Large or bold text, headings |
| #D171F3 text on white | 2.85:1 | Fails | Lc 54.2 | Large or bold text, headings |
| #D171F3 text on black | 7.36:1 | AAA | Lc -47.7 | 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
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F4E3FB
oklch(93.6% 0.037 316.2)
-
Step 200
200
#ECCBF9
oklch(88.4% 0.071 316.4)
-
Step 300
300
#E1A7F7
oklch(81% 0.126 316.5)
-
Step 400
400 (this color)
#D171F3
oklch(70.7% 0.202 316.5)
-
Step 500
500
#C43EEE
oklch(63.1% 0.259 316.6)
-
Step 600
600
#AE00D9
oklch(55.7% 0.272 316.6)
-
Step 700
700
#9300B8
oklch(49.2% 0.24 316.6)
-
Step 800
800
#790098
oklch(42.7% 0.209 316.6)
-
Step 900
900
#63117B
oklch(37.8% 0.168 316.7)
-
Step 950
950
#3A0E48
oklch(27% 0.107 316.6)
#D171F3 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) | #5393F7 | 0.183 |
| Deuteranopia (no green cones) | #739CF0 | 0.162 |
| Tritanopia (no blue cones) | #D085A8 | 0.131 |
| Achromatopsia (no color) | #999999 | 0.204 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D171F3
#D171F3
oklch(70.7% 0.202 316.5)
- #5DBB1D
#5DBB1D
oklch(70.7% 0.202 136.5)
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 #D171F3, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.032
- Easter Purple #C071FE ΔE 0.034
- Bright Lilac #C95EFB ΔE 0.045
- Bright Lavender #C760FF ΔE 0.046
- Orchid #DA70D6 ΔE 0.046
- Light Urple #B36FF6 ΔE 0.053
- Heliotrope #D94FF5 ΔE 0.061
- Purply Pink #F075E6 ΔE 0.061
Use #D171F3 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.