#D172EA
Closest named color: Orchid (#DA70D6). oklch(70.4% 0.192 318.9), rgb(209, 114, 234).
Aa
Black text reads best on this color (7.30:1).
About this color
#D172EA is a medium-light, vivid purple. In OKLCH its lightness is 70%, its chroma 0.192 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.034 away. Black text reads best on it, at 7.30:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | vivid (0.192) |
| Temperature | in between |
| Nearest name | Orchid (#DA70D6) |
| Black text | 7.30:1 |
| White text | 2.87:1 |
Values
| HEX | #D172EA |
| RGB | rgb(209, 114, 234) |
| HSL | hsl(288, 74%, 68%) |
| OKLCH | oklch(70.4% 0.192 318.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 #D172EA | 2.87:1 | Fails | Lc -59.8 | Large or bold text, headings |
| Black text on #D172EA | 7.30:1 | AAA | Lc 49.5 | Large or bold text, headings |
| #D172EA text on white | 2.87:1 | Fails | Lc 54.5 | Large or bold text, headings |
| #D172EA text on black | 7.30:1 | AAA | Lc -47.3 | 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
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F4E3F9
oklch(93.6% 0.034 318.5)
-
Step 200
200
#EDCCF6
oklch(88.6% 0.067 318.9)
-
Step 300
300
#E2A7F2
oklch(80.8% 0.121 318.9)
-
Step 400
400 (this color)
#D172EA
oklch(70.4% 0.192 318.9)
-
Step 500
500
#C543E4
oklch(63.1% 0.245 319.2)
-
Step 600
600
#B004D2
oklch(55.5% 0.266 318.9)
-
Step 700
700
#9500B3
oklch(49.1% 0.237 318.7)
-
Step 800
800
#7B0193
oklch(42.7% 0.205 319.1)
-
Step 900
900
#631576
oklch(37.7% 0.16 318.6)
-
Step 950
950
#3A1045
oklch(27% 0.101 318.5)
#D172EA 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) | #5B92EE | 0.176 |
| Deuteranopia (no green cones) | #799CE7 | 0.156 |
| Tritanopia (no blue cones) | #D183A4 | 0.121 |
| Achromatopsia (no color) | #989898 | 0.193 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D172EA
#D172EA
oklch(70.4% 0.192 318.9)
- #58BA35
#58BA35
oklch(70.3% 0.192 138.8)
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 #D172EA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Orchid #DA70D6 ΔE 0.034
- Light Purple #BF77F6 ΔE 0.036
- Easter Purple #C071FE ΔE 0.043
- Bright Lilac #C95EFB ΔE 0.054
- Bright Lavender #C760FF ΔE 0.056
- Purply Pink #F075E6 ΔE 0.057
- Light Urple #B36FF6 ΔE 0.057
- Lavender Pink #DD85D7 ΔE 0.062
Use #D172EA 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.