#D17AF2
Closest named color: Light Purple (#BF77F6). oklch(71.9% 0.187 316), rgb(209, 122, 242).
Aa
Black text reads best on this color (7.77:1).
About this color
#D17AF2 is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.187 and its hue 316°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.033 away. Black text reads best on it, at 7.77:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.187) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.77:1 |
| White text | 2.70:1 |
Values
| HEX | #D17AF2 |
| RGB | rgb(209, 122, 242) |
| HSL | hsl(284, 82%, 71%) |
| OKLCH | oklch(71.9% 0.187 316) |
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 #D17AF2 | 2.70:1 | Fails | Lc -57.2 | Large or bold text, headings |
| Black text on #D17AF2 | 7.77:1 | AAA | Lc 52.0 | Large or bold text, headings |
| #D17AF2 text on white | 2.70:1 | Fails | Lc 52.0 | Large or bold text, headings |
| #D17AF2 text on black | 7.77:1 | AAA | Lc -49.9 | 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
#F3E3FA
oklch(93.5% 0.035 315.7)
-
Step 200
200
#EACDF7
oklch(88.6% 0.065 315.4)
-
Step 300
300
#DEA9F4
oklch(80.9% 0.117 315.8)
-
Step 400
400 (this color)
#D17AF2
oklch(71.9% 0.187 316)
-
Step 500
500
#BF49E8
oklch(63.1% 0.24 316)
-
Step 600
600
#AB18D6
oklch(55.6% 0.261 316.1)
-
Step 700
700
#9200B9
oklch(49.1% 0.241 315.9)
-
Step 800
800
#770D96
oklch(42.7% 0.2 316.1)
-
Step 900
900
#601977
oklch(37.6% 0.156 316.2)
-
Step 950
950
#381146
oklch(26.9% 0.099 315.8)
#D17AF2 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) | #6198F6 | 0.165 |
| Deuteranopia (no green cones) | #7BA0EF | 0.147 |
| Tritanopia (no blue cones) | #CF8CAB | 0.124 |
| Achromatopsia (no color) | #9D9D9D | 0.189 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D17AF2
#D17AF2
oklch(71.9% 0.187 316)
- #69BD35
#69BD35
oklch(71.8% 0.187 136)
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 #D17AF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.033
- Easter Purple #C071FE ΔE 0.043
- Orchid #DA70D6 ΔE 0.045
- Liliac #C48EFD ΔE 0.047
- Violet #EE82EE ΔE 0.056
- Purply Pink #F075E6 ΔE 0.056
- Lavender Pink #DD85D7 ΔE 0.057
- Light Urple #B36FF6 ΔE 0.060
Use #D17AF2 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.