#AF6BD9
Closest named color: Light Urple (#B36FF6). oklch(64.6% 0.17 311), rgb(175, 107, 217).
Aa
Black text reads best on this color (5.92:1).
About this color
#AF6BD9 is a medium-light, vivid purple. In OKLCH its lightness is 65%, its chroma 0.170 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.043 away. Black text reads best on it, at 5.92:1.
| Hue family | Purples |
| Lightness | medium-light (65%) |
| Chroma | vivid (0.170) |
| Temperature | in between |
| Nearest name | Light Urple (#B36FF6) |
| Black text | 5.92:1 |
| White text | 3.54:1 |
Values
| HEX | #AF6BD9 |
| RGB | rgb(175, 107, 217) |
| HSL | hsl(277, 59%, 64%) |
| OKLCH | oklch(64.6% 0.17 311) |
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 #AF6BD9 | 3.54:1 | AA large text | Lc -68.2 | Content text, not long reading |
| Black text on #AF6BD9 | 5.92:1 | AA | Lc 41.4 | Non-text elements, placeholder text |
| #AF6BD9 text on white | 3.54:1 | AA large text | Lc 62.7 | Content text, not long reading |
| #AF6BD9 text on black | 5.92:1 | AA | Lc -39.0 | 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
#F8F3FB
oklch(97% 0.012 313.2)
-
Step 100
100
#EFE6F6
oklch(93.7% 0.023 310.7)
-
Step 200
200
#E3D1F0
oklch(88.5% 0.046 311.2)
-
Step 300
300
#D2B2E9
oklch(81% 0.083 310.8)
-
Step 400
400
#BB87DD
oklch(70.6% 0.133 311.1)
-
Step 500
500 (this color)
#AF6BD9
oklch(64.6% 0.17 311)
-
Step 600
600
#964AC1
oklch(55.6% 0.186 311.3)
-
Step 700
700
#7F3AA7
oklch(49% 0.173 310.7)
-
Step 800
800
#683187
oklch(42.7% 0.143 311.3)
-
Step 900
900
#542D6C
oklch(37.7% 0.11 310.8)
-
Step 950
950
#311B3F
oklch(27% 0.069 310.8)
#AF6BD9 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) | #4F85DD | 0.141 |
| Deuteranopia (no green cones) | #6389D6 | 0.127 |
| Tritanopia (no blue cones) | #AA7D98 | 0.119 |
| Achromatopsia (no color) | #888888 | 0.172 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF6BD9
#AF6BD9
oklch(64.6% 0.17 311)
- #68A214
#68A214
oklch(64.8% 0.171 131)
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 #AF6BD9, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Urple #B36FF6 ΔE 0.043
- Medium Orchid #BA55D3 ΔE 0.046
- Medium Purple #9370DB ΔE 0.047
- Light Purple #BF77F6 ΔE 0.055
- Amethyst #9B5FC0 ΔE 0.057
- Soft Purple #A66FB5 ΔE 0.059
- Deep Lilac #966EBD ΔE 0.061
- Wisteria #A87DC2 ΔE 0.061
Use #AF6BD9 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.