#AF47C6
Closest named color: Medium Orchid (#BA55D3). oklch(58.7% 0.205 319.9), rgb(175, 71, 198).
Aa
White text reads best on this color (4.62:1).
About this color
#AF47C6 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.205 and its hue 320°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.038 away. White text reads best on it, at 4.62:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.205) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.53:1 |
| White text | 4.62:1 |
Values
| HEX | #AF47C6 |
| RGB | rgb(175, 71, 198) |
| HSL | hsl(289, 53%, 53%) |
| OKLCH | oklch(58.7% 0.205 319.9) |
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 #AF47C6 | 4.62:1 | AA | Lc -76.8 | Fine for body text |
| Black text on #AF47C6 | 4.53:1 | AA | Lc 32.7 | Non-text elements, placeholder text |
| #AF47C6 text on white | 4.62:1 | AA | Lc 71.4 | Content text, not long reading |
| #AF47C6 text on black | 4.53:1 | AA | Lc -30.3 | 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 600.
-
Step 50
50
#F9F3FB
oklch(97.1% 0.012 317.7)
-
Step 100
100
#F2E4F5
oklch(93.5% 0.027 320.2)
-
Step 200
200
#E9CFEF
oklch(88.6% 0.051 319.9)
-
Step 300
300
#DBAEE6
oklch(80.9% 0.091 319.6)
-
Step 400
400
#C980D9
oklch(70.7% 0.147 320.2)
-
Step 500
500
#BA5CCF
oklch(63.2% 0.188 320)
-
Step 600
600 (this color)
#AF47C6
oklch(58.7% 0.205 319.9)
-
Step 700
700
#8D2DA2
oklch(49.1% 0.191 319.8)
-
Step 800
800
#732783
oklch(42.7% 0.158 320.2)
-
Step 900
900
#5D2669
oklch(37.7% 0.123 320.1)
-
Step 950
950
#37173E
oklch(27% 0.079 320.2)
#AF47C6 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) | #226ECA | 0.202 |
| Deuteranopia (no green cones) | #5178C3 | 0.174 |
| Tritanopia (no blue cones) | #B05D80 | 0.128 |
| Achromatopsia (no color) | #757575 | 0.206 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF47C6
#AF47C6
oklch(58.7% 0.205 319.9)
- #2D9500
#2D9500
oklch(58.7% 0.189 139.9)
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 #AF47C6, closest first.
No curated palette has a color within ΔE 0.04 of #AF47C6.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.038
- Purpley Pink #C83CB9 ΔE 0.052
- Pinky Purple #C94CBE ΔE 0.055
- Purply #983FB2 ΔE 0.055
- Amethyst #9B5FC0 ΔE 0.058
- Dark Orchid #9932CC ΔE 0.060
- Lighter Purple #A55AF4 ΔE 0.077
- Vibrant Purple #AD03DE ΔE 0.077
Use #AF47C6 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.