#D397DF
Closest named color: Plum (#DDA0DD). oklch(75.9% 0.119 320.7), rgb(211, 151, 223).
Aa
Black text reads best on this color (9.26:1).
About this color
#D397DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.119 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.030 away. Black text reads best on it, at 9.26:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.119) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 9.26:1 |
| White text | 2.26:1 |
Values
| HEX | #D397DF |
| RGB | rgb(211, 151, 223) |
| HSL | hsl(290, 53%, 73%) |
| OKLCH | oklch(75.9% 0.119 320.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 #D397DF | 2.26:1 | Fails | Lc -49.4 | Large or bold text, headings |
| Black text on #D397DF | 9.26:1 | AAA | Lc 59.4 | Large or bold text, headings |
| #D397DF text on white | 2.26:1 | Fails | Lc 44.6 | Non-text elements, placeholder text |
| #D397DF text on black | 9.26:1 | AAA | Lc -57.5 | Large or bold text, headings |
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
#FBF2FC
oklch(97.1% 0.016 322.7)
-
Step 100
100
#F5E3F8
oklch(93.6% 0.034 321.4)
-
Step 200
200
#EECBF4
oklch(88.4% 0.067 321.3)
-
Step 300
300 (this color)
#D397DF
oklch(75.9% 0.119 320.7)
-
Step 400
400
#D472E8
oklch(70.6% 0.191 320.6)
-
Step 500
500
#C742E1
oklch(63.1% 0.245 320.6)
-
Step 600
600
#B301CE
oklch(55.6% 0.265 320.9)
-
Step 700
700
#9700AF
oklch(49.1% 0.235 320.6)
-
Step 800
800
#7D0090
oklch(42.7% 0.204 321)
-
Step 900
900
#651473
oklch(37.7% 0.16 321.1)
-
Step 950
950
#3B0F44
oklch(27% 0.102 320.3)
#D397DF 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) | #8FA8E2 | 0.102 |
| Deuteranopia (no green cones) | #9DAEDD | 0.094 |
| Tritanopia (no blue cones) | #D59FB1 | 0.076 |
| Achromatopsia (no color) | #ACACAC | 0.120 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D397DF
#D397DF
oklch(75.9% 0.119 320.7)
- #86C37B
#86C37B
oklch(75.8% 0.118 140.7)
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 #D397DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.030
- Baby Purple #CA9BF7 ΔE 0.036
- Lavender Pink #DD85D7 ΔE 0.042
- Lilac #CEA2FD ΔE 0.045
- Pastel Purple #CAA0FF ΔE 0.047
- Pale Purple #B790D4 ΔE 0.051
- Pale Violet #CEAEFA ΔE 0.059
- Liliac #C48EFD ΔE 0.060
Use #D397DF 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.