#D173EC
Closest named color: Light Purple (#BF77F6). oklch(70.6% 0.192 318.3), rgb(209, 115, 236).
Aa
Black text reads best on this color (7.37:1).
About this color
#D173EC is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.192 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.034 away. Black text reads best on it, at 7.37:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.192) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 7.37:1 |
| White text | 2.84:1 |
Values
| HEX | #D173EC |
| RGB | rgb(209, 115, 236) |
| HSL | hsl(287, 76%, 69%) |
| OKLCH | oklch(70.6% 0.192 318.3) |
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 #D173EC | 2.84:1 | Fails | Lc -59.4 | Large or bold text, headings |
| Black text on #D173EC | 7.37:1 | AAA | Lc 49.9 | Large or bold text, headings |
| #D173EC text on white | 2.84:1 | Fails | Lc 54.2 | Large or bold text, headings |
| #D173EC text on black | 7.37: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
#F4E3F9
oklch(93.6% 0.034 318.5)
-
Step 200
200
#ECCCF6
oklch(88.5% 0.066 318.1)
-
Step 300
300
#E1A7F3
oklch(80.8% 0.121 318)
-
Step 400
400 (this color)
#D173EC
oklch(70.6% 0.192 318.3)
-
Step 500
500
#C444E6
oklch(63.1% 0.245 318.3)
-
Step 600
600
#AF05D4
oklch(55.5% 0.267 318.1)
-
Step 700
700
#9500B4
oklch(49.2% 0.238 318.4)
-
Step 800
800
#7A0294
oklch(42.6% 0.205 318.3)
-
Step 900
900
#631576
oklch(37.7% 0.16 318.6)
-
Step 950
950
#3A1045
oklch(27% 0.101 318.5)
#D173EC 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) | #5B93F0 | 0.175 |
| Deuteranopia (no green cones) | #799CE9 | 0.155 |
| Tritanopia (no blue cones) | #D185A5 | 0.124 |
| Achromatopsia (no color) | #999999 | 0.194 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D173EC
#D173EC
oklch(70.6% 0.192 318.3)
- #5BBB33
#5BBB33
oklch(70.7% 0.193 138.2)
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 #D173EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.034
- Orchid #DA70D6 ΔE 0.036
- Easter Purple #C071FE ΔE 0.042
- Bright Lilac #C95EFB ΔE 0.054
- Bright Lavender #C760FF ΔE 0.056
- Purply Pink #F075E6 ΔE 0.057
- Light Urple #B36FF6 ΔE 0.057
- Liliac #C48EFD ΔE 0.061
Use #D173EC 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.