#AF4DDC
Closest named color: Medium Orchid (#BA55D3). oklch(60.8% 0.218 313.3), rgb(175, 77, 220).
Aa
Black text reads best on this color (4.91:1).
About this color
#AF4DDC is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.218 and its hue 313°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.032 away. Black text reads best on it, at 4.91:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.218) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.91:1 |
| White text | 4.27:1 |
Values
| HEX | #AF4DDC |
| RGB | rgb(175, 77, 220) |
| HSL | hsl(281, 67%, 58%) |
| OKLCH | oklch(60.8% 0.218 313.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 #AF4DDC | 4.27:1 | AA large text | Lc -74.3 | Content text, not long reading |
| Black text on #AF4DDC | 4.91:1 | AA | Lc 35.3 | Non-text elements, placeholder text |
| #AF4DDC text on white | 4.27:1 | AA large text | Lc 68.8 | Content text, not long reading |
| #AF4DDC text on black | 4.91:1 | AA | Lc -32.9 | 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
#F9F3FC
oklch(97.1% 0.013 314.8)
-
Step 100
100
#F1E4F9
oklch(93.5% 0.031 312.9)
-
Step 200
200
#E7CEF5
oklch(88.4% 0.059 313.5)
-
Step 300
300
#D9ACF2
oklch(80.9% 0.108 313.2)
-
Step 400
400
#C67DEB
oklch(70.8% 0.17 313.4)
-
Step 500
500 (this color)
#AF4DDC
oklch(60.8% 0.218 313.3)
-
Step 600
600
#A231D2
oklch(55.6% 0.236 313.2)
-
Step 700
700
#8B20B6
oklch(49.2% 0.22 313.3)
-
Step 800
800
#711F93
oklch(42.8% 0.182 313.5)
-
Step 900
900
#5B2175
oklch(37.6% 0.142 313.4)
-
Step 950
950
#351545
oklch(26.9% 0.09 312.7)
#AF4DDC 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) | #0075E0 | 0.203 |
| Deuteranopia (no green cones) | #447DD9 | 0.178 |
| Tritanopia (no blue cones) | #AA698E | 0.145 |
| Achromatopsia (no color) | #7A7A7A | 0.219 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF4DDC
#AF4DDC
oklch(60.8% 0.218 313.3)
- #559700
#559700
oklch(60.8% 0.173 133.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 #AF4DDC, closest first.
No curated palette has a color within ΔE 0.04 of #AF4DDC.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.032
- Lighter Purple #A55AF4 ΔE 0.045
- Amethyst #9B5FC0 ΔE 0.066
- Dark Orchid #9932CC ΔE 0.068
- Pinky Purple #C94CBE ΔE 0.069
- Bright Lilac #C95EFB ΔE 0.072
- Purpley #8756E4 ΔE 0.073
- Purpley Pink #C83CB9 ΔE 0.074
Use #AF4DDC 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.