#AF6BCC
Closest named color: Soft Purple (#A66FB5). oklch(63.9% 0.156 315), rgb(175, 107, 204).
Aa
Black text reads best on this color (5.79:1).
About this color
#AF6BCC is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.156 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.041 away. Black text reads best on it, at 5.79:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.156) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.79:1 |
| White text | 3.62:1 |
Values
| HEX | #AF6BCC |
| RGB | rgb(175, 107, 204) |
| HSL | hsl(282, 49%, 61%) |
| OKLCH | oklch(63.9% 0.156 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 #AF6BCC | 3.62:1 | AA large text | Lc -69.0 | Content text, not long reading |
| Black text on #AF6BCC | 5.79:1 | AA | Lc 40.5 | Non-text elements, placeholder text |
| #AF6BCC text on white | 3.62:1 | AA large text | Lc 63.5 | Content text, not long reading |
| #AF6BCC text on black | 5.79:1 | AA | Lc -38.1 | 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
#F0E6F4
oklch(93.7% 0.021 316.5)
-
Step 200
200
#E4D1ED
oklch(88.5% 0.043 315)
-
Step 300
300
#D4B2E3
oklch(80.9% 0.077 315.4)
-
Step 400
400
#BD88D5
oklch(70.6% 0.123 314.9)
-
Step 500
500 (this color)
#AF6BCC
oklch(63.9% 0.156 315)
-
Step 600
600
#984DB6
oklch(55.6% 0.17 315.3)
-
Step 700
700
#813E9D
oklch(49.2% 0.157 314.7)
-
Step 800
800
#69347F
oklch(42.8% 0.13 314.9)
-
Step 900
900
#552E66
oklch(37.6% 0.101 314.7)
-
Step 950
950
#321B3C
oklch(26.9% 0.066 314.9)
#AF6BCC 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) | #5782CF | 0.134 |
| Deuteranopia (no green cones) | #6B88C9 | 0.119 |
| Tritanopia (no blue cones) | #AD7992 | 0.104 |
| Achromatopsia (no color) | #868686 | 0.157 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF6BCC
#AF6BCC
oklch(63.9% 0.156 315)
- #5FA033
#5FA033
oklch(63.9% 0.157 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 #AF6BCC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.041
- Deep Lilac #966EBD ΔE 0.049
- Amethyst #9B5FC0 ΔE 0.049
- Wisteria #A87DC2 ΔE 0.050
- Medium Orchid #BA55D3 ΔE 0.050
- Medium Purple #9370DB ΔE 0.052
- Light Urple #B36FF6 ΔE 0.062
- Dark Lilac #9C6DA5 ΔE 0.069
Use #AF6BCC 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.