#AF4CB1
Closest named color: Purpley Pink (#C83CB9). oklch(58.2% 0.179 326.8), rgb(175, 76, 177).
Aa
White text reads best on this color (4.67:1).
About this color
#AF4CB1 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.179 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.052 away. White text reads best on it, at 4.67:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.179) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.49:1 |
| White text | 4.67:1 |
Values
| HEX | #AF4CB1 |
| RGB | rgb(175, 76, 177) |
| HSL | hsl(299, 40%, 50%) |
| OKLCH | oklch(58.2% 0.179 326.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 #AF4CB1 | 4.67:1 | AA | Lc -77.3 | Fine for body text |
| Black text on #AF4CB1 | 4.49:1 | AA large text | Lc 32.2 | Non-text elements, placeholder text |
| #AF4CB1 text on white | 4.67:1 | AA | Lc 71.9 | Content text, not long reading |
| #AF4CB1 text on black | 4.49:1 | AA large text | Lc -29.8 | 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
#FAF3F9
oklch(97.1% 0.011 330.1)
-
Step 100
100
#F3E5F2
oklch(93.7% 0.023 327.9)
-
Step 200
200
#EACFE9
oklch(88.5% 0.046 327.1)
-
Step 300
300
#DDAFDC
oklch(80.9% 0.08 327)
-
Step 400
400
#CA83CA
oklch(70.7% 0.127 326.8)
-
Step 500
500
#BB61BD
oklch(63.1% 0.164 326.5)
-
Step 600
600 (this color)
#AF4CB1
oklch(58.2% 0.179 326.8)
-
Step 700
700
#8F3591
oklch(49.2% 0.166 326.9)
-
Step 800
800
#742D75
oklch(42.7% 0.137 327.1)
-
Step 900
900
#5E295F
oklch(37.7% 0.108 326.7)
-
Step 950
950
#371938
oklch(27% 0.068 326.1)
#AF4CB1 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) | #406CB4 | 0.179 |
| Deuteranopia (no green cones) | #6179AE | 0.157 |
| Tritanopia (no blue cones) | #B45877 | 0.102 |
| Achromatopsia (no color) | #747474 | 0.180 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF4CB1
#AF4CB1
oklch(58.2% 0.179 326.8)
- #009433
#009433
oklch(58.1% 0.174 146.8)
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 #AF4CB1, closest first.
No curated palette has a color within ΔE 0.04 of #AF4CB1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.052
- Pinky Purple #C94CBE ΔE 0.052
- Amethyst #9B5FC0 ΔE 0.053
- Purply #983FB2 ΔE 0.055
- Medium Orchid #BA55D3 ΔE 0.056
- Deep Lavender #8D5EB7 ΔE 0.068
- Soft Purple #A66FB5 ΔE 0.077
- Deep Lilac #966EBD ΔE 0.082
Use #AF4CB1 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.