#AF6799
Closest named color: Dark Lilac (#9C6DA5). oklch(61% 0.112 339.3), rgb(175, 103, 153).
Aa
Black text reads best on this color (5.22:1).
About this color
#AF6799 is a medium-dark, moderately saturated pink. In OKLCH its lightness is 61%, its chroma 0.112 and its hue 339°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Lilac (#9C6DA5), ΔE 0.037 away. Black text reads best on it, at 5.22:1.
| Hue family | Pinks |
| Lightness | medium-dark (61%) |
| Chroma | moderately saturated (0.112) |
| Temperature | warm |
| Nearest name | Dark Lilac (#9C6DA5) |
| Black text | 5.22:1 |
| White text | 4.02:1 |
Values
| HEX | #AF6799 |
| RGB | rgb(175, 103, 153) |
| HSL | hsl(318, 31%, 55%) |
| OKLCH | oklch(61% 0.112 339.3) |
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 #AF6799 | 4.02:1 | AA large text | Lc -72.8 | Content text, not long reading |
| Black text on #AF6799 | 5.22:1 | AA | Lc 36.8 | Non-text elements, placeholder text |
| #AF6799 text on white | 4.02:1 | AA large text | Lc 67.3 | Content text, not long reading |
| #AF6799 text on black | 5.22:1 | AA | Lc -34.4 | Non-text elements, placeholder text |
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 500.
-
Step 50
50
#F9F4F7
oklch(97.2% 0.007 340.4)
-
Step 100
100
#F2E6ED
oklch(93.6% 0.016 341.4)
-
Step 200
200
#E8D2E0
oklch(88.6% 0.031 339.3)
-
Step 300
300
#DAB3CC
oklch(80.9% 0.056 339.8)
-
Step 400
400
#C68BB2
oklch(70.7% 0.088 339.9)
-
Step 500
500 (this color)
#AF6799
oklch(61% 0.112 339.3)
-
Step 600
600
#A1548A
oklch(55.6% 0.122 339.6)
-
Step 700
700
#894475
oklch(49% 0.113 339.4)
-
Step 800
800
#703860
oklch(42.7% 0.096 339.1)
-
Step 900
900
#5B314E
oklch(37.7% 0.074 339.7)
-
Step 950
950
#351D2E
oklch(27% 0.046 338.5)
#AF6799 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) | #6A789B | 0.114 |
| Deuteranopia (no green cones) | #7C8397 | 0.105 |
| Tritanopia (no blue cones) | #B76879 | 0.052 |
| Achromatopsia (no color) | #7F7F7F | 0.113 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF6799
#AF6799
oklch(61% 0.112 339.3)
- #3A976B
#3A976B
oklch(60.9% 0.111 159.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 #AF6799, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Dark Lilac #9C6DA5 ΔE 0.037
- Soft Purple #A66FB5 ΔE 0.044
- Mauve #AE7181 ΔE 0.051
- Faded Purple #916E99 ΔE 0.053
- Light Plum #9D5783 ΔE 0.058
- Dusky Rose #BA6873 ΔE 0.062
- Deep Lilac #966EBD ΔE 0.068
- Wisteria #A87DC2 ΔE 0.071
Use #AF6799 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.