#AF6FCC
Closest named color: Soft Purple (#A66FB5). oklch(64.6% 0.149 314.5), rgb(175, 111, 204).
Aa
Black text reads best on this color (5.96:1).
About this color
#AF6FCC is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.149 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.038 away. Black text reads best on it, at 5.96:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | vivid (0.149) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.96:1 |
| White text | 3.51:1 |
Values
| HEX | #AF6FCC |
| RGB | rgb(175, 111, 204) |
| HSL | hsl(281, 48%, 62%) |
| OKLCH | oklch(64.6% 0.149 314.5) |
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 #AF6FCC | 3.51:1 | AA large text | Lc -68.0 | Content text, not long reading |
| Black text on #AF6FCC | 5.96:1 | AA | Lc 41.6 | Non-text elements, placeholder text |
| #AF6FCC text on white | 3.51:1 | AA large text | Lc 62.5 | Content text, not long reading |
| #AF6FCC text on black | 5.96:1 | AA | Lc -39.2 | 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
#EFE6F4
oklch(93.6% 0.021 313.8)
-
Step 200
200
#E3D2EC
oklch(88.5% 0.04 314.1)
-
Step 300
300
#D2B3E2
oklch(80.9% 0.073 314.1)
-
Step 400
400
#BC8AD3
oklch(70.8% 0.117 314.8)
-
Step 500
500 (this color)
#AF6FCC
oklch(64.6% 0.149 314.5)
-
Step 600
600
#9650B4
oklch(55.7% 0.163 314.7)
-
Step 700
700
#7F409B
oklch(49.1% 0.151 314.2)
-
Step 800
800
#68357D
oklch(42.7% 0.125 315.1)
-
Step 900
900
#542F65
oklch(37.6% 0.098 314.2)
-
Step 950
950
#311C3B
oklch(26.9% 0.062 314.1)
#AF6FCC 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) | #5D85CF | 0.125 |
| Deuteranopia (no green cones) | #6E8AC9 | 0.113 |
| Tritanopia (no blue cones) | #AD7D94 | 0.101 |
| Achromatopsia (no color) | #898989 | 0.150 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF6FCC
#AF6FCC
oklch(64.6% 0.149 314.5)
- #65A13A
#65A13A
oklch(64.6% 0.149 134.4)
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 #AF6FCC, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.038
- Wisteria #A87DC2 ΔE 0.041
- Deep Lilac #966EBD ΔE 0.048
- Medium Purple #9370DB ΔE 0.052
- Amethyst #9B5FC0 ΔE 0.055
- Medium Orchid #BA55D3 ΔE 0.059
- Light Urple #B36FF6 ΔE 0.063
- Dark Lilac #9C6DA5 ΔE 0.068
Use #AF6FCC 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.