#AF48A2
Closest named color: Purply (#983FB2). oklch(56.9% 0.172 332.8), rgb(175, 72, 162).
Aa
White text reads best on this color (4.91:1).
About this color
#AF48A2 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.172 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.059 away. White text reads best on it, at 4.91:1.
| Hue family | Purples |
| Lightness | medium-dark (57%) |
| Chroma | vivid (0.172) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 4.27:1 |
| White text | 4.91:1 |
Values
| HEX | #AF48A2 |
| RGB | rgb(175, 72, 162) |
| HSL | hsl(308, 42%, 48%) |
| OKLCH | oklch(56.9% 0.172 332.8) |
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 #AF48A2 | 4.91:1 | AA | Lc -78.8 | Fine for body text |
| Black text on #AF48A2 | 4.27:1 | AA large text | Lc 30.7 | Non-text elements, placeholder text |
| #AF48A2 text on white | 4.91:1 | AA | Lc 73.4 | Content text, not long reading |
| #AF48A2 text on black | 4.27:1 | AA large text | Lc -28.3 | Dividers and decoration only |
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
#FAF3F8
oklch(97.1% 0.01 335.5)
-
Step 100
100
#F4E5F0
oklch(93.7% 0.022 334.9)
-
Step 200
200
#EBCFE6
oklch(88.5% 0.044 331.9)
-
Step 300
300
#DFAFD6
oklch(80.9% 0.076 332.8)
-
Step 400
400
#CE82C2
oklch(70.6% 0.125 332.7)
-
Step 500
500
#C060B2
oklch(63.1% 0.159 333)
-
Step 600
600 (this color)
#AF48A2
oklch(56.9% 0.172 332.8)
-
Step 700
700
#923587
oklch(49.1% 0.159 332.7)
-
Step 800
800
#772D6E
oklch(42.8% 0.132 332.6)
-
Step 900
900
#602959
oklch(37.7% 0.103 332.5)
-
Step 950
950
#391934
oklch(27.1% 0.065 333.4)
#AF48A2 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) | #4567A5 | 0.178 |
| Deuteranopia (no green cones) | #65769F | 0.157 |
| Tritanopia (no blue cones) | #B6506E | 0.090 |
| Achromatopsia (no color) | #707070 | 0.174 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF48A2
#AF48A2
oklch(56.9% 0.172 332.8)
- #008F4A
#008F4A
oklch(57% 0.148 152.7)
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 #AF48A2, closest first.
No curated palette has a color within ΔE 0.04 of #AF48A2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.059
- Purpley Pink #C83CB9 ΔE 0.060
- Pinky Purple #C94CBE ΔE 0.064
- Amethyst #9B5FC0 ΔE 0.068
- Light Plum #9D5783 ΔE 0.070
- Deep Lavender #8D5EB7 ΔE 0.077
- Warm Purple #952E8F ΔE 0.077
- Medium Violet Red #C71585 ΔE 0.078
Use #AF48A2 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.