#DB7EFA
Closest named color: Violet (#EE82EE). oklch(74% 0.194 317.1), rgb(219, 126, 250).
Aa
Black text reads best on this color (8.37:1).
About this color
#DB7EFA is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.194 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.041 away. Black text reads best on it, at 8.37:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.194) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.37:1 |
| White text | 2.50:1 |
Values
| HEX | #DB7EFA |
| RGB | rgb(219, 126, 250) |
| HSL | hsl(285, 93%, 74%) |
| OKLCH | oklch(74% 0.194 317.1) |
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 #DB7EFA | 2.50:1 | Fails | Lc -53.9 | Large or bold text, headings |
| Black text on #DB7EFA | 8.37:1 | AAA | Lc 55.2 | Large or bold text, headings |
| #DB7EFA text on white | 2.50:1 | Fails | Lc 48.8 | Large or bold text, headings |
| #DB7EFA text on black | 8.37:1 | AAA | Lc -53.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
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F4E3FA
oklch(93.6% 0.036 317.3)
-
Step 200
200
#ECCCF7
oklch(88.5% 0.067 317.4)
-
Step 300
300
#E0A8F4
oklch(80.9% 0.12 317)
-
Step 400
400 (this color)
#DB7EFA
oklch(74% 0.194 317.1)
-
Step 500
500
#C344E9
oklch(63.2% 0.248 317.2)
-
Step 600
600
#AE04D7
oklch(55.6% 0.269 317.1)
-
Step 700
700
#9300B6
oklch(49% 0.239 317.1)
-
Step 800
800
#790197
oklch(42.7% 0.207 316.9)
-
Step 900
900
#621578
oklch(37.7% 0.162 317.2)
-
Step 950
950
#3A1046
oklch(27.1% 0.102 317.8)
#DB7EFA 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) | #669EFE | 0.172 |
| Deuteranopia (no green cones) | #82A7F7 | 0.154 |
| Tritanopia (no blue cones) | #DA90B1 | 0.126 |
| Achromatopsia (no color) | #A4A4A4 | 0.195 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DB7EFA
#DB7EFA
oklch(74% 0.194 317.1)
- #69C53B
#69C53B
oklch(73.9% 0.193 137.2)
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 #DB7EFA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.041
- Purply Pink #F075E6 ΔE 0.047
- Liliac #C48EFD ΔE 0.048
- Light Purple #BF77F6 ΔE 0.052
- Orchid #DA70D6 ΔE 0.055
- Lavender Pink #DD85D7 ΔE 0.058
- Easter Purple #C071FE ΔE 0.058
- Baby Purple #CA9BF7 ΔE 0.070
Use #DB7EFA 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.