#B158A5
Closest named color: Soft Purple (#A66FB5). oklch(59.4% 0.15 332.6), rgb(177, 88, 165).
Aa
Black text reads best on this color (4.80:1).
About this color
#B158A5 is a medium-dark, vivid purple. In OKLCH its lightness is 59%, its chroma 0.150 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.054 away. Black text reads best on it, at 4.80:1.
| Hue family | Purples |
| Lightness | medium-dark (59%) |
| Chroma | vivid (0.150) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 4.80:1 |
| White text | 4.36:1 |
Values
| HEX | #B158A5 |
| RGB | rgb(177, 88, 165) |
| HSL | hsl(308, 36%, 52%) |
| OKLCH | oklch(59.4% 0.15 332.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 #B158A5 | 4.36:1 | AA large text | Lc -75.3 | Fine for body text |
| Black text on #B158A5 | 4.80:1 | AA | Lc 34.2 | Non-text elements, placeholder text |
| #B158A5 text on white | 4.36:1 | AA large text | Lc 69.8 | Content text, not long reading |
| #B158A5 text on black | 4.80:1 | AA | Lc -31.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
#FAF3F8
oklch(97.1% 0.01 335.5)
-
Step 100
100
#F3E5F0
oklch(93.6% 0.021 332.9)
-
Step 200
200
#EAD0E5
oklch(88.5% 0.04 332.4)
-
Step 300
300
#DEB0D5
oklch(81% 0.072 333.1)
-
Step 400
400
#CC84C0
oklch(70.7% 0.118 332.9)
-
Step 500
500 (this color)
#B158A5
oklch(59.4% 0.15 332.6)
-
Step 600
600
#A8479C
oklch(55.5% 0.164 332.6)
-
Step 700
700
#903885
oklch(49.1% 0.152 332.8)
-
Step 800
800
#752F6C
oklch(42.6% 0.126 332.8)
-
Step 900
900
#5F2B58
oklch(37.8% 0.098 332.6)
-
Step 950
950
#381A33
oklch(27.1% 0.061 333.6)
#B158A5 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) | #5671A8 | 0.151 |
| Deuteranopia (no green cones) | #6F7DA2 | 0.135 |
| Tritanopia (no blue cones) | #B85E77 | 0.078 |
| Achromatopsia (no color) | #797979 | 0.151 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B158A5
#B158A5
oklch(59.4% 0.15 332.6)
- #109750
#109750
oklch(59.4% 0.15 152.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 #B158A5, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.054
- Amethyst #9B5FC0 ΔE 0.057
- Dark Lilac #9C6DA5 ΔE 0.058
- Pinky Purple #C94CBE ΔE 0.062
- Light Plum #9D5783 ΔE 0.064
- Deep Lilac #966EBD ΔE 0.069
- Deep Lavender #8D5EB7 ΔE 0.070
- Purpley Pink #C83CB9 ΔE 0.071
Use #B158A5 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.