#D790FA
Closest named color: Liliac (#C48EFD). oklch(76.3% 0.163 313.8), rgb(215, 144, 250).
Aa
Black text reads best on this color (9.25:1).
About this color
#D790FA is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.163 and its hue 314°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.032 away. Black text reads best on it, at 9.25:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | vivid (0.163) |
| Temperature | in between |
| Nearest name | Liliac (#C48EFD) |
| Black text | 9.25:1 |
| White text | 2.26:1 |
Values
| HEX | #D790FA |
| RGB | rgb(215, 144, 250) |
| HSL | hsl(280, 91%, 77%) |
| OKLCH | oklch(76.3% 0.163 313.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 #D790FA | 2.26:1 | Fails | Lc -49.3 | Large or bold text, headings |
| Black text on #D790FA | 9.25:1 | AAA | Lc 59.5 | Large or bold text, headings |
| #D790FA text on white | 2.26:1 | Fails | Lc 44.5 | Non-text elements, placeholder text |
| #D790FA text on black | 9.25:1 | AAA | Lc -57.6 | 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
#FAF2FF
oklch(97.1% 0.019 312.8)
-
Step 100
100
#F5E2FF
oklch(93.7% 0.044 314.2)
-
Step 200
200
#EDCAFF
oklch(88.5% 0.081 314.1)
-
Step 300
300 (this color)
#D790FA
oklch(76.3% 0.163 313.8)
-
Step 400
400
#D16CFF
oklch(70.7% 0.222 313.9)
-
Step 500
500
#C52BFF
oklch(63.1% 0.288 313.8)
-
Step 600
600
#AA00E0
oklch(55.6% 0.276 313.7)
-
Step 700
700
#9000BD
oklch(49.1% 0.243 314.1)
-
Step 800
800
#76009D
oklch(42.7% 0.212 313.7)
-
Step 900
900
#630084
oklch(37.6% 0.187 313.8)
-
Step 950
950
#3D0052
oklch(27% 0.134 314.3)
#D790FA 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) | #7CA8FE | 0.133 |
| Deuteranopia (no green cones) | #8EAEF7 | 0.122 |
| Tritanopia (no blue cones) | #D49FB9 | 0.112 |
| Achromatopsia (no color) | #ACACAC | 0.164 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D790FA
#D790FA
oklch(76.3% 0.163 313.8)
- #86C854
#86C854
oklch(76.4% 0.164 133.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 #D790FA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Liliac #C48EFD ΔE 0.032
- Baby Purple #CA9BF7 ΔE 0.032
- Pastel Purple #CAA0FF ΔE 0.040
- Lilac #CEA2FD ΔE 0.043
- Violet #EE82EE ΔE 0.047
- Lavender Pink #DD85D7 ΔE 0.052
- Plum #DDA0DD ΔE 0.066
- Purply Pink #F075E6 ΔE 0.068
Use #D790FA 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.