#AF5FEC
Closest named color: Lighter Purple (#A55AF4). oklch(64% 0.209 307.7), rgb(175, 95, 236).
Aa
Black text reads best on this color (5.67:1).
About this color
#AF5FEC is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.209 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lighter Purple (#A55AF4), ΔE 0.025 away. Black text reads best on it, at 5.67:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | vivid (0.209) |
| Temperature | in between |
| Nearest name | Lighter Purple (#A55AF4) |
| Black text | 5.67:1 |
| White text | 3.70:1 |
Values
| HEX | #AF5FEC |
| RGB | rgb(175, 95, 236) |
| HSL | hsl(274, 79%, 65%) |
| OKLCH | oklch(64% 0.209 307.7) |
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 #AF5FEC | 3.70:1 | AA large text | Lc -69.6 | Content text, not long reading |
| Black text on #AF5FEC | 5.67:1 | AA | Lc 40.0 | Non-text elements, placeholder text |
| #AF5FEC text on white | 3.70:1 | AA large text | Lc 64.1 | Content text, not long reading |
| #AF5FEC text on black | 5.67:1 | AA | Lc -37.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
#F8F3FD
oklch(97.1% 0.014 308.3)
-
Step 100
100
#EFE5FA
oklch(93.6% 0.03 307.1)
-
Step 200
200
#E3D0F7
oklch(88.5% 0.057 307.2)
-
Step 300
300
#D3AFF4
oklch(80.9% 0.102 308)
-
Step 400
400
#BC81EF
oklch(70.6% 0.165 307.4)
-
Step 500
500 (this color)
#AF5FEC
oklch(64% 0.209 307.7)
-
Step 600
600
#983BD7
oklch(55.6% 0.228 307.7)
-
Step 700
700
#822BBA
oklch(49.1% 0.211 307.9)
-
Step 800
800
#692697
oklch(42.7% 0.176 307.5)
-
Step 900
900
#552678
oklch(37.7% 0.136 307.4)
-
Step 950
950
#321846
oklch(27.1% 0.085 307.8)
#AF5FEC 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) | #1F82F0 | 0.179 |
| Deuteranopia (no green cones) | #4886E9 | 0.159 |
| Tritanopia (no blue cones) | #A67B9D | 0.149 |
| Achromatopsia (no color) | #858585 | 0.211 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF5FEC
#AF5FEC
oklch(64% 0.209 307.7)
- #6F9E00
#6F9E00
oklch(64.1% 0.167 127.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 #AF5FEC, closest first.
No curated palette has a color within ΔE 0.04 of #AF5FEC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Lighter Purple #A55AF4 ΔE 0.025
- Light Urple #B36FF6 ΔE 0.036
- Medium Orchid #BA55D3 ΔE 0.044
- Bright Lavender #C760FF ΔE 0.050
- Bright Lilac #C95EFB ΔE 0.050
- Easter Purple #C071FE ΔE 0.054
- Light Purple #BF77F6 ΔE 0.061
- Medium Purple #9370DB ΔE 0.063
Use #AF5FEC 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.