#AF89E8
Closest named color: Pale Purple (#B790D4). oklch(70.3% 0.14 301.3), rgb(175, 137, 232).
Aa
Black text reads best on this color (7.56:1).
About this color
#AF89E8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 70%, its chroma 0.140 and its hue 301°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.041 away. Black text reads best on it, at 7.56:1.
| Hue family | Purples |
| Lightness | medium-light (70%) |
| Chroma | moderately saturated (0.140) |
| Temperature | in between |
| Nearest name | Pale Purple (#B790D4) |
| Black text | 7.56:1 |
| White text | 2.77:1 |
Values
| HEX | #AF89E8 |
| RGB | rgb(175, 137, 232) |
| HSL | hsl(264, 67%, 72%) |
| OKLCH | oklch(70.3% 0.14 301.3) |
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 #AF89E8 | 2.77:1 | Fails | Lc -58.6 | Large or bold text, headings |
| Black text on #AF89E8 | 7.56:1 | AAA | Lc 50.6 | Large or bold text, headings |
| #AF89E8 text on white | 2.77:1 | Fails | Lc 53.4 | Large or bold text, headings |
| #AF89E8 text on black | 7.56:1 | AAA | Lc -48.4 | Large or bold text, headings |
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 400.
-
Step 50
50
#F7F4FC
oklch(97.2% 0.011 303.1)
-
Step 100
100
#ECE6F9
oklch(93.5% 0.026 300.3)
-
Step 200
200
#DED2F5
oklch(88.4% 0.049 301)
-
Step 300
300
#CAB4F1
oklch(80.9% 0.088 301)
-
Step 400
400 (this color)
#AF89E8
oklch(70.3% 0.14 301.3)
-
Step 500
500
#9E6AE2
oklch(63.2% 0.178 301.5)
-
Step 600
600
#894DD0
oklch(55.5% 0.194 301.4)
-
Step 700
700
#743DB4
oklch(49% 0.18 301.2)
-
Step 800
800
#5F3392
oklch(42.7% 0.151 301.6)
-
Step 900
900
#4D2E74
oklch(37.6% 0.117 301.4)
-
Step 950
950
#2D1C44
oklch(27% 0.073 301.3)
#AF89E8 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) | #709BEC | 0.091 |
| Deuteranopia (no green cones) | #789BE6 | 0.085 |
| Tritanopia (no blue cones) | #A599AD | 0.109 |
| Achromatopsia (no color) | #9B9B9B | 0.141 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF89E8
#AF89E8
oklch(70.3% 0.14 301.3)
- #92AC3D
#92AC3D
oklch(70.2% 0.14 121.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 #AF89E8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Pale Purple #B790D4 ΔE 0.041
- Liliac #C48EFD ΔE 0.046
- Perrywinkle #8F8CE7 ΔE 0.048
- Light Purple #BF77F6 ΔE 0.054
- Lavender Blue #8B88F8 ΔE 0.059
- Periwinkle Blue #8F99FB ΔE 0.059
- Wisteria #A87DC2 ΔE 0.060
- Baby Purple #CA9BF7 ΔE 0.065
Use #AF89E8 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.