#AF00D6
Closest named color: Vibrant Purple (#AD03DE). oklch(55.6% 0.27 317.7), rgb(175, 0, 214).
Aa
White text reads best on this color (5.53:1).
About this color
#AF00D6 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.270 and its hue 318°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Vibrant Purple (#AD03DE), ΔE 0.014 away. White text reads best on it, at 5.53:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.270) |
| Temperature | in between |
| Nearest name | Vibrant Purple (#AD03DE) |
| Black text | 3.79:1 |
| White text | 5.53:1 |
Values
| HEX | #AF00D6 |
| RGB | rgb(175, 0, 214) |
| HSL | hsl(289, 100%, 42%) |
| OKLCH | oklch(55.6% 0.27 317.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 #AF00D6 | 5.53:1 | AA | Lc -80.5 | Fine for body text |
| Black text on #AF00D6 | 3.79:1 | AA large text | Lc 29.0 | Dividers and decoration only |
| #AF00D6 text on white | 5.53:1 | AA | Lc 75.1 | Fine for body text |
| #AF00D6 text on black | 3.79:1 | AA large text | Lc -26.6 | Dividers and decoration only |
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 600.
-
Step 50
50
#FAF2FD
oklch(97% 0.017 316.9)
-
Step 100
100
#F4E3FA
oklch(93.6% 0.036 317.3)
-
Step 200
200
#ECCCF7
oklch(88.5% 0.067 317.4)
-
Step 300
300
#E1A7F4
oklch(80.8% 0.122 317.6)
-
Step 400
400
#D173EE
oklch(70.7% 0.194 317.7)
-
Step 500
500
#C343E8
oklch(63.1% 0.248 317.5)
-
Step 600
600 (this color)
#AF00D6
oklch(55.6% 0.27 317.7)
-
Step 700
700
#9400B5
oklch(49.1% 0.238 317.8)
-
Step 800
800
#7A0096
oklch(42.7% 0.207 317.7)
-
Step 900
900
#631578
oklch(37.8% 0.162 317.7)
-
Step 950
950
#3A1046
oklch(27.1% 0.102 317.8)
#AF00D6 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) | #0060DB | 0.241 |
| Deuteranopia (no green cones) | #0D6DD2 | 0.244 |
| Tritanopia (no blue cones) | #AD487D | 0.168 |
| Achromatopsia (no color) | #686868 | 0.273 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF00D6
#AF00D6
oklch(55.6% 0.27 317.7)
- #388800
#388800
oklch(55.4% 0.17 137.6)
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 #AF00D6, closest first.
No curated palette has a color within ΔE 0.04 of #AF00D6.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Vibrant Purple #AD03DE ΔE 0.014
- Dark Orchid #9932CC ΔE 0.052
- Dark Violet #9400D3 ΔE 0.055
- Bright Violet #AD0AFD ΔE 0.061
- Bright Purple #BE03FD ΔE 0.064
- Neon Purple #BC13FE ΔE 0.065
- Electric Purple #AA23FF ΔE 0.068
- Hot Purple #CB00F5 ΔE 0.070
Use #AF00D6 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.