#D793EF
Closest named color: Baby Purple (#CA9BF7). oklch(76.3% 0.146 316.9), rgb(215, 147, 239).
Aa
Black text reads best on this color (9.30:1).
About this color
#D793EF is a medium-light, vivid purple. In OKLCH its lightness is 76%, its chroma 0.146 and its hue 317°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.027 away. Black text reads best on it, at 9.30:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | vivid (0.146) |
| Temperature | in between |
| Nearest name | Baby Purple (#CA9BF7) |
| Black text | 9.30:1 |
| White text | 2.25:1 |
Values
| HEX | #D793EF |
| RGB | rgb(215, 147, 239) |
| HSL | hsl(284, 74%, 76%) |
| OKLCH | oklch(76.3% 0.146 316.9) |
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 #D793EF | 2.25:1 | Fails | Lc -49.1 | Large or bold text, headings |
| Black text on #D793EF | 9.30:1 | AAA | Lc 59.7 | Large or bold text, headings |
| #D793EF text on white | 2.25:1 | Fails | Lc 44.3 | Non-text elements, placeholder text |
| #D793EF text on black | 9.30:1 | AAA | Lc -57.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
#F6E2FD
oklch(93.7% 0.042 317.4)
-
Step 200
200
#EFC9FD
oklch(88.5% 0.081 316.9)
-
Step 300
300 (this color)
#D793EF
oklch(76.3% 0.146 316.9)
-
Step 400
400
#D865FE
oklch(70.6% 0.233 316.9)
-
Step 500
500
#CD18FC
oklch(63.2% 0.299 317)
-
Step 600
600
#AE00D8
oklch(55.6% 0.271 316.9)
-
Step 700
700
#9300B7
oklch(49.1% 0.24 316.9)
-
Step 800
800
#790097
oklch(42.6% 0.208 316.9)
-
Step 900
900
#66007F
oklch(37.7% 0.184 317.2)
-
Step 950
950
#3D054D
oklch(27% 0.124 316.8)
#D793EF 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) | #85A8F2 | 0.122 |
| Deuteranopia (no green cones) | #96AFEC | 0.112 |
| Tritanopia (no blue cones) | #D79FB6 | 0.097 |
| Achromatopsia (no color) | #ADADAD | 0.147 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D793EF
#D793EF
oklch(76.3% 0.146 316.9)
- #84C767
#84C767
oklch(76.3% 0.146 137)
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 #D793EF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Baby Purple #CA9BF7 ΔE 0.027
- Pastel Purple #CAA0FF ΔE 0.037
- Lilac #CEA2FD ΔE 0.038
- Liliac #C48EFD ΔE 0.041
- Lavender Pink #DD85D7 ΔE 0.041
- Plum #DDA0DD ΔE 0.048
- Violet #EE82EE ΔE 0.050
- Pale Violet #CEAEFA ΔE 0.063
Use #D793EF 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.