#DB97FD
Closest named color: Baby Purple (#CA9BF7). oklch(78% 0.157 313.8), rgb(219, 151, 253).
Aa
Black text reads best on this color (9.85:1).
About this color
#DB97FD is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.157 and its hue 314°. 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.85:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.157) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.85:1 |
| White text | 2.13:1 |
Values
| HEX | #DB97FD |
| RGB | rgb(219, 151, 253) |
| HSL | hsl(280, 96%, 79%) |
| OKLCH | oklch(78% 0.157 313.8) |
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 #DB97FD | 2.13:1 | Fails | Lc -46.3 | Large or bold text, headings |
| Black text on #DB97FD | 9.85:1 | AAA | Lc 62.3 | Content text, not long reading |
| #DB97FD text on white | 2.13:1 | Fails | Lc 41.6 | Non-text elements, placeholder text |
| #DB97FD text on black | 9.85:1 | AAA | Lc -60.6 | 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
#FAF2FF
oklch(97.1% 0.019 312.8)
-
Step 100
100
#F5E2FF
oklch(93.7% 0.044 314.2)
-
Step 200
200
#EDCAFF
oklch(88.5% 0.081 314.1)
-
Step 300
300 (this color)
#DB97FD
oklch(78% 0.157 313.8)
-
Step 400
400
#D16CFF
oklch(70.7% 0.222 313.9)
-
Step 500
500
#C52BFF
oklch(63.1% 0.288 313.8)
-
Step 600
600
#AA00E0
oklch(55.6% 0.276 313.7)
-
Step 700
700
#8F00BE
oklch(49.1% 0.244 313.5)
-
Step 800
800
#76009D
oklch(42.7% 0.212 313.7)
-
Step 900
900
#630084
oklch(37.6% 0.187 313.8)
-
Step 950
950
#3C0152
oklch(27% 0.132 313.5)
#DB97FD 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) | #84AEFF | 0.127 |
| Deuteranopia (no green cones) | #95B3FA | 0.116 |
| Tritanopia (no blue cones) | #D8A5BE | 0.107 |
| Achromatopsia (no color) | #B2B2B2 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DB97FD
#DB97FD
oklch(78% 0.157 313.8)
- #8DCC5F
#8DCC5F
oklch(77.9% 0.156 133.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 #DB97FD, 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.031
- Pastel Purple #CAA0FF ΔE 0.032
- Liliac #C48EFD ΔE 0.045
- Violet #EE82EE ΔE 0.053
- Plum #DDA0DD ΔE 0.057
- Pale Violet #CEAEFA ΔE 0.058
- Lavender Pink #DD85D7 ΔE 0.060
Use #DB97FD 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.