#AF45C1
Closest named color: Medium Orchid (#BA55D3). oklch(58.2% 0.203 321.6), rgb(175, 69, 193).
Aa
White text reads best on this color (4.72:1).
About this color
#AF45C1 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.203 and its hue 322°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.044 away. White text reads best on it, at 4.72:1.
| Hue family | Purples |
| Lightness | medium-dark (58%) |
| Chroma | vivid (0.203) |
| Temperature | in between |
| Nearest name | Medium Orchid (#BA55D3) |
| Black text | 4.44:1 |
| White text | 4.72:1 |
Values
| HEX | #AF45C1 |
| RGB | rgb(175, 69, 193) |
| HSL | hsl(291, 50%, 51%) |
| OKLCH | oklch(58.2% 0.203 321.6) |
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 #AF45C1 | 4.72:1 | AA | Lc -77.5 | Fine for body text |
| Black text on #AF45C1 | 4.44:1 | AA large text | Lc 32.1 | Non-text elements, placeholder text |
| #AF45C1 text on white | 4.72:1 | AA | Lc 72.0 | Content text, not long reading |
| #AF45C1 text on black | 4.44:1 | AA large text | Lc -29.7 | 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
#F9F3FA
oklch(97.1% 0.011 321.3)
-
Step 100
100
#F2E4F5
oklch(93.5% 0.027 320.2)
-
Step 200
200
#E9CFEE
oklch(88.5% 0.05 320.8)
-
Step 300
300
#DCADE4
oklch(80.8% 0.091 321.5)
-
Step 400
400
#CA80D7
oklch(70.8% 0.146 321.4)
-
Step 500
500
#BB5BCC
oklch(63.1% 0.187 321.4)
-
Step 600
600 (this color)
#AF45C1
oklch(58.2% 0.203 321.6)
-
Step 700
700
#8F2D9F
oklch(49.2% 0.189 321.7)
-
Step 800
800
#742781
oklch(42.7% 0.157 321.6)
-
Step 900
900
#5E2667
oklch(37.7% 0.121 321.9)
-
Step 950
950
#37173D
oklch(27% 0.078 321.1)
#AF45C1 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) | #256CC5 | 0.203 |
| Deuteranopia (no green cones) | #5377BE | 0.174 |
| Tritanopia (no blue cones) | #B1597D | 0.123 |
| Achromatopsia (no color) | #737373 | 0.205 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #AF45C1
#AF45C1
oklch(58.2% 0.203 321.6)
- #189500
#189500
oklch(58.3% 0.194 141.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 #AF45C1, closest first.
No curated palette has a color within ΔE 0.04 of #AF45C1.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Medium Orchid #BA55D3 ΔE 0.044
- Purpley Pink #C83CB9 ΔE 0.049
- Purply #983FB2 ΔE 0.051
- Pinky Purple #C94CBE ΔE 0.054
- Amethyst #9B5FC0 ΔE 0.060
- Dark Orchid #9932CC ΔE 0.061
- Deep Lavender #8D5EB7 ΔE 0.077
- Vibrant Purple #AD03DE ΔE 0.079
Use #AF45C1 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.