#DF7DEC
Closest named color: Violet (#EE82EE). oklch(73.6% 0.184 322.8), rgb(223, 125, 236).
Aa
Black text reads best on this color (8.28:1).
About this color
#DF7DEC is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.184 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.029 away. Black text reads best on it, at 8.28:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.184) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.28:1 |
| White text | 2.53:1 |
Values
| HEX | #DF7DEC |
| RGB | rgb(223, 125, 236) |
| HSL | hsl(293, 74%, 71%) |
| OKLCH | oklch(73.6% 0.184 322.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 #DF7DEC | 2.53:1 | Fails | Lc -54.4 | Large or bold text, headings |
| Black text on #DF7DEC | 8.28:1 | AAA | Lc 54.7 | Large or bold text, headings |
| #DF7DEC text on white | 2.53:1 | Fails | Lc 49.3 | Large or bold text, headings |
| #DF7DEC text on black | 8.28:1 | AAA | Lc -52.6 | 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
#FBF2FC
oklch(97.1% 0.016 322.7)
-
Step 100
100
#F5E3F7
oklch(93.6% 0.033 322.8)
-
Step 200
200
#EECCF2
oklch(88.5% 0.063 322.7)
-
Step 300
300
#E4A7EC
oklch(80.8% 0.115 322.6)
-
Step 400
400 (this color)
#DF7DEC
oklch(73.6% 0.184 322.8)
-
Step 500
500
#C846D9
oklch(63.1% 0.234 322.9)
-
Step 600
600
#B312C7
oklch(55.5% 0.255 322.6)
-
Step 700
700
#9900AA
oklch(49.1% 0.232 322.8)
-
Step 800
800
#7D088B
oklch(42.7% 0.196 322.7)
-
Step 900
900
#65176F
oklch(37.7% 0.153 322.9)
-
Step 950
950
#3B1041
oklch(26.9% 0.097 322.6)
#DF7DEC 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) | #6E9BF0 | 0.171 |
| Deuteranopia (no green cones) | #8BA7E9 | 0.153 |
| Tritanopia (no blue cones) | #E28BAA | 0.111 |
| Achromatopsia (no color) | #A3A3A3 | 0.185 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DF7DEC
#DF7DEC
oklch(73.6% 0.184 322.8)
- #58C654
#58C654
oklch(73.7% 0.184 142.8)
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 #DF7DEC, closest first.
No curated palette has a color within ΔE 0.04 of #DF7DEC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.029
- Purply Pink #F075E6 ΔE 0.032
- Orchid #DA70D6 ΔE 0.039
- Lavender Pink #DD85D7 ΔE 0.039
- Liliac #C48EFD ΔE 0.057
- Light Purple #BF77F6 ΔE 0.061
- Candy Pink #FF63E9 ΔE 0.068
- Easter Purple #C071FE ΔE 0.071
Use #DF7DEC 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.