#D17DEB
Closest named color: Orchid (#DA70D6). oklch(72% 0.175 317.8), rgb(209, 125, 235).
Aa
Black text reads best on this color (7.84:1).
About this color
#D17DEB is a medium-light, vivid purple. In OKLCH its lightness is 72%, its chroma 0.175 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Orchid (#DA70D6), ΔE 0.039 away. Black text reads best on it, at 7.84:1.
| Hue family | Purples |
| Lightness | medium-light (72%) |
| Chroma | vivid (0.175) |
| Temperature | in between |
| Nearest name | Orchid (#DA70D6) |
| Black text | 7.84:1 |
| White text | 2.67:1 |
Values
| HEX | #D17DEB |
| RGB | rgb(209, 125, 235) |
| HSL | hsl(286, 73%, 71%) |
| OKLCH | oklch(72% 0.175 317.8) |
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 #D17DEB | 2.67:1 | Fails | Lc -56.9 | Large or bold text, headings |
| Black text on #D17DEB | 7.84:1 | AAA | Lc 52.3 | Large or bold text, headings |
| #D17DEB text on white | 2.67:1 | Fails | Lc 51.7 | Large or bold text, headings |
| #D17DEB text on black | 7.84:1 | AAA | Lc -50.2 | 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
#FAF3FC
oklch(97.2% 0.014 318.7)
-
Step 100
100
#F3E4F8
oklch(93.7% 0.031 317.7)
-
Step 200
200
#EACDF4
oklch(88.5% 0.061 317.4)
-
Step 300
300
#DEAAEF
oklch(80.9% 0.11 317.7)
-
Step 400
400 (this color)
#D17DEB
oklch(72% 0.175 317.8)
-
Step 500
500
#BF4FDF
oklch(63.2% 0.224 318)
-
Step 600
600
#AA27CD
oklch(55.7% 0.244 317.7)
-
Step 700
700
#9214B1
oklch(49.1% 0.227 317.9)
-
Step 800
800
#76178F
oklch(42.6% 0.188 317.8)
-
Step 900
900
#601D72
oklch(37.7% 0.146 318.2)
-
Step 950
950
#381343
oklch(26.9% 0.093 317.7)
#D17DEB 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) | #6A99EF | 0.154 |
| Deuteranopia (no green cones) | #81A1E8 | 0.140 |
| Tritanopia (no blue cones) | #D18CA9 | 0.113 |
| Achromatopsia (no color) | #9E9E9E | 0.177 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D17DEB
#D17DEB
oklch(72% 0.175 317.8)
- #69BD46
#69BD46
oklch(72% 0.175 137.7)
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 #D17DEB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Orchid #DA70D6 ΔE 0.039
- Light Purple #BF77F6 ΔE 0.040
- Liliac #C48EFD ΔE 0.045
- Lavender Pink #DD85D7 ΔE 0.045
- Violet #EE82EE ΔE 0.052
- Easter Purple #C071FE ΔE 0.053
- Purply Pink #F075E6 ΔE 0.054
- Light Urple #B36FF6 ΔE 0.067
Use #D17DEB 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.