#D2A7E5
Closest named color: Plum (#DDA0DD). oklch(78.8% 0.098 315.3), rgb(210, 167, 229).
Aa
Black text reads best on this color (10.39:1).
About this color
#D2A7E5 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.098 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.023 away. Black text reads best on it, at 10.39:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.098) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 10.39:1 |
| White text | 2.01:1 |
Values
| HEX | #D2A7E5 |
| RGB | rgb(210, 167, 229) |
| HSL | hsl(282, 54%, 78%) |
| OKLCH | oklch(78.8% 0.098 315.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 #D2A7E5 | 2.01:1 | Fails | Lc -43.6 | Non-text elements, placeholder text |
| Black text on #D2A7E5 | 10.39:1 | AAA | Lc 64.8 | Content text, not long reading |
| #D2A7E5 text on white | 2.01:1 | Fails | Lc 39.2 | Non-text elements, placeholder text |
| #D2A7E5 text on black | 10.39:1 | AAA | Lc -63.2 | Content text, not long reading |
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 300.
-
Step 50
50
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F1E5F7
oklch(93.7% 0.027 314.7)
-
Step 200
200
#E7CFF2
oklch(88.5% 0.054 315.3)
-
Step 300
300 (this color)
#D2A7E5
oklch(78.8% 0.098 315.3)
-
Step 400
400
#C580E2
oklch(70.7% 0.155 315.3)
-
Step 500
500
#B65ADA
oklch(63.1% 0.2 315.4)
-
Step 600
600
#A13AC7
oklch(55.6% 0.217 315.3)
-
Step 700
700
#8A2AAC
oklch(49.1% 0.202 315.4)
-
Step 800
800
#70258B
oklch(42.6% 0.167 315.5)
-
Step 900
900
#5B256F
oklch(37.7% 0.13 315.7)
-
Step 950
950
#351741
oklch(27% 0.082 315.3)
#D2A7E5 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) | #9FB4E8 | 0.075 |
| Deuteranopia (no green cones) | #A8B8E3 | 0.071 |
| Tritanopia (no blue cones) | #D1AEBD | 0.066 |
| Achromatopsia (no color) | #B6B6B6 | 0.098 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2A7E5
#D2A7E5
oklch(78.8% 0.098 315.3)
- #9FC889
#9FC889
oklch(78.7% 0.097 135)
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 #D2A7E5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.023
- Pale Violet #CEAEFA ΔE 0.031
- Light Violet #D6B4FC ΔE 0.041
- Lilac #CEA2FD ΔE 0.041
- Baby Purple #CA9BF7 ΔE 0.047
- Pastel Purple #CAA0FF ΔE 0.048
- Thistle #D8BFD8 ΔE 0.071
- Pale Purple #B790D4 ΔE 0.075
Use #D2A7E5 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.