#DB97EF
Closest named color: Baby Purple (#CA9BF7). oklch(77.3% 0.141 318.3), rgb(219, 151, 239).
Aa
Black text reads best on this color (9.68:1).
About this color
#DB97EF is a medium-light, vivid purple. In OKLCH its lightness is 77%, its chroma 0.141 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.029 away. Black text reads best on it, at 9.68:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | vivid (0.141) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.68:1 |
| White text | 2.16:1 |
Values
| HEX | #DB97EF |
| RGB | rgb(219, 151, 239) |
| HSL | hsl(286, 73%, 76%) |
| OKLCH | oklch(77.3% 0.141 318.3) |
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 #DB97EF | 2.16:1 | Fails | Lc -47.2 | Large or bold text, headings |
| Black text on #DB97EF | 9.68:1 | AAA | Lc 61.5 | Content text, not long reading |
| #DB97EF text on white | 2.16:1 | Fails | Lc 42.5 | Non-text elements, placeholder text |
| #DB97EF text on black | 9.68:1 | AAA | Lc -59.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
#FBF2FE
oklch(97.2% 0.018 317.7)
-
Step 100
100
#F6E2FC
oklch(93.7% 0.041 318.4)
-
Step 200
200
#F0C9FB
oklch(88.5% 0.079 318.7)
-
Step 300
300 (this color)
#DB97EF
oklch(77.3% 0.141 318.3)
-
Step 400
400
#D967F9
oklch(70.7% 0.226 318.3)
-
Step 500
500
#CD23F5
oklch(63.1% 0.288 318.4)
-
Step 600
600
#B000D4
oklch(55.6% 0.269 318.5)
-
Step 700
700
#9500B4
oklch(49.2% 0.238 318.4)
-
Step 800
800
#7B0095
oklch(42.8% 0.207 318.4)
-
Step 900
900
#67007D
oklch(37.7% 0.182 318.5)
-
Step 950
950
#3D074A
oklch(27% 0.119 318.6)
#DB97EF 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) | #8BACF2 | 0.119 |
| Deuteranopia (no green cones) | #9BB2EC | 0.109 |
| Tritanopia (no blue cones) | #DBA2B8 | 0.092 |
| Achromatopsia (no color) | #B0B0B0 | 0.142 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DB97EF
#DB97EF
oklch(77.3% 0.141 318.3)
- #86CA70
#86CA70
oklch(77.2% 0.14 138.4)
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 #DB97EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.029
- Lilac #CEA2FD ΔE 0.033
- Pastel Purple #CAA0FF ΔE 0.036
- Plum #DDA0DD ΔE 0.039
- Lavender Pink #DD85D7 ΔE 0.047
- Liliac #C48EFD ΔE 0.052
- Violet #EE82EE ΔE 0.053
- Pale Violet #CEAEFA ΔE 0.055
Use #DB97EF 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.