#DB7DFC
Closest named color: Violet (#EE82EE). oklch(74% 0.197 316.7), rgb(219, 125, 252).
Aa
Black text reads best on this color (8.35:1).
About this color
#DB7DFC is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.197 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.043 away. Black text reads best on it, at 8.35:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.197) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.35:1 |
| White text | 2.51:1 |
Values
| HEX | #DB7DFC |
| RGB | rgb(219, 125, 252) |
| HSL | hsl(284, 95%, 74%) |
| OKLCH | oklch(74% 0.197 316.7) |
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 #DB7DFC | 2.51:1 | Fails | Lc -54.0 | Large or bold text, headings |
| Black text on #DB7DFC | 8.35:1 | AAA | Lc 55.1 | Large or bold text, headings |
| #DB7DFC text on white | 2.51:1 | Fails | Lc 48.9 | Large or bold text, headings |
| #DB7DFC text on black | 8.35:1 | AAA | Lc -53.0 | 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
#ECCCF8
oklch(88.6% 0.069 316.8)
-
Step 300
300
#E1A7F6
oklch(80.9% 0.124 316.8)
-
Step 400
400 (this color)
#DB7DFC
oklch(74% 0.197 316.7)
-
Step 500
500
#C342EB
oklch(63.2% 0.252 316.9)
-
Step 600
600
#AE00D9
oklch(55.7% 0.272 316.6)
-
Step 700
700
#9300B7
oklch(49.1% 0.24 316.9)
-
Step 800
800
#790098
oklch(42.7% 0.209 316.6)
-
Step 900
900
#62147A
oklch(37.7% 0.165 316.4)
-
Step 950
950
#3A0F47
oklch(27% 0.104 317.2)
#DB7DFC 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) | #639DFF | 0.176 |
| Deuteranopia (no green cones) | #80A6F9 | 0.156 |
| Tritanopia (no blue cones) | #DA90B1 | 0.129 |
| Achromatopsia (no color) | #A3A3A3 | 0.199 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DB7DFC
#DB7DFC
oklch(74% 0.197 316.7)
- #69C535
#69C535
oklch(73.9% 0.197 136.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 #DB7DFC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.043
- Purply Pink #F075E6 ΔE 0.048
- Liliac #C48EFD ΔE 0.050
- Light Purple #BF77F6 ΔE 0.051
- Easter Purple #C071FE ΔE 0.056
- Orchid #DA70D6 ΔE 0.057
- Lavender Pink #DD85D7 ΔE 0.062
- Light Magenta #FA5FF7 ΔE 0.071
Use #DB7DFC 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.