#D4A7DB
Closest named color: Plum (#DDA0DD). oklch(78.6% 0.087 321.8), rgb(212, 167, 219).
Aa
Black text reads best on this color (10.34:1).
About this color
#D4A7DB is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.087 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.022 away. Black text reads best on it, at 10.34:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.087) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 10.34:1 |
| White text | 2.02:1 |
Values
| HEX | #D4A7DB |
| RGB | rgb(212, 167, 219) |
| HSL | hsl(292, 42%, 76%) |
| OKLCH | oklch(78.6% 0.087 321.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 #D4A7DB | 2.02:1 | Fails | Lc -43.9 | Non-text elements, placeholder text |
| Black text on #D4A7DB | 10.34:1 | AAA | Lc 64.5 | Content text, not long reading |
| #D4A7DB text on white | 2.02:1 | Fails | Lc 39.4 | Non-text elements, placeholder text |
| #D4A7DB text on black | 10.34:1 | AAA | Lc -62.9 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F2E5F4
oklch(93.7% 0.024 321.7)
-
Step 200
200
#E9CFED
oklch(88.5% 0.049 321.7)
-
Step 300
300 (this color)
#D4A7DB
oklch(78.6% 0.087 321.8)
-
Step 400
400
#C981D4
oklch(70.7% 0.14 322.1)
-
Step 500
500
#BA5EC9
oklch(63.2% 0.179 321.9)
-
Step 600
600
#A540B5
oklch(55.6% 0.194 321.9)
-
Step 700
700
#8D319C
oklch(49.1% 0.18 321.8)
-
Step 800
800
#732A7E
oklch(42.7% 0.149 322.2)
-
Step 900
900
#5D2866
oklch(37.8% 0.116 321.6)
-
Step 950
950
#37183B
oklch(27% 0.074 322.9)
#D4A7DB 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) | #A2B3DD | 0.074 |
| Deuteranopia (no green cones) | #ACB8D9 | 0.069 |
| Tritanopia (no blue cones) | #D6ACB9 | 0.055 |
| Achromatopsia (no color) | #B6B6B6 | 0.088 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4A7DB
#D4A7DB
oklch(78.6% 0.087 321.8)
- #9AC894
#9AC894
oklch(78.6% 0.087 141.8)
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 #D4A7DB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.022
- Pale Violet #CEAEFA ΔE 0.044
- Light Violet #D6B4FC ΔE 0.050
- Lilac #CEA2FD ΔE 0.055
- Baby Purple #CA9BF7 ΔE 0.060
- Pastel Purple #CAA0FF ΔE 0.062
- Thistle #D8BFD8 ΔE 0.064
- Faded Pink #DE9DAC ΔE 0.065
Use #D4A7DB 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.