#DC98F2
Closest named color: Baby Purple (#CA9BF7). oklch(77.7% 0.143 317.6), rgb(220, 152, 242).
Aa
Black text reads best on this color (9.81:1).
About this color
#DC98F2 is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.143 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.029 away. Black text reads best on it, at 9.81:1.
| Hue family | Purples |
| Lightness | medium-light (78%) |
| Chroma | vivid (0.143) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.81:1 |
| White text | 2.13:1 |
Values
| HEX | #DC98F2 |
| RGB | rgb(220, 152, 242) |
| HSL | hsl(285, 78%, 77%) |
| OKLCH | oklch(77.7% 0.143 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 #DC98F2 | 2.13:1 | Fails | Lc -46.5 | Large or bold text, headings |
| Black text on #DC98F2 | 9.81:1 | AAA | Lc 62.1 | Content text, not long reading |
| #DC98F2 text on white | 2.13:1 | Fails | Lc 41.8 | Non-text elements, placeholder text |
| #DC98F2 text on black | 9.81:1 | AAA | Lc -60.4 | Content text, not long reading |
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
#FBF2FE
oklch(97.2% 0.018 317.7)
-
Step 100
100
#F6E2FC
oklch(93.7% 0.041 318.4)
-
Step 200
200
#EFC9FC
oklch(88.4% 0.08 317.4)
-
Step 300
300 (this color)
#DC98F2
oklch(77.7% 0.143 317.6)
-
Step 400
400
#D966FB
oklch(70.7% 0.23 317.8)
-
Step 500
500
#CD1FF8
oklch(63.1% 0.293 317.8)
-
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
#3D064B
oklch(27% 0.121 318)
#DC98F2 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) | #8BADF5 | 0.120 |
| Deuteranopia (no green cones) | #9CB4EF | 0.110 |
| Tritanopia (no blue cones) | #DCA3BA | 0.094 |
| Achromatopsia (no color) | #B1B1B1 | 0.144 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DC98F2
#DC98F2
oklch(77.7% 0.143 317.6)
- #88CC6E
#88CC6E
oklch(77.8% 0.144 137.6)
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 #DC98F2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.029
- Lilac #CEA2FD ΔE 0.031
- Pastel Purple #CAA0FF ΔE 0.035
- Plum #DDA0DD ΔE 0.041
- Lavender Pink #DD85D7 ΔE 0.051
- Liliac #C48EFD ΔE 0.052
- Violet #EE82EE ΔE 0.053
- Pale Violet #CEAEFA ΔE 0.054
Use #DC98F2 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.