#B271AD
Closest named color: Soft Purple (#A66FB5). oklch(63.8% 0.114 329.6), rgb(178, 113, 173).
Aa
Black text reads best on this color (5.85:1).
About this color
#B271AD is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.114 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.026 away. Black text reads best on it, at 5.85:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.114) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.85:1 |
| White text | 3.58:1 |
Values
| HEX | #B271AD |
| RGB | rgb(178, 113, 173) |
| HSL | hsl(305, 30%, 57%) |
| OKLCH | oklch(63.8% 0.114 329.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 #B271AD | 3.58:1 | AA large text | Lc -68.7 | Content text, not long reading |
| Black text on #B271AD | 5.85:1 | AA | Lc 40.8 | Non-text elements, placeholder text |
| #B271AD text on white | 3.58:1 | AA large text | Lc 63.3 | Content text, not long reading |
| #B271AD text on black | 5.85:1 | AA | Lc -38.4 | 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
#F8F4F8
oklch(97.1% 0.007 325.6)
-
Step 100
100
#F0E6EF
oklch(93.5% 0.016 328.8)
-
Step 200
200
#E5D2E3
oklch(88.4% 0.031 329.1)
-
Step 300
300
#D6B4D2
oklch(80.9% 0.056 329.9)
-
Step 400
400
#C08CBC
oklch(70.6% 0.09 329.1)
-
Step 500
500 (this color)
#B271AD
oklch(63.8% 0.114 329.6)
-
Step 600
600
#9B5696
oklch(55.6% 0.124 329.8)
-
Step 700
700
#844680
oklch(49.1% 0.115 329.6)
-
Step 800
800
#6B3A68
oklch(42.7% 0.095 329.3)
-
Step 900
900
#573255
oklch(37.7% 0.075 328.9)
-
Step 950
950
#331E32
oklch(27.1% 0.047 328.4)
#B271AD 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) | #6E82AF | 0.109 |
| Deuteranopia (no green cones) | #7E8AAB | 0.100 |
| Tritanopia (no blue cones) | #B77687 | 0.064 |
| Achromatopsia (no color) | #878787 | 0.115 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B271AD
#B271AD
oklch(63.8% 0.114 329.6)
- #549F65
#549F65
oklch(63.9% 0.115 149.5)
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 #B271AD, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.026
- Wisteria #A87DC2 ΔE 0.039
- Dark Lilac #9C6DA5 ΔE 0.042
- Heather #A484AC ΔE 0.052
- Deep Lilac #966EBD ΔE 0.056
- Dusty Lavender #AC86A8 ΔE 0.057
- Faded Purple #916E99 ΔE 0.065
- Pale Magenta #D767AD ΔE 0.066
Use #B271AD 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.