#B158B5
Closest named color: Amethyst (#9B5FC0). oklch(60.2% 0.165 325.8), rgb(177, 88, 181).
Aa
Black text reads best on this color (4.93:1).
About this color
#B158B5 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.165 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.043 away. Black text reads best on it, at 4.93:1.
| Hue family | Purples |
| Lightness | medium-dark (60%) |
| Chroma | vivid (0.165) |
| Temperature | in between |
| Nearest name | Amethyst (#9B5FC0) |
| Black text | 4.93:1 |
| White text | 4.25:1 |
Values
| HEX | #B158B5 |
| RGB | rgb(177, 88, 181) |
| HSL | hsl(297, 39%, 53%) |
| OKLCH | oklch(60.2% 0.165 325.8) |
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 #B158B5 | 4.25:1 | AA large text | Lc -74.5 | Content text, not long reading |
| Black text on #B158B5 | 4.93:1 | AA | Lc 35.1 | Non-text elements, placeholder text |
| #B158B5 text on white | 4.25:1 | AA large text | Lc 69.0 | Content text, not long reading |
| #B158B5 text on black | 4.93:1 | AA | Lc -32.7 | 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
#F9F3F9
oklch(97% 0.01 325.7)
-
Step 100
100
#F2E5F2
oklch(93.6% 0.022 325.8)
-
Step 200
200
#E9CFE9
oklch(88.4% 0.045 326)
-
Step 300
300
#DCAFDD
oklch(80.9% 0.08 325.6)
-
Step 400
400
#CA83CC
oklch(70.8% 0.129 325.9)
-
Step 500
500 (this color)
#B158B5
oklch(60.2% 0.165 325.8)
-
Step 600
600
#A644AA
oklch(55.6% 0.179 326.1)
-
Step 700
700
#8E3592
oklch(49.1% 0.166 326)
-
Step 800
800
#732D77
oklch(42.7% 0.138 325.5)
-
Step 900
900
#5D2960
oklch(37.6% 0.108 325.4)
-
Step 950
950
#371938
oklch(27% 0.068 326.1)
#B158B5 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) | #4D73B8 | 0.161 |
| Deuteranopia (no green cones) | #697FB2 | 0.142 |
| Tritanopia (no blue cones) | #B5637E | 0.096 |
| Achromatopsia (no color) | #7B7B7B | 0.166 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B158B5
#B158B5
oklch(60.2% 0.165 325.8)
- #2A993C
#2A993C
oklch(60.1% 0.164 145.7)
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 #B158B5, closest first.
No curated palette has a color within ΔE 0.04 of #B158B5.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Amethyst #9B5FC0 ΔE 0.043
- Pinky Purple #C94CBE ΔE 0.049
- Medium Orchid #BA55D3 ΔE 0.049
- Soft Purple #A66FB5 ΔE 0.054
- Purpley Pink #C83CB9 ΔE 0.060
- Deep Lilac #966EBD ΔE 0.064
- Deep Lavender #8D5EB7 ΔE 0.064
- Dark Lilac #9C6DA5 ΔE 0.067
Use #B158B5 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.