#A271BF
Closest named color: Soft Purple (#A66FB5). oklch(62.9% 0.125 312.1), rgb(162, 113, 191).
Aa
Black text reads best on this color (5.65:1).
About this color
#A271BF is a medium-light, moderately saturated purple. In OKLCH its lightness is 63%, its chroma 0.125 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.016 away. Black text reads best on it, at 5.65:1.
| Hue family | Purples |
| Lightness | medium-light (63%) |
| Chroma | moderately saturated (0.125) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.65:1 |
| White text | 3.71:1 |
Values
| HEX | #A271BF |
| RGB | rgb(162, 113, 191) |
| HSL | hsl(278, 38%, 60%) |
| OKLCH | oklch(62.9% 0.125 312.1) |
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 #A271BF | 3.71:1 | AA large text | Lc -70.1 | Content text, not long reading |
| Black text on #A271BF | 5.65:1 | AA | Lc 39.5 | Non-text elements, placeholder text |
| #A271BF text on white | 3.71:1 | AA large text | Lc 64.6 | Content text, not long reading |
| #A271BF text on black | 5.65:1 | AA | Lc -37.1 | 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
#F7F4F9
oklch(97.1% 0.007 312.3)
-
Step 100
100
#EEE7F3
oklch(93.7% 0.018 311.6)
-
Step 200
200
#E1D3EA
oklch(88.5% 0.035 312.4)
-
Step 300
300
#CEB6DE
oklch(80.9% 0.061 311.8)
-
Step 400
400
#B58FCD
oklch(70.7% 0.097 311.9)
-
Step 500
500 (this color)
#A271BF
oklch(62.9% 0.125 312.1)
-
Step 600
600
#8E59AC
oklch(55.7% 0.135 312.2)
-
Step 700
700
#784894
oklch(49% 0.127 311.7)
-
Step 800
800
#623C78
oklch(42.7% 0.104 311.9)
-
Step 900
900
#503461
oklch(37.8% 0.081 311.7)
-
Step 950
950
#2F1F39
oklch(27.1% 0.051 311.6)
#A271BF 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) | #6282C2 | 0.098 |
| Deuteranopia (no green cones) | #6E86BD | 0.090 |
| Tritanopia (no blue cones) | #9F7C8F | 0.087 |
| Achromatopsia (no color) | #848484 | 0.126 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #A271BF
#A271BF
oklch(62.9% 0.125 312.1)
- #6C9843
#6C9843
oklch(62.8% 0.125 131.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 #A271BF, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.016
- Deep Lilac #966EBD ΔE 0.022
- Wisteria #A87DC2 ΔE 0.032
- Dark Lilac #9C6DA5 ΔE 0.041
- Amethyst #9B5FC0 ΔE 0.047
- Medium Purple #9370DB ΔE 0.050
- Deep Lavender #8D5EB7 ΔE 0.062
- Heather #A484AC ΔE 0.064
Use #A271BF 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.