#D7B2FF
Closest named color: Light Violet (#D6B4FC). oklch(82.3% 0.112 306), rgb(215, 178, 255).
Aa
Black text reads best on this color (11.70:1).
About this color
#D7B2FF is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.112 and its hue 306°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.008 away. Black text reads best on it, at 11.70:1.
| Hue family | Purples |
| Lightness | light (82%) |
| Chroma | moderately saturated (0.112) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.70:1 |
| White text | 1.79:1 |
Values
| HEX | #D7B2FF |
| RGB | rgb(215, 178, 255) |
| HSL | hsl(269, 100%, 85%) |
| OKLCH | oklch(82.3% 0.112 306) |
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 #D7B2FF | 1.79:1 | Fails | Lc -37.2 | Non-text elements, placeholder text |
| Black text on #D7B2FF | 11.70:1 | AAA | Lc 70.7 | Content text, not long reading |
| #D7B2FF text on white | 1.79:1 | Fails | Lc 33.2 | Non-text elements, placeholder text |
| #D7B2FF text on black | 11.70:1 | AAA | Lc -69.4 | 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
#F8F3FE
oklch(97.1% 0.015 306.4)
-
Step 100
100
#EFE5FC
oklch(93.7% 0.032 305.3)
-
Step 200
200
#E3CFFB
oklch(88.5% 0.063 305.7)
-
Step 300
300 (this color)
#D7B2FF
oklch(82.3% 0.112 306)
-
Step 400
400
#BD7EF8
oklch(70.7% 0.181 306.2)
-
Step 500
500
#AD56F4
oklch(63.2% 0.229 306.2)
-
Step 600
600
#9930E3
oklch(55.7% 0.25 306.1)
-
Step 700
700
#821EC5
oklch(49% 0.232 305.9)
-
Step 800
800
#6A1E9F
oklch(42.7% 0.192 306.2)
-
Step 900
900
#56227F
oklch(37.8% 0.15 305.9)
-
Step 950
950
#32164A
oklch(27% 0.094 305.8)
#D7B2FF 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) | #A3C0FF | 0.075 |
| Deuteranopia (no green cones) | #ABC2FD | 0.070 |
| Tritanopia (no blue cones) | #D1BDCE | 0.084 |
| Achromatopsia (no color) | #C1C1C1 | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7B2FF
#D7B2FF
oklch(82.3% 0.112 306)
- #B3D281
#B3D281
oklch(82.2% 0.111 125.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 #D7B2FF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.008
- Pale Violet #CEAEFA ΔE 0.018
- Lilac #CEA2FD ΔE 0.043
- Pastel Purple #CAA0FF ΔE 0.051
- Light Lavender #DFC5FE ΔE 0.051
- Light Lavendar #EFC0FE ΔE 0.053
- Plum #DDA0DD ΔE 0.056
- Light Periwinkle #C1C6FC ΔE 0.058
Use #D7B2FF 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.