#AF6BC2
Closest named color: Soft Purple (#A66FB5). oklch(63.4% 0.145 318.6), rgb(175, 107, 194).
Aa
Black text reads best on this color (5.70:1).
About this color
#AF6BC2 is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.145 and its hue 319°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.028 away. Black text reads best on it, at 5.70:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.70:1 |
| White text | 3.68:1 |
Values
| HEX | #AF6BC2 |
| RGB | rgb(175, 107, 194) |
| HSL | hsl(287, 42%, 59%) |
| OKLCH | oklch(63.4% 0.145 318.6) |
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 #AF6BC2 | 3.68:1 | AA large text | Lc -69.6 | Content text, not long reading |
| Black text on #AF6BC2 | 5.70:1 | AA | Lc 39.9 | Non-text elements, placeholder text |
| #AF6BC2 text on white | 3.68:1 | AA large text | Lc 64.1 | Content text, not long reading |
| #AF6BC2 text on black | 5.70:1 | AA | Lc -37.5 | 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
#F8F3FA
oklch(97% 0.011 316.5)
-
Step 100
100
#F0E6F3
oklch(93.7% 0.02 318.4)
-
Step 200
200
#E5D1EA
oklch(88.5% 0.04 319.5)
-
Step 300
300
#D5B3DE
oklch(81% 0.07 319.1)
-
Step 400
400
#BF89CE
oklch(70.7% 0.114 318.8)
-
Step 500
500 (this color)
#AF6BC2
oklch(63.4% 0.145 318.6)
-
Step 600
600
#9950AD
oklch(55.6% 0.157 318.6)
-
Step 700
700
#834095
oklch(49.2% 0.147 318.7)
-
Step 800
800
#6A3579
oklch(42.7% 0.122 318.4)
-
Step 900
900
#562F61
oklch(37.6% 0.094 318.5)
-
Step 950
950
#331C39
oklch(27.1% 0.06 319.1)
#AF6BC2 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) | #5D81C5 | 0.128 |
| Deuteranopia (no green cones) | #7088BF | 0.115 |
| Tritanopia (no blue cones) | #AF778D | 0.094 |
| Achromatopsia (no color) | #858585 | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF6BC2
#AF6BC2
oklch(63.4% 0.145 318.6)
- #599F43
#599F43
oklch(63.5% 0.145 138.8)
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 #AF6BC2, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.028
- Deep Lilac #966EBD ΔE 0.043
- Wisteria #A87DC2 ΔE 0.044
- Amethyst #9B5FC0 ΔE 0.048
- Dark Lilac #9C6DA5 ΔE 0.056
- Medium Orchid #BA55D3 ΔE 0.058
- Medium Purple #9370DB ΔE 0.060
- Deep Lavender #8D5EB7 ΔE 0.071
Use #AF6BC2 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.