#DC8EF5
Closest named color: Violet (#EE82EE). oklch(76.3% 0.163 317.6), rgb(220, 142, 245).
Aa
Black text reads best on this color (9.23:1).
About this color
#DC8EF5 is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.163 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.037 away. Black text reads best on it, at 9.23:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | vivid (0.163) |
| Temperature | in between |
| Nearest name | Violet (#EE82EE) |
| Black text | 9.23:1 |
| White text | 2.27:1 |
Values
| HEX | #DC8EF5 |
| RGB | rgb(220, 142, 245) |
| HSL | hsl(285, 84%, 76%) |
| OKLCH | oklch(76.3% 0.163 317.6) |
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 #DC8EF5 | 2.27:1 | Fails | Lc -49.5 | Large or bold text, headings |
| Black text on #DC8EF5 | 9.23:1 | AAA | Lc 59.3 | Large or bold text, headings |
| #DC8EF5 text on white | 2.27:1 | Fails | Lc 44.6 | Non-text elements, placeholder text |
| #DC8EF5 text on black | 9.23:1 | AAA | Lc -57.5 | 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 300.
-
Step 50
50
#FCF1FF
oklch(97.1% 0.022 319)
-
Step 100
100
#F7E1FF
oklch(93.6% 0.046 317.1)
-
Step 200
200
#F1C8FF
oklch(88.5% 0.086 317.4)
-
Step 300
300 (this color)
#DC8EF5
oklch(76.3% 0.163 317.6)
-
Step 400
400
#DB62FF
oklch(70.7% 0.24 317.7)
-
Step 500
500
#CF00FD
oklch(63% 0.306 317.6)
-
Step 600
600
#AF00D6
oklch(55.6% 0.27 317.7)
-
Step 700
700
#9400B5
oklch(49.1% 0.238 317.8)
-
Step 800
800
#7A0096
oklch(42.7% 0.207 317.7)
-
Step 900
900
#66007E
oklch(37.6% 0.183 317.6)
-
Step 950
950
#3F004E
oklch(27% 0.131 318.2)
#DC8EF5 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) | #7DA7F9 | 0.141 |
| Deuteranopia (no green cones) | #92AEF2 | 0.127 |
| Tritanopia (no blue cones) | #DC9CB6 | 0.107 |
| Achromatopsia (no color) | #ACACAC | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DC8EF5
#DC8EF5
oklch(76.3% 0.163 317.6)
- #7CC95D
#7CC95D
oklch(76.2% 0.162 137.5)
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 #DC8EF5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Violet #EE82EE ΔE 0.037
- Baby Purple #CA9BF7 ΔE 0.039
- Liliac #C48EFD ΔE 0.041
- Lavender Pink #DD85D7 ΔE 0.044
- Pastel Purple #CAA0FF ΔE 0.047
- Lilac #CEA2FD ΔE 0.048
- Purply Pink #F075E6 ΔE 0.059
- Plum #DDA0DD ΔE 0.063
Use #DC8EF5 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.