#AF5FDF
Closest named color: Medium Orchid (#BA55D3). oklch(63.2% 0.195 310.9), rgb(175, 95, 223).
Aa
Black text reads best on this color (5.52:1).
About this color
#AF5FDF is a medium-light, vivid purple. In OKLCH its lightness is 63%, its chroma 0.195 and its hue 311°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.031 away. Black text reads best on it, at 5.52:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | vivid (0.195) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 5.52:1 |
| White text | 3.80:1 |
Values
| HEX | #AF5FDF |
| RGB | rgb(175, 95, 223) |
| HSL | hsl(278, 67%, 62%) |
| OKLCH | oklch(63.2% 0.195 310.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 #AF5FDF | 3.80:1 | AA large text | Lc -70.6 | Content text, not long reading |
| Black text on #AF5FDF | 5.52:1 | AA | Lc 39.0 | Non-text elements, placeholder text |
| #AF5FDF text on white | 3.80:1 | AA large text | Lc 65.1 | Content text, not long reading |
| #AF5FDF text on black | 5.52:1 | AA | Lc -36.6 | 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 500.
-
Step 50
50
#F8F3FC
oklch(97.1% 0.013 310.5)
-
Step 100
100
#F0E5F8
oklch(93.6% 0.028 311.3)
-
Step 200
200
#E4D0F4
oklch(88.5% 0.053 310.1)
-
Step 300
300
#D4AFEF
oklch(80.8% 0.097 310.5)
-
Step 400
400
#BF83E6
oklch(70.8% 0.152 310.9)
-
Step 500
500 (this color)
#AF5FDF
oklch(63.2% 0.195 310.9)
-
Step 600
600
#9A3FCC
oklch(55.5% 0.213 310.9)
-
Step 700
700
#8430B1
oklch(49.2% 0.198 310.9)
-
Step 800
800
#6B298F
oklch(42.7% 0.164 311)
-
Step 900
900
#572872
oklch(37.8% 0.127 311.1)
-
Step 950
950
#331843
oklch(27% 0.082 311.1)
#AF5FDF 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) | #347FE3 | 0.170 |
| Deuteranopia (no green cones) | #5484DC | 0.150 |
| Tritanopia (no blue cones) | #A97696 | 0.135 |
| Achromatopsia (no color) | #838383 | 0.197 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF5FDF
#AF5FDF
oklch(63.2% 0.195 310.9)
- #639D00
#639D00
oklch(63.1% 0.172 130.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 #AF5FDF, closest first.
No curated palette has a color within ΔE 0.04 of #AF5FDF.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.031
- Lighter Purple #A55AF4 ΔE 0.040
- Light Urple #B36FF6 ΔE 0.046
- Medium Purple #9370DB ΔE 0.058
- Amethyst #9B5FC0 ΔE 0.058
- Bright Lilac #C95EFB ΔE 0.061
- Bright Lavender #C760FF ΔE 0.062
- Easter Purple #C071FE ΔE 0.064
Use #AF5FDF 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.