#D2C7FF
Closest named color: Light Lavender (#DFC5FE). oklch(85.7% 0.078 293.7), rgb(210, 199, 255).
Aa
Black text reads best on this color (13.35:1).
About this color
#D2C7FF is a light, moderately saturated purple. In OKLCH its lightness is 86%, its chroma 0.078 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Lavender (#DFC5FE), ΔE 0.018 away. Black text reads best on it, at 13.35:1.
| Hue family | Purples |
| Lightness | light (86%) |
| Chroma | moderately saturated (0.078) |
| Temperature | in between |
| Nearest name | Light Lavender (#DFC5FE) |
| Black text | 13.35:1 |
| White text | 1.57:1 |
Values
| HEX | #D2C7FF |
| RGB | rgb(210, 199, 255) |
| HSL | hsl(252, 100%, 89%) |
| OKLCH | oklch(85.7% 0.078 293.7) |
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 #D2C7FF | 1.57:1 | Fails | Lc -29.5 | Dividers and decoration only |
| Black text on #D2C7FF | 13.35:1 | AAA | Lc 77.7 | Fine for body text |
| #D2C7FF text on white | 1.57:1 | Fails | Lc 26.1 | Dividers and decoration only |
| #D2C7FF text on black | 13.35:1 | AAA | Lc -76.9 | Fine for body text |
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 200.
-
Step 50
50
#F6F4FE
oklch(97.2% 0.013 295.3)
-
Step 100
100
#EAE7FC
oklch(93.7% 0.028 292.4)
-
Step 200
200 (this color)
#D2C7FF
oklch(85.7% 0.078 293.7)
-
Step 300
300
#C3B4FB
oklch(80.8% 0.1 293.7)
-
Step 400
400
#A78AFA
oklch(70.7% 0.161 293.8)
-
Step 500
500
#9368F7
oklch(63.2% 0.205 293.5)
-
Step 600
600
#7F49E5
oklch(55.5% 0.222 293.8)
-
Step 700
700
#6C39C7
oklch(49.1% 0.206 293.8)
-
Step 800
800
#5731A1
oklch(42.7% 0.17 293.4)
-
Step 900
900
#472D80
oklch(37.7% 0.133 293.4)
-
Step 950
950
#2A1B4B
oklch(27% 0.085 294.4)
#D2C7FF 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) | #BBCFFF | 0.035 |
| Deuteranopia (no green cones) | #BCCDFD | 0.032 |
| Tritanopia (no blue cones) | #C9D0DA | 0.066 |
| Achromatopsia (no color) | #CECECE | 0.078 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D2C7FF
#D2C7FF
oklch(85.7% 0.078 293.7)
- #CFD69B
#CFD69B
oklch(85.6% 0.078 113.6)
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 #D2C7FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Lavender #DFC5FE ΔE 0.018
- Light Periwinkle #C1C6FC ΔE 0.024
- Pale Lilac #E4CBFF ΔE 0.028
- Light Lilac #EDC8FF ΔE 0.039
- Light Lavendar #EFC0FE ΔE 0.043
- Pale Lavender #EECFFE ΔE 0.047
- Light Violet #D6B4FC ΔE 0.047
- Thistle #D8BFD8 ΔE 0.053
Use #D2C7FF 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.