#AF7BDF
Closest named color: Light Purple (#BF77F6). oklch(67.5% 0.152 306.8), rgb(175, 123, 223).
Aa
Black text reads best on this color (6.72:1).
About this color
#AF7BDF is a medium-light, vivid purple. In OKLCH its lightness is 67%, its chroma 0.152 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.045 away. Black text reads best on it, at 6.72:1.
| Hue family | Purples |
| Lightness | medium-light (67%) |
| Chroma | vivid (0.152) |
| Temperature | in between |
| Nearest name | Light Purple (#BF77F6) |
| Black text | 6.72:1 |
| White text | 3.12:1 |
Values
| HEX | #AF7BDF |
| RGB | rgb(175, 123, 223) |
| HSL | hsl(271, 61%, 68%) |
| OKLCH | oklch(67.5% 0.152 306.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 #AF7BDF | 3.12:1 | AA large text | Lc -63.5 | Content text, not long reading |
| Black text on #AF7BDF | 6.72:1 | AA | Lc 46.0 | Large or bold text, headings |
| #AF7BDF text on white | 3.12:1 | AA large text | Lc 58.1 | Large or bold text, headings |
| #AF7BDF text on black | 6.72:1 | AA | Lc -43.7 | 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 400.
-
Step 50
50
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#EEE5F9
oklch(93.5% 0.028 306)
-
Step 200
200
#E2D1F5
oklch(88.6% 0.052 306.6)
-
Step 300
300
#D0B1F1
oklch(80.9% 0.094 306.5)
-
Step 400
400 (this color)
#AF7BDF
oklch(67.5% 0.152 306.8)
-
Step 500
500
#A862E3
oklch(63.1% 0.193 306.7)
-
Step 600
600
#9443D1
oklch(55.6% 0.211 306.9)
-
Step 700
700
#7E34B5
oklch(49.2% 0.195 306.7)
-
Step 800
800
#662C92
oklch(42.6% 0.162 306.8)
-
Step 900
900
#532A75
oklch(37.8% 0.126 306.5)
-
Step 950
950
#311944
oklch(27% 0.08 307.6)
#AF7BDF 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) | #6290E3 | 0.113 |
| Deuteranopia (no green cones) | #6F92DC | 0.103 |
| Tritanopia (no blue cones) | #A88BA2 | 0.111 |
| Achromatopsia (no color) | #929292 | 0.152 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF7BDF
#AF7BDF
oklch(67.5% 0.152 306.8)
- #7EA730
#7EA730
oklch(67.5% 0.152 126.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 #AF7BDF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Purple #BF77F6 ΔE 0.045
- Wisteria #A87DC2 ΔE 0.047
- Light Urple #B36FF6 ΔE 0.047
- Medium Purple #9370DB ΔE 0.056
- Easter Purple #C071FE ΔE 0.060
- Perrywinkle #8F8CE7 ΔE 0.060
- Pale Purple #B790D4 ΔE 0.061
- Soft Purple #A66FB5 ΔE 0.066
Use #AF7BDF 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.