#DB7DEF
Closest named color: Violet (#EE82EE). oklch(73.3% 0.184 320.4), rgb(219, 125, 239).
Aa
Black text reads best on this color (8.19:1).
About this color
#DB7DEF is a medium-light, vivid purple. In OKLCH its lightness is 73%, its chroma 0.184 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.036 away. Black text reads best on it, at 8.19:1.
| Hue family | Purples |
| Lightness | medium-light (73%) |
| Chroma | vivid (0.184) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.19:1 |
| White text | 2.56:1 |
Values
| HEX | #DB7DEF |
| RGB | rgb(219, 125, 239) |
| HSL | hsl(289, 78%, 71%) |
| OKLCH | oklch(73.3% 0.184 320.4) |
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 #DB7DEF | 2.56:1 | Fails | Lc -54.9 | Large or bold text, headings |
| Black text on #DB7DEF | 8.19:1 | AAA | Lc 54.2 | Large or bold text, headings |
| #DB7DEF text on white | 2.56:1 | Fails | Lc 49.8 | Large or bold text, headings |
| #DB7DEF text on black | 8.19:1 | AAA | Lc -52.1 | 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 400.
-
Step 50
50
#FAF2FC
oklch(97% 0.016 319.4)
-
Step 100
100
#F4E3F8
oklch(93.6% 0.033 319.8)
-
Step 200
200
#EDCCF4
oklch(88.5% 0.065 320.3)
-
Step 300
300
#E2A8EF
oklch(80.9% 0.116 320.1)
-
Step 400
400 (this color)
#DB7DEF
oklch(73.3% 0.184 320.4)
-
Step 500
500
#C547DE
oklch(63.1% 0.236 320.5)
-
Step 600
600
#B015CC
oklch(55.5% 0.256 320.3)
-
Step 700
700
#9700AF
oklch(49.1% 0.235 320.6)
-
Step 800
800
#7B0B8F
oklch(42.7% 0.197 320.3)
-
Step 900
900
#631872
oklch(37.6% 0.154 320.3)
-
Step 950
950
#3A1143
oklch(27% 0.097 319.9)
#DB7DEF 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) | #6B9BF3 | 0.168 |
| Deuteranopia (no green cones) | #86A5EC | 0.151 |
| Tritanopia (no blue cones) | #DC8CAB | 0.115 |
| Achromatopsia (no color) | #A2A2A2 | 0.186 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DB7DEF
#DB7DEF
oklch(73.3% 0.184 320.4)
- #60C44B
#60C44B
oklch(73.4% 0.185 140.3)
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 #DB7DEF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.036
- Purply Pink #F075E6 ΔE 0.039
- Orchid #DA70D6 ΔE 0.041
- Lavender Pink #DD85D7 ΔE 0.044
- Liliac #C48EFD ΔE 0.051
- Light Purple #BF77F6 ΔE 0.053
- Easter Purple #C071FE ΔE 0.063
- Baby Purple #CA9BF7 ΔE 0.069
Use #DB7DEF 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.