#D397E1
Closest named color: Plum (#DDA0DD). oklch(75.9% 0.122 319.9), rgb(211, 151, 225).
Aa
Black text reads best on this color (9.28:1).
About this color
#D397E1 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.122 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.031 away. Black text reads best on it, at 9.28:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.122) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 9.28:1 |
| White text | 2.26:1 |
Values
| HEX | #D397E1 |
| RGB | rgb(211, 151, 225) |
| HSL | hsl(289, 55%, 74%) |
| OKLCH | oklch(75.9% 0.122 319.9) |
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 #D397E1 | 2.26:1 | Fails | Lc -49.3 | Large or bold text, headings |
| Black text on #D397E1 | 9.28:1 | AAA | Lc 59.5 | Large or bold text, headings |
| #D397E1 text on white | 2.26:1 | Fails | Lc 44.5 | Non-text elements, placeholder text |
| #D397E1 text on black | 9.28:1 | AAA | Lc -57.7 | 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
#F5E3F9
oklch(93.7% 0.035 320.1)
-
Step 200
200
#EECBF5
oklch(88.5% 0.068 320.6)
-
Step 300
300 (this color)
#D397E1
oklch(75.9% 0.122 319.9)
-
Step 400
400
#D472EB
oklch(70.8% 0.194 319.7)
-
Step 500
500
#C741E4
oklch(63.2% 0.248 319.8)
-
Step 600
600
#B200D1
oklch(55.7% 0.267 319.8)
-
Step 700
700
#9600B1
oklch(49.1% 0.236 319.7)
-
Step 800
800
#7C0092
oklch(42.7% 0.205 319.9)
-
Step 900
900
#641375
oklch(37.6% 0.162 319.7)
-
Step 950
950
#3B0F45
oklch(27% 0.103 319.6)
#D397E1 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) | #8EA8E4 | 0.103 |
| Deuteranopia (no green cones) | #9CAFDF | 0.096 |
| Tritanopia (no blue cones) | #D49FB2 | 0.078 |
| Achromatopsia (no color) | #ACACAC | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D397E1
#D397E1
oklch(75.9% 0.122 319.9)
- #87C479
#87C479
oklch(76% 0.121 139.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 #D397E1, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.031
- Baby Purple #CA9BF7 ΔE 0.034
- Lavender Pink #DD85D7 ΔE 0.042
- Lilac #CEA2FD ΔE 0.043
- Pastel Purple #CAA0FF ΔE 0.045
- Pale Purple #B790D4 ΔE 0.052
- Liliac #C48EFD ΔE 0.058
- Pale Violet #CEAEFA ΔE 0.058
Use #D397E1 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.