#DFAFFB
Closest named color: Light Violet (#D6B4FC). oklch(82.3% 0.116 312.7), rgb(223, 175, 251).
Aa
Black text reads best on this color (11.66:1).
About this color
#DFAFFB is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.116 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.017 away. Black text reads best on it, at 11.66:1.
| Hue family | Purples |
| Lightness | light (82%) |
| Chroma | moderately saturated (0.116) |
| Temperature | in between |
| Nearest name | Light Violet (#D6B4FC) |
| Black text | 11.66:1 |
| White text | 1.80:1 |
Values
| HEX | #DFAFFB |
| RGB | rgb(223, 175, 251) |
| HSL | hsl(278, 90%, 84%) |
| OKLCH | oklch(82.3% 0.116 312.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 #DFAFFB | 1.80:1 | Fails | Lc -37.4 | Non-text elements, placeholder text |
| Black text on #DFAFFB | 11.66:1 | AAA | Lc 70.5 | Content text, not long reading |
| #DFAFFB text on white | 1.80:1 | Fails | Lc 33.3 | Non-text elements, placeholder text |
| #DFAFFB text on black | 11.66:1 | AAA | Lc -69.3 | 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
#F9F3FD
oklch(97.2% 0.015 312.2)
-
Step 100
100
#F2E4FA
oklch(93.6% 0.033 313.5)
-
Step 200
200
#E8CDF8
oklch(88.4% 0.065 312.9)
-
Step 300
300 (this color)
#DFAFFB
oklch(82.3% 0.116 312.7)
-
Step 400
400
#C879F2
oklch(70.8% 0.185 312.7)
-
Step 500
500
#B94DED
oklch(63.1% 0.237 312.6)
-
Step 600
600
#A522DB
oklch(55.7% 0.257 312.7)
-
Step 700
700
#8D0CBE
oklch(49.1% 0.239 312.5)
-
Step 800
800
#73149A
oklch(42.8% 0.198 312.7)
-
Step 900
900
#5D1C7A
oklch(37.7% 0.154 312.9)
-
Step 950
950
#361348
oklch(27% 0.098 312)
#DFAFFB 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) | #A3BEFE | 0.087 |
| Deuteranopia (no green cones) | #ADC2F9 | 0.081 |
| Tritanopia (no blue cones) | #DDB9CA | 0.082 |
| Achromatopsia (no color) | #C1C1C1 | 0.116 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DFAFFB
#DFAFFB
oklch(82.3% 0.116 312.7)
- #A8D586
#A8D586
oklch(82.2% 0.116 132.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 #DFAFFB, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Violet #D6B4FC ΔE 0.017
- Pale Violet #CEAEFA ΔE 0.026
- Lilac #CEA2FD ΔE 0.044
- Plum #DDA0DD ΔE 0.049
- Light Lavendar #EFC0FE ΔE 0.050
- Pastel Purple #CAA0FF ΔE 0.053
- Light Lavender #DFC5FE ΔE 0.054
- Baby Purple #CA9BF7 ΔE 0.061
Use #DFAFFB 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.