#B228AD
Closest named color: Purply (#983FB2). oklch(54.9% 0.221 329.7), rgb(178, 40, 173).
Aa
White text reads best on this color (5.52:1).
About this color
#B228AD is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.221 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.056 away. White text reads best on it, at 5.52:1.
| Hue family | Purples |
| Lightness | medium-dark (55%) |
| Chroma | vivid (0.221) |
| Temperature | in between |
| Nearest name | Purply (#983FB2) |
| Black text | 3.79:1 |
| White text | 5.52:1 |
Values
| HEX | #B228AD |
| RGB | rgb(178, 40, 173) |
| HSL | hsl(302, 63%, 43%) |
| OKLCH | oklch(54.9% 0.221 329.7) |
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 #B228AD | 5.52:1 | AA | Lc -81.6 | Fine for body text |
| Black text on #B228AD | 3.79:1 | AA large text | Lc 27.9 | Dividers and decoration only |
| #B228AD text on white | 5.52:1 | AA | Lc 76.2 | Fine for body text |
| #B228AD text on black | 3.79:1 | AA large text | Lc -25.5 | Dividers and decoration only |
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 600.
-
Step 50
50
#FBF2FA
oklch(97% 0.014 329.1)
-
Step 100
100
#F6E3F3
oklch(93.6% 0.029 330.9)
-
Step 200
200
#EFCDEB
oklch(88.6% 0.055 329.9)
-
Step 300
300
#E5A9E0
oklch(80.8% 0.1 329.3)
-
Step 400
400
#D678D0
oklch(70.6% 0.16 329.5)
-
Step 500
500
#C950C3
oklch(63.1% 0.203 329.7)
-
Step 600
600 (this color)
#B228AD
oklch(54.9% 0.221 329.7)
-
Step 700
700
#9B1B97
oklch(49.1% 0.206 329.6)
-
Step 800
800
#7E1B7A
oklch(42.7% 0.17 329.9)
-
Step 900
900
#661F62
oklch(37.8% 0.132 330.2)
-
Step 950
950
#3C143A
oklch(27.1% 0.084 329.6)
#B228AD 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) | #0E5DB0 | 0.242 |
| Deuteranopia (no green cones) | #536FAA | 0.202 |
| Tritanopia (no blue cones) | #B93D6A | 0.120 |
| Achromatopsia (no color) | #696969 | 0.223 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B228AD
#B228AD
oklch(54.9% 0.221 329.7)
- #00883C
#00883C
oklch(54.8% 0.152 149.8)
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 #B228AD, closest first.
No curated palette has a color within ΔE 0.04 of #B228AD.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purply #983FB2 ΔE 0.056
- Purpley Pink #C83CB9 ΔE 0.057
- Warm Purple #952E8F ΔE 0.072
- Dark Orchid #9932CC ΔE 0.072
- Medium Violet Red #C71585 ΔE 0.077
- Pinky Purple #C94CBE ΔE 0.077
- Vibrant Purple #AD03DE ΔE 0.083
- Medium Orchid #BA55D3 ΔE 0.088
Use #B228AD 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.