#D2A8EC
Closest named color: Pale Violet (#CEAEFA). oklch(79.3% 0.104 312.1), rgb(210, 168, 236).
Aa
Black text reads best on this color (10.55:1).
About this color
#D2A8EC is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.104 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.022 away. Black text reads best on it, at 10.55:1.
| Hue family | Purples |
| Lightness | light (79%) |
| Chroma | moderately saturated (0.104) |
| Temperature | in between |
| Nearest name | Pale Violet (#CEAEFA) |
| Black text | 10.55:1 |
| White text | 1.99:1 |
Values
| HEX | #D2A8EC |
| RGB | rgb(210, 168, 236) |
| HSL | hsl(277, 64%, 79%) |
| OKLCH | oklch(79.3% 0.104 312.1) |
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 #D2A8EC | 1.99:1 | Fails | Lc -42.9 | Non-text elements, placeholder text |
| Black text on #D2A8EC | 10.55:1 | AAA | Lc 65.5 | Content text, not long reading |
| #D2A8EC text on white | 1.99:1 | Fails | Lc 38.4 | Non-text elements, placeholder text |
| #D2A8EC text on black | 10.55:1 | AAA | Lc -64.0 | 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
#F1E4F9
oklch(93.5% 0.031 312.9)
-
Step 200
200
#E6CFF5
oklch(88.5% 0.057 312.1)
-
Step 300
300 (this color)
#D2A8EC
oklch(79.3% 0.104 312.1)
-
Step 400
400
#C37EEB
oklch(70.7% 0.168 312)
-
Step 500
500
#B458E4
oklch(63.2% 0.212 312.2)
-
Step 600
600
#9F35D2
oklch(55.6% 0.231 311.9)
-
Step 700
700
#8825B6
oklch(49.1% 0.215 311.9)
-
Step 800
800
#6F2293
oklch(42.8% 0.178 312.3)
-
Step 900
900
#5A2375
oklch(37.7% 0.139 312.5)
-
Step 950
950
#351645
oklch(27.1% 0.089 312.4)
#D2A8EC 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) | #9DB5EF | 0.077 |
| Deuteranopia (no green cones) | #A6B9EA | 0.072 |
| Tritanopia (no blue cones) | #D0B1C0 | 0.075 |
| Achromatopsia (no color) | #B8B8B8 | 0.105 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2A8EC
#D2A8EC
oklch(79.3% 0.104 312.1)
- #A2CA83
#A2CA83
oklch(79.3% 0.105 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 #D2A8EC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Violet #CEAEFA ΔE 0.022
- Plum #DDA0DD ΔE 0.028
- Lilac #CEA2FD ΔE 0.033
- Light Violet #D6B4FC ΔE 0.034
- Pastel Purple #CAA0FF ΔE 0.041
- Baby Purple #CA9BF7 ΔE 0.043
- Light Periwinkle #C1C6FC ΔE 0.074
- Thistle #D8BFD8 ΔE 0.075
Use #D2A8EC 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.