#AF71CA
Closest named color: Soft Purple (#A66FB5). oklch(64.8% 0.144 315), rgb(175, 113, 202).
Aa
Black text reads best on this color (6.03:1).
About this color
#AF71CA is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.144 and its hue 315°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.035 away. Black text reads best on it, at 6.03:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | vivid (0.144) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 6.03:1 |
| White text | 3.47:1 |
Values
| HEX | #AF71CA |
| RGB | rgb(175, 113, 202) |
| HSL | hsl(282, 46%, 62%) |
| OKLCH | oklch(64.8% 0.144 315) |
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 #AF71CA | 3.47:1 | AA large text | Lc -67.6 | Content text, not long reading |
| Black text on #AF71CA | 6.03:1 | AA | Lc 42.0 | Non-text elements, placeholder text |
| #AF71CA text on white | 3.47:1 | AA large text | Lc 62.1 | Content text, not long reading |
| #AF71CA text on black | 6.03:1 | AA | Lc -39.6 | 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
#F8F4FA
oklch(97.2% 0.009 314.8)
-
Step 100
100
#EFE6F3
oklch(93.6% 0.02 315.7)
-
Step 200
200
#E3D2EB
oklch(88.5% 0.038 315.1)
-
Step 300
300
#D2B3E0
oklch(80.8% 0.071 315.3)
-
Step 400
400
#BB8BD1
oklch(70.8% 0.112 314.8)
-
Step 500
500 (this color)
#AF71CA
oklch(64.8% 0.144 315)
-
Step 600
600
#9552B1
oklch(55.7% 0.156 315)
-
Step 700
700
#7F4298
oklch(49.2% 0.145 315.1)
-
Step 800
800
#67377B
oklch(42.7% 0.119 315)
-
Step 900
900
#543063
oklch(37.7% 0.094 315.2)
-
Step 950
950
#311D3A
oklch(27% 0.058 314.7)
#AF71CA 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) | #6086CD | 0.121 |
| Deuteranopia (no green cones) | #718BC7 | 0.109 |
| Tritanopia (no blue cones) | #AD7E94 | 0.097 |
| Achromatopsia (no color) | #898989 | 0.145 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF71CA
#AF71CA
oklch(64.8% 0.144 315)
- #66A141
#66A141
oklch(64.7% 0.143 135.1)
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 #AF71CA, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.035
- Wisteria #A87DC2 ΔE 0.035
- Deep Lilac #966EBD ΔE 0.047
- Medium Purple #9370DB ΔE 0.054
- Amethyst #9B5FC0 ΔE 0.058
- Medium Orchid #BA55D3 ΔE 0.064
- Dark Lilac #9C6DA5 ΔE 0.065
- Light Urple #B36FF6 ΔE 0.067
Use #AF71CA 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.