#AF30BE
Closest named color: Purply (#983FB2). oklch(56% 0.225 323.3), rgb(175, 48, 190).
Aa
White text reads best on this color (5.26:1).
About this color
#AF30BE is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.225 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.050 away. White text reads best on it, at 5.26:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.225) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.98:1 |
| White text | 5.26:1 |
Values
| HEX | #AF30BE |
| RGB | rgb(175, 48, 190) |
| HSL | hsl(294, 60%, 47%) |
| OKLCH | oklch(56% 0.225 323.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 #AF30BE | 5.26:1 | AA | Lc -80.3 | Fine for body text |
| Black text on #AF30BE | 3.98:1 | AA large text | Lc 29.1 | Dividers and decoration only |
| #AF30BE text on white | 5.26:1 | AA | Lc 74.9 | Content text, not long reading |
| #AF30BE text on black | 3.98:1 | AA large text | Lc -26.8 | 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
#FAF3FB
oklch(97.2% 0.013 321.9)
-
Step 100
100
#F4E4F5
oklch(93.7% 0.028 324)
-
Step 200
200
#ECCDEF
oklch(88.5% 0.057 323.3)
-
Step 300
300
#E1ABE7
oklch(81% 0.101 323.1)
-
Step 400
400
#D07ADA
oklch(70.6% 0.163 323.2)
-
Step 500
500
#C252D0
oklch(63.1% 0.208 323.1)
-
Step 600
600 (this color)
#AF30BE
oklch(56% 0.225 323.3)
-
Step 700
700
#951EA3
oklch(49.2% 0.21 323.2)
-
Step 800
800
#791D84
oklch(42.7% 0.174 323.2)
-
Step 900
900
#62206A
oklch(37.8% 0.136 323.2)
-
Step 950
950
#39143E
oklch(26.9% 0.086 322.8)
#AF30BE 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) | #0062C2 | 0.232 |
| Deuteranopia (no green cones) | #4871BB | 0.200 |
| Tritanopia (no blue cones) | #B24B75 | 0.134 |
| Achromatopsia (no color) | #6C6C6C | 0.227 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF30BE
#AF30BE
oklch(56% 0.225 323.3)
- #008E11
#008E11
oklch(56.1% 0.186 143.3)
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 #AF30BE, closest first.
No curated palette has a color within ΔE 0.04 of #AF30BE.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.050
- Dark Orchid #9932CC ΔE 0.050
- Purpley Pink #C83CB9 ΔE 0.057
- Vibrant Purple #AD03DE ΔE 0.060
- Medium Orchid #BA55D3 ΔE 0.071
- Pinky Purple #C94CBE ΔE 0.073
- Dark Violet #9400D3 ΔE 0.081
- Warm Purple #952E8F ΔE 0.087
Use #AF30BE 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.