#B271B5
Closest named color: Soft Purple (#A66FB5). oklch(64.1% 0.122 325.3), rgb(178, 113, 181).
Aa
Black text reads best on this color (5.92:1).
About this color
#B271B5 is a medium-light, moderately saturated purple. In OKLCH its lightness is 64%, its chroma 0.122 and its hue 325°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.022 away. Black text reads best on it, at 5.92:1.
| Hue family | Purples |
| Lightness | medium-light (64%) |
| Chroma | moderately saturated (0.122) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.92:1 |
| White text | 3.54:1 |
Values
| HEX | #B271B5 |
| RGB | rgb(178, 113, 181) |
| HSL | hsl(297, 31%, 58%) |
| OKLCH | oklch(64.1% 0.122 325.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 #B271B5 | 3.54:1 | AA large text | Lc -68.3 | Content text, not long reading |
| Black text on #B271B5 | 5.92:1 | AA | Lc 41.2 | Non-text elements, placeholder text |
| #B271B5 text on white | 3.54:1 | AA large text | Lc 62.9 | Content text, not long reading |
| #B271B5 text on black | 5.92:1 | AA | Lc -38.8 | 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
#F0E6F0
oklch(93.6% 0.017 325.7)
-
Step 200
200
#E5D2E5
oklch(88.5% 0.033 325.9)
-
Step 300
300
#D5B4D6
oklch(80.9% 0.059 325.2)
-
Step 400
400
#BF8CC1
oklch(70.7% 0.095 325.3)
-
Step 500
500 (this color)
#B271B5
oklch(64.1% 0.122 325.3)
-
Step 600
600
#9A559D
oklch(55.7% 0.132 325.6)
-
Step 700
700
#834586
oklch(49.1% 0.122 325.5)
-
Step 800
800
#6B396D
oklch(42.8% 0.102 325.8)
-
Step 900
900
#573159
oklch(37.7% 0.081 325.2)
-
Step 950
950
#331D34
oklch(27% 0.051 325.4)
#B271B5 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) | #6B83B8 | 0.113 |
| Deuteranopia (no green cones) | #7C8BB3 | 0.102 |
| Tritanopia (no blue cones) | #B5788B | 0.072 |
| Achromatopsia (no color) | #888888 | 0.123 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B271B5
#B271B5
oklch(64.1% 0.122 325.3)
- #58A05D
#58A05D
oklch(64.2% 0.122 145.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 #B271B5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.022
- Wisteria #A87DC2 ΔE 0.033
- Dark Lilac #9C6DA5 ΔE 0.046
- Deep Lilac #966EBD ΔE 0.051
- Heather #A484AC ΔE 0.057
- Dusty Lavender #AC86A8 ΔE 0.062
- Pale Magenta #D767AD ΔE 0.066
- Amethyst #9B5FC0 ΔE 0.068
Use #B271B5 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.