#D172CB
Closest named color: Orchid (#DA70D6). oklch(68.9% 0.162 329.5), rgb(209, 114, 203).
Aa
Black text reads best on this color (6.98:1).
About this color
#D172CB is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.162 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.023 away. Black text reads best on it, at 6.98:1.
| Hue family | Purples |
| Lightness | medium-light (69%) |
| Chroma | vivid (0.162) |
| Temperature | in between |
| Nearest name | Orchid (#DA70D6) |
| Black text | 6.98:1 |
| White text | 3.00:1 |
Values
| HEX | #D172CB |
| RGB | rgb(209, 114, 203) |
| HSL | hsl(304, 51%, 63%) |
| OKLCH | oklch(68.9% 0.162 329.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 #D172CB | 3.00:1 | AA large text | Lc -61.8 | Content text, not long reading |
| Black text on #D172CB | 6.98:1 | AA | Lc 47.6 | Large or bold text, headings |
| #D172CB text on white | 3.00:1 | AA large text | Lc 56.4 | Large or bold text, headings |
| #D172CB text on black | 6.98:1 | AA | Lc -45.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
#FBF2FA
oklch(97% 0.014 329.1)
-
Step 100
100
#F6E3F4
oklch(93.6% 0.03 329.1)
-
Step 200
200
#EFCCEB
oklch(88.4% 0.057 329.8)
-
Step 300
300
#E6A9E0
oklch(80.9% 0.101 329.8)
-
Step 400
400 (this color)
#D172CB
oklch(68.9% 0.162 329.5)
-
Step 500
500
#CA4EC5
oklch(63.1% 0.208 329.3)
-
Step 600
600
#B528B1
oklch(55.6% 0.226 329.4)
-
Step 700
700
#9C1798
oklch(49.1% 0.21 329.6)
-
Step 800
800
#7E197B
oklch(42.6% 0.173 329.4)
-
Step 900
900
#661D63
oklch(37.6% 0.136 329.6)
-
Step 950
950
#3C133A
oklch(27% 0.086 329.6)
#D172CB 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) | #6D8DCE | 0.159 |
| Deuteranopia (no green cones) | #8799C8 | 0.143 |
| Tritanopia (no blue cones) | #D77A95 | 0.089 |
| Achromatopsia (no color) | #959595 | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D172CB
#D172CB
oklch(68.9% 0.162 329.5)
- #3EB661
#3EB661
oklch(68.9% 0.162 149.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 #D172CB, closest first.
No curated palette has a color within ΔE 0.04 of #D172CB.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Orchid #DA70D6 ΔE 0.023
- Pale Magenta #D767AD ΔE 0.046
- Lavender Pink #DD85D7 ΔE 0.049
- Purply Pink #F075E6 ΔE 0.067
- Light Purple #BF77F6 ΔE 0.070
- Wisteria #A87DC2 ΔE 0.073
- Pale Purple #B790D4 ΔE 0.076
- Violet #EE82EE ΔE 0.077
Use #D172CB 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.