#DC7EF2
Closest named color: Violet (#EE82EE). oklch(73.7% 0.186 319.8), rgb(220, 126, 242).
Aa
Black text reads best on this color (8.30:1).
About this color
#DC7EF2 is a medium-light, vivid purple. In OKLCH its lightness is 74%, its chroma 0.186 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.034 away. Black text reads best on it, at 8.30:1.
| Hue family | Purples |
| Lightness | medium-light (74%) |
| Chroma | vivid (0.186) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 8.30:1 |
| White text | 2.52:1 |
Values
| HEX | #DC7EF2 |
| RGB | rgb(220, 126, 242) |
| HSL | hsl(289, 82%, 72%) |
| OKLCH | oklch(73.7% 0.186 319.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 #DC7EF2 | 2.52:1 | Fails | Lc -54.3 | Large or bold text, headings |
| Black text on #DC7EF2 | 8.30:1 | AAA | Lc 54.8 | Large or bold text, headings |
| #DC7EF2 text on white | 2.52:1 | Fails | Lc 49.2 | Large or bold text, headings |
| #DC7EF2 text on black | 8.30:1 | AAA | Lc -52.8 | 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
#E2A8F0
oklch(80.9% 0.117 319.7)
-
Step 400
400 (this color)
#DC7EF2
oklch(73.7% 0.186 319.8)
-
Step 500
500
#C546E0
oklch(63.1% 0.238 320.1)
-
Step 600
600
#B013CE
oklch(55.6% 0.259 319.8)
-
Step 700
700
#9600B1
oklch(49.1% 0.236 319.7)
-
Step 800
800
#7B0990
oklch(42.7% 0.199 320)
-
Step 900
900
#631873
oklch(37.7% 0.155 319.8)
-
Step 950
950
#3A1143
oklch(27% 0.097 319.9)
#DC7EF2 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) | #6B9CF6 | 0.169 |
| Deuteranopia (no green cones) | #86A6EF | 0.151 |
| Tritanopia (no blue cones) | #DD8EAD | 0.118 |
| Achromatopsia (no color) | #A3A3A3 | 0.188 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DC7EF2
#DC7EF2
oklch(73.7% 0.186 319.8)
- #62C549
#62C549
oklch(73.7% 0.187 139.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 #DC7EF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.034
- Purply Pink #F075E6 ΔE 0.039
- Orchid #DA70D6 ΔE 0.046
- Lavender Pink #DD85D7 ΔE 0.046
- Liliac #C48EFD ΔE 0.050
- Light Purple #BF77F6 ΔE 0.055
- Easter Purple #C071FE ΔE 0.063
- Baby Purple #CA9BF7 ΔE 0.068
Use #DC7EF2 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.