#DC97ED
Closest named color: Baby Purple (#CA9BF7). oklch(77.4% 0.14 319.5), rgb(220, 151, 237).
Aa
Black text reads best on this color (9.69:1).
About this color
#DC97ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.140 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.031 away. Black text reads best on it, at 9.69:1.
| Hue family | Purples |
| Lightness | medium-light (77%) |
| Chroma | moderately saturated (0.140) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.69:1 |
| White text | 2.16:1 |
Values
| HEX | #DC97ED |
| RGB | rgb(220, 151, 237) |
| HSL | hsl(288, 70%, 76%) |
| OKLCH | oklch(77.4% 0.14 319.5) |
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 #DC97ED | 2.16:1 | Fails | Lc -47.1 | Large or bold text, headings |
| Black text on #DC97ED | 9.69:1 | AAA | Lc 61.5 | Content text, not long reading |
| #DC97ED text on white | 2.16:1 | Fails | Lc 42.4 | Non-text elements, placeholder text |
| #DC97ED text on black | 9.69:1 | AAA | Lc -59.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 300.
-
Step 50
50
#FBF2FE
oklch(97.2% 0.018 317.7)
-
Step 100
100
#F6E2FB
oklch(93.6% 0.04 319.5)
-
Step 200
200
#F0C9FA
oklch(88.4% 0.078 319.3)
-
Step 300
300 (this color)
#DC97ED
oklch(77.4% 0.14 319.5)
-
Step 400
400
#DA67F6
oklch(70.6% 0.224 319.4)
-
Step 500
500
#CE24F1
oklch(63% 0.285 319.5)
-
Step 600
600
#B100D1
oklch(55.5% 0.267 319.5)
-
Step 700
700
#9600B1
oklch(49.1% 0.236 319.7)
-
Step 800
800
#7C0093
oklch(42.8% 0.206 319.6)
-
Step 900
900
#68007B
oklch(37.7% 0.181 319.8)
-
Step 950
950
#3E0749
oklch(27.1% 0.118 320)
#DC97ED 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) | #8CABF0 | 0.119 |
| Deuteranopia (no green cones) | #9DB3EA | 0.110 |
| Tritanopia (no blue cones) | #DDA1B7 | 0.089 |
| Achromatopsia (no color) | #B0B0B0 | 0.140 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DC97ED
#DC97ED
oklch(77.4% 0.14 319.5)
- #84CB73
#84CB73
oklch(77.4% 0.14 139.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 #DC97ED, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.031
- Lilac #CEA2FD ΔE 0.035
- Plum #DDA0DD ΔE 0.036
- Pastel Purple #CAA0FF ΔE 0.039
- Lavender Pink #DD85D7 ΔE 0.046
- Violet #EE82EE ΔE 0.053
- Liliac #C48EFD ΔE 0.054
- Pale Violet #CEAEFA ΔE 0.056
Use #DC97ED 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.