#D4A7EF
Closest named color: Pale Violet (#CEAEFA). oklch(79.4% 0.11 312.4), rgb(212, 167, 239).
Aa
Black text reads best on this color (10.57:1).
About this color
#D4A7EF is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.110 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.021 away. Black text reads best on it, at 10.57:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.110) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.57:1 |
| White text | 1.98:1 |
Values
| HEX | #D4A7EF |
| RGB | rgb(212, 167, 239) |
| HSL | hsl(278, 69%, 80%) |
| OKLCH | oklch(79.4% 0.11 312.4) |
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 #D4A7EF | 1.98:1 | Fails | Lc -42.7 | Non-text elements, placeholder text |
| Black text on #D4A7EF | 10.57:1 | AAA | Lc 65.6 | Content text, not long reading |
| #D4A7EF text on white | 1.98:1 | Fails | Lc 38.3 | Non-text elements, placeholder text |
| #D4A7EF text on black | 10.57:1 | AAA | Lc -64.1 | 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
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F1E4FA
oklch(93.6% 0.032 311.7)
-
Step 200
200
#E7CEF7
oklch(88.5% 0.061 312.2)
-
Step 300
300 (this color)
#D4A7EF
oklch(79.4% 0.11 312.4)
-
Step 400
400
#C57BEE
oklch(70.6% 0.177 312.4)
-
Step 500
500
#B752E9
oklch(63.1% 0.226 312.5)
-
Step 600
600
#A22CD7
oklch(55.6% 0.245 312.2)
-
Step 700
700
#8B1ABA
oklch(49.1% 0.228 312.5)
-
Step 800
800
#711B97
oklch(42.8% 0.189 312.4)
-
Step 900
900
#5B2078
oklch(37.7% 0.147 312.2)
-
Step 950
950
#351446
oklch(26.8% 0.093 312.2)
#D4A7EF 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) | #9CB5F2 | 0.082 |
| Deuteranopia (no green cones) | #A5B9ED | 0.077 |
| Tritanopia (no blue cones) | #D2B0C1 | 0.077 |
| Achromatopsia (no color) | #B8B8B8 | 0.111 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4A7EF
#D4A7EF
oklch(79.4% 0.11 312.4)
- #A1CB80
#A1CB80
oklch(79.4% 0.11 132.3)
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 #D4A7EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.021
- Lilac #CEA2FD ΔE 0.028
- Plum #DDA0DD ΔE 0.029
- Light Violet #D6B4FC ΔE 0.033
- Pastel Purple #CAA0FF ΔE 0.037
- Baby Purple #CA9BF7 ΔE 0.039
- Liliac #C48EFD ΔE 0.076
- Light Lavender #DFC5FE ΔE 0.076
Use #D4A7EF 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.