#B271D6
Closest named color: Wisteria (#A87DC2). oklch(65.7% 0.158 312.4), rgb(178, 113, 214).
Aa
Black text reads best on this color (6.22:1).
About this color
#B271D6 is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.158 and its hue 312°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.048 away. Black text reads best on it, at 6.22:1.
| Hue family | Purples |
| Lightness | medium-light (66%) |
| Chroma | vivid (0.158) |
| Temperature | in between |
| Nearest name | Wisteria (#A87DC2) |
| Black text | 6.22:1 |
| White text | 3.37:1 |
Values
| HEX | #B271D6 |
| RGB | rgb(178, 113, 214) |
| HSL | hsl(279, 55%, 64%) |
| OKLCH | oklch(65.7% 0.158 312.4) |
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 #B271D6 | 3.37:1 | AA large text | Lc -66.4 | Content text, not long reading |
| Black text on #B271D6 | 6.22:1 | AA | Lc 43.1 | Non-text elements, placeholder text |
| #B271D6 text on white | 3.37:1 | AA large text | Lc 60.9 | Content text, not long reading |
| #B271D6 text on black | 6.22:1 | AA | Lc -40.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
#F8F4FB
oklch(97.2% 0.01 311.2)
-
Step 100
100
#EFE6F5
oklch(93.6% 0.022 312.2)
-
Step 200
200
#E3D1EE
oklch(88.4% 0.044 312.8)
-
Step 300
300
#D2B3E5
oklch(81% 0.077 312.5)
-
Step 400
400
#BB89D8
oklch(70.7% 0.124 312.5)
-
Step 500
500 (this color)
#B271D6
oklch(65.7% 0.158 312.4)
-
Step 600
600
#954EBA
oklch(55.6% 0.172 312.5)
-
Step 700
700
#7F3EA0
oklch(49.1% 0.16 312.6)
-
Step 800
800
#673482
oklch(42.7% 0.132 312.3)
-
Step 900
900
#542E68
oklch(37.6% 0.103 312.7)
-
Step 950
950
#311C3D
oklch(27% 0.065 312.1)
#B271D6 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) | #5B88DA | 0.130 |
| Deuteranopia (no green cones) | #6D8DD3 | 0.118 |
| Tritanopia (no blue cones) | #AF8199 | 0.111 |
| Achromatopsia (no color) | #8C8C8C | 0.159 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B271D6
#B271D6
oklch(65.7% 0.158 312.4)
- #6AA530
#6AA530
oklch(65.8% 0.159 132.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 #B271D6, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Wisteria #A87DC2 ΔE 0.048
- Light Urple #B36FF6 ΔE 0.049
- Light Purple #BF77F6 ΔE 0.052
- Medium Purple #9370DB ΔE 0.053
- Soft Purple #A66FB5 ΔE 0.054
- Medium Orchid #BA55D3 ΔE 0.058
- Deep Lilac #966EBD ΔE 0.061
- Easter Purple #C071FE ΔE 0.064
Use #B271D6 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.