#DC9CF2
Closest named color: Lilac (#CEA2FD). oklch(78.4% 0.136 317.2), rgb(220, 156, 242).
Aa
Black text reads best on this color (10.08:1).
About this color
#DC9CF2 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.136 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.027 away. Black text reads best on it, at 10.08:1.
| Hue family | Purples |
| Lightness | light (78%) |
| Chroma | moderately saturated (0.136) |
| Temperature | in between |
| Nearest name | Lilac (#CEA2FD) |
| Black text | 10.08:1 |
| White text | 2.08:1 |
Values
| HEX | #DC9CF2 |
| RGB | rgb(220, 156, 242) |
| HSL | hsl(285, 77%, 78%) |
| OKLCH | oklch(78.4% 0.136 317.2) |
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 #DC9CF2 | 2.08:1 | Fails | Lc -45.2 | Large or bold text, headings |
| Black text on #DC9CF2 | 10.08:1 | AAA | Lc 63.4 | Content text, not long reading |
| #DC9CF2 text on white | 2.08:1 | Fails | Lc 40.6 | Non-text elements, placeholder text |
| #DC9CF2 text on black | 10.08:1 | AAA | Lc -61.7 | 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
#F5E2FC
oklch(93.6% 0.04 317)
-
Step 200
200
#EECAFB
oklch(88.5% 0.076 317)
-
Step 300
300 (this color)
#DC9CF2
oklch(78.4% 0.136 317.2)
-
Step 400
400
#D66BF8
oklch(70.8% 0.218 317.3)
-
Step 500
500
#C92EF4
oklch(63.1% 0.279 317.2)
-
Step 600
600
#AF00D7
oklch(55.7% 0.271 317.4)
-
Step 700
700
#9300B6
oklch(49% 0.239 317.1)
-
Step 800
800
#7A0097
oklch(42.8% 0.208 317.3)
-
Step 900
900
#66027F
oklch(37.8% 0.182 317.2)
-
Step 950
950
#3C0A4A
oklch(27.1% 0.115 317.5)
#DC9CF2 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) | #90B0F5 | 0.113 |
| Deuteranopia (no green cones) | #9FB6EF | 0.104 |
| Tritanopia (no blue cones) | #DCA7BC | 0.091 |
| Achromatopsia (no color) | #B4B4B4 | 0.137 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #DC9CF2
#DC9CF2
oklch(78.4% 0.136 317.2)
- #8DCD74
#8DCD74
oklch(78.4% 0.137 137.4)
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 #DC9CF2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lilac #CEA2FD ΔE 0.027
- Baby Purple #CA9BF7 ΔE 0.030
- Pastel Purple #CAA0FF ΔE 0.033
- Plum #DDA0DD ΔE 0.035
- Pale Violet #CEAEFA ΔE 0.045
- Light Violet #D6B4FC ΔE 0.056
- Lavender Pink #DD85D7 ΔE 0.058
- Liliac #C48EFD ΔE 0.059
Use #DC9CF2 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.