#B45EA8
Closest named color: Soft Purple (#A66FB5). oklch(60.8% 0.145 332.6), rgb(180, 94, 168).
Aa
Black text reads best on this color (5.10:1).
About this color
#B45EA8 is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.145 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.044 away. Black text reads best on it, at 5.10:1.
| Hue family | Purples |
| Lightness | medium-dark (61%) |
| Chroma | vivid (0.145) |
| Temperature | in between |
| Nearest name | Soft Purple (#A66FB5) |
| Black text | 5.10:1 |
| White text | 4.11:1 |
Values
| HEX | #B45EA8 |
| RGB | rgb(180, 94, 168) |
| HSL | hsl(308, 36%, 54%) |
| OKLCH | oklch(60.8% 0.145 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 #B45EA8 | 4.11:1 | AA large text | Lc -73.4 | Content text, not long reading |
| Black text on #B45EA8 | 5.10:1 | AA | Lc 36.2 | Non-text elements, placeholder text |
| #B45EA8 text on white | 4.11:1 | AA large text | Lc 67.9 | Content text, not long reading |
| #B45EA8 text on black | 5.10:1 | AA | Lc -33.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
#DDB0D5
oklch(80.9% 0.071 332.4)
-
Step 400
400
#CA85BF
oklch(70.6% 0.113 332.6)
-
Step 500
500 (this color)
#B45EA8
oklch(60.8% 0.145 332.6)
-
Step 600
600
#A74A9B
oklch(55.7% 0.158 332.7)
-
Step 700
700
#8F3A84
oklch(49.1% 0.147 332.9)
-
Step 800
800
#74316B
oklch(42.7% 0.121 332.9)
-
Step 900
900
#5E2C57
oklch(37.7% 0.094 332.8)
-
Step 950
950
#371A33
oklch(26.9% 0.06 332.4)
#B45EA8 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) | #5C75AB | 0.145 |
| Deuteranopia (no green cones) | #7482A6 | 0.131 |
| Tritanopia (no blue cones) | #BB647B | 0.076 |
| Achromatopsia (no color) | #7D7D7D | 0.146 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B45EA8
#B45EA8
oklch(60.8% 0.145 332.6)
- #249B56
#249B56
oklch(60.9% 0.145 152.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 #B45EA8, closest first.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Soft Purple #A66FB5 ΔE 0.044
- Dark Lilac #9C6DA5 ΔE 0.053
- Amethyst #9B5FC0 ΔE 0.059
- Pinky Purple #C94CBE ΔE 0.062
- Deep Lilac #966EBD ΔE 0.064
- Pale Magenta #D767AD ΔE 0.070
- Light Plum #9D5783 ΔE 0.071
- Medium Orchid #BA55D3 ΔE 0.072
Use #B45EA8 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.