#D4BAFF
Closest named color: Light Violet (#D6B4FC). oklch(83.5% 0.099 301.6), rgb(212, 186, 255).
Aa
Black text reads best on this color (12.26:1).
About this color
#D4BAFF is a light, moderately saturated purple. In OKLCH its lightness is 83%, its chroma 0.099 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.014 away. Black text reads best on it, at 12.26:1.
| Hue family | Purples |
| Lightness | light (83%) |
| Chroma | moderately saturated (0.099) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 12.26:1 |
| White text | 1.71:1 |
Values
| HEX | #D4BAFF |
| RGB | rgb(212, 186, 255) |
| HSL | hsl(263, 100%, 86%) |
| OKLCH | oklch(83.5% 0.099 301.6) |
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 #D4BAFF | 1.71:1 | Fails | Lc -34.5 | Non-text elements, placeholder text |
| Black text on #D4BAFF | 12.26:1 | AAA | Lc 73.1 | Content text, not long reading |
| #D4BAFF text on white | 1.71:1 | Fails | Lc 30.7 | Non-text elements, placeholder text |
| #D4BAFF text on black | 12.26:1 | AAA | Lc -72.1 | 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
#F7F4FD
oklch(97.2% 0.012 301.3)
-
Step 100
100
#EDE6FA
oklch(93.6% 0.028 301.7)
-
Step 200
200
#DFD1F8
oklch(88.4% 0.055 301.6)
-
Step 300
300 (this color)
#D4BAFF
oklch(83.5% 0.099 301.6)
-
Step 400
400
#B386F2
oklch(70.7% 0.158 301.7)
-
Step 500
500
#A163ED
oklch(63.1% 0.201 301.6)
-
Step 600
600
#8D44DB
oklch(55.6% 0.219 301.7)
-
Step 700
700
#7834BE
oklch(49.1% 0.203 301.7)
-
Step 800
800
#612D9A
oklch(42.7% 0.168 301.4)
-
Step 900
900
#4F2A7A
oklch(37.6% 0.131 301.7)
-
Step 950
950
#2E1A48
oklch(27% 0.083 301.1)
#D4BAFF 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) | #ACC5FF | 0.058 |
| Deuteranopia (no green cones) | #B0C6FD | 0.055 |
| Tritanopia (no blue cones) | #CDC4D2 | 0.078 |
| Achromatopsia (no color) | #C6C6C6 | 0.099 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D4BAFF
#D4BAFF
oklch(83.5% 0.099 301.6)
- #BED38A
#BED38A
oklch(83.4% 0.099 121.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 #D4BAFF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.014
- Pale Violet #CEAEFA ΔE 0.032
- Light Lavender #DFC5FE ΔE 0.034
- Light Periwinkle #C1C6FC ΔE 0.040
- Light Lavendar #EFC0FE ΔE 0.044
- Pale Lilac #E4CBFF ΔE 0.051
- Light Lilac #EDC8FF ΔE 0.054
- Lilac #CEA2FD ΔE 0.061
Use #D4BAFF 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.