#D797DF
Closest named color: Plum (#DDA0DD). oklch(76.3% 0.122 322.8), rgb(215, 151, 223).
Aa
Black text reads best on this color (9.38:1).
About this color
#D797DF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.122 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.026 away. Black text reads best on it, at 9.38:1.
| Hue family | Purples |
| Lightness | medium-light (76%) |
| Chroma | moderately saturated (0.122) |
| Temperature | in between |
| Nearest name | Plum (#DDA0DD) |
| Black text | 9.38:1 |
| White text | 2.23:1 |
Values
| HEX | #D797DF |
| RGB | rgb(215, 151, 223) |
| HSL | hsl(293, 53%, 73%) |
| OKLCH | oklch(76.3% 0.122 322.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 #D797DF | 2.23:1 | Fails | Lc -48.8 | Large or bold text, headings |
| Black text on #D797DF | 9.38:1 | AAA | Lc 60.0 | Large or bold text, headings |
| #D797DF text on white | 2.23:1 | Fails | Lc 44.0 | Non-text elements, placeholder text |
| #D797DF text on black | 9.38:1 | AAA | Lc -58.2 | 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
#FBF2FC
oklch(97.1% 0.016 322.7)
-
Step 100
100
#F6E2F8
oklch(93.5% 0.036 323.1)
-
Step 200
200
#EFCBF4
oklch(88.5% 0.067 322.2)
-
Step 300
300 (this color)
#D797DF
oklch(76.3% 0.122 322.8)
-
Step 400
400
#D870E6
oklch(70.7% 0.195 322.7)
-
Step 500
500
#CB3DDE
oklch(63% 0.249 322.7)
-
Step 600
600
#B500C9
oklch(55.6% 0.263 322.8)
-
Step 700
700
#9900AA
oklch(49.1% 0.232 322.8)
-
Step 800
800
#7E008D
oklch(42.7% 0.202 322.5)
-
Step 900
900
#671172
oklch(37.7% 0.162 322.7)
-
Step 950
950
#3D0E43
oklch(27.1% 0.103 323)
#D797DF 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) | #90A9E2 | 0.107 |
| Deuteranopia (no green cones) | #9FB0DD | 0.099 |
| Tritanopia (no blue cones) | #DA9EB1 | 0.075 |
| Achromatopsia (no color) | #ADADAD | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #D797DF
#D797DF
oklch(76.3% 0.122 322.8)
- #82C67E
#82C67E
oklch(76.3% 0.122 143)
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 #D797DF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Plum #DDA0DD ΔE 0.026
- Baby Purple #CA9BF7 ΔE 0.039
- Lavender Pink #DD85D7 ΔE 0.041
- Lilac #CEA2FD ΔE 0.046
- Pastel Purple #CAA0FF ΔE 0.049
- Pale Purple #B790D4 ΔE 0.057
- Pale Violet #CEAEFA ΔE 0.059
- Liliac #C48EFD ΔE 0.063
Use #D797DF 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.