#AF7DCA
Closest named color: Wisteria (#A87DC2). oklch(66.8% 0.123 313.1), rgb(175, 125, 202).
Aa
Black text reads best on this color (6.60:1).
About this color
#AF7DCA is a medium-light, moderately saturated purple. In OKLCH its lightness is 67%, its chroma 0.123 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.017 away. Black text reads best on it, at 6.60:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | moderately saturated (0.123) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.60:1 |
| White text | 3.17:1 |
Values
| HEX | #AF7DCA |
| RGB | rgb(175, 125, 202) |
| HSL | hsl(279, 42%, 64%) |
| OKLCH | oklch(66.8% 0.123 313.1) |
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 #AF7DCA | 3.17:1 | AA large text | Lc -64.2 | Content text, not long reading |
| Black text on #AF7DCA | 6.60:1 | AA | Lc 45.3 | Large or bold text, headings |
| #AF7DCA text on white | 3.17:1 | AA large text | Lc 58.8 | Large or bold text, headings |
| #AF7DCA text on black | 6.60:1 | AA | Lc -42.9 | 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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EEE7F2
oklch(93.7% 0.016 313.6)
-
Step 200
200
#E1D3E9
oklch(88.5% 0.033 313.5)
-
Step 300
300
#CEB6DD
oklch(80.9% 0.06 312.4)
-
Step 400
400
#B68FCB
oklch(70.7% 0.095 313.5)
-
Step 500
500 (this color)
#AF7DCA
oklch(66.8% 0.123 313.1)
-
Step 600
600
#8E59AA
oklch(55.6% 0.133 312.9)
-
Step 700
700
#794892
oklch(49% 0.125 313.2)
-
Step 800
800
#623C76
oklch(42.6% 0.102 313)
-
Step 900
900
#503460
oklch(37.7% 0.08 312.3)
-
Step 950
950
#2F1F38
oklch(27.1% 0.05 312.7)
#AF7DCA 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) | #6F8ECD | 0.097 |
| Deuteranopia (no green cones) | #7B92C8 | 0.090 |
| Tritanopia (no blue cones) | #AD889A | 0.086 |
| Achromatopsia (no color) | #909090 | 0.124 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7DCA
#AF7DCA
oklch(66.8% 0.123 313.1)
- #76A553
#76A553
oklch(66.9% 0.123 133.3)
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 #AF7DCA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.017
- Soft Purple #A66FB5 ΔE 0.045
- Pale Purple #B790D4 ΔE 0.050
- Heather #A484AC ΔE 0.056
- Deep Lilac #966EBD ΔE 0.060
- Dusty Lavender #AC86A8 ΔE 0.063
- Perrywinkle #8F8CE7 ΔE 0.067
- Medium Purple #9370DB ΔE 0.067
Use #AF7DCA 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.