#D7BAFF
Closest named color: Light Violet (#D6B4FC). oklch(83.7% 0.099 303.5), rgb(215, 186, 255).
Aa
Black text reads best on this color (12.35:1).
About this color
#D7BAFF is a light, moderately saturated purple. In OKLCH its lightness is 84%, its chroma 0.099 and its hue 304°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.015 away. Black text reads best on it, at 12.35:1.
| Hue family | Purples |
| Lightness | light (84%) |
| Chroma | moderately saturated (0.099) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 12.35:1 |
| White text | 1.69:1 |
Values
| HEX | #D7BAFF |
| RGB | rgb(215, 186, 255) |
| HSL | hsl(265, 100%, 86%) |
| OKLCH | oklch(83.7% 0.099 303.5) |
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 #D7BAFF | 1.69:1 | Fails | Lc -34.1 | Non-text elements, placeholder text |
| Black text on #D7BAFF | 12.35:1 | AAA | Lc 73.5 | Content text, not long reading |
| #D7BAFF text on white | 1.69:1 | Fails | Lc 30.3 | Non-text elements, placeholder text |
| #D7BAFF text on black | 12.35:1 | AAA | Lc -72.5 | 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
#F7F3FD
oklch(97% 0.014 304.1)
-
Step 100
100
#EEE6FA
oklch(93.7% 0.028 303.9)
-
Step 200
200
#E0D1F8
oklch(88.5% 0.055 302.8)
-
Step 300
300 (this color)
#D7BAFF
oklch(83.7% 0.099 303.5)
-
Step 400
400
#B685F1
oklch(70.8% 0.159 303.5)
-
Step 500
500
#A461EB
oklch(63% 0.203 303.5)
-
Step 600
600
#9042DA
oklch(55.7% 0.221 303.3)
-
Step 700
700
#7B32BD
oklch(49.2% 0.205 303.5)
-
Step 800
800
#642B99
oklch(42.8% 0.17 303.6)
-
Step 900
900
#512979
oklch(37.6% 0.132 303.7)
-
Step 950
950
#2F1947
oklch(26.9% 0.084 303.3)
#D7BAFF 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) | #ADC6FF | 0.061 |
| Deuteranopia (no green cones) | #B2C7FD | 0.058 |
| Tritanopia (no blue cones) | #D1C4D2 | 0.077 |
| Achromatopsia (no color) | #C6C6C6 | 0.100 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D7BAFF
#D7BAFF
oklch(83.7% 0.099 303.5)
- #BDD58C
#BDD58C
oklch(83.8% 0.099 123.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 #D7BAFF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.015
- Light Lavender #DFC5FE ΔE 0.032
- Pale Violet #CEAEFA ΔE 0.033
- Light Lavendar #EFC0FE ΔE 0.040
- Light Periwinkle #C1C6FC ΔE 0.042
- Pale Lilac #E4CBFF ΔE 0.049
- Light Lilac #EDC8FF ΔE 0.050
- Thistle #D8BFD8 ΔE 0.061
Use #D7BAFF 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.