#B042A4
Closest named color: Purpley Pink (#C83CB9). oklch(56.4% 0.183 332.2), rgb(176, 66, 164).
Aa
White text reads best on this color (5.04:1).
About this color
#B042A4 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.183 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.055 away. White text reads best on it, at 5.04:1.
| Hue family | Purples |
| Lightness | medium-dark (56%) |
| Chroma | vivid (0.183) |
| Temperature | in between |
| Nearest name | Purpley Pink (#C83CB9) |
| Black text | 4.16:1 |
| White text | 5.04:1 |
Values
| HEX | #B042A4 |
| RGB | rgb(176, 66, 164) |
| HSL | hsl(307, 45%, 47%) |
| OKLCH | oklch(56.4% 0.183 332.2) |
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 #B042A4 | 5.04:1 | AA | Lc -79.5 | Fine for body text |
| Black text on #B042A4 | 4.16:1 | AA large text | Lc 30.0 | Dividers and decoration only |
| #B042A4 text on white | 5.04:1 | AA | Lc 74.1 | Content text, not long reading |
| #B042A4 text on black | 4.16:1 | AA large text | Lc -27.6 | 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
#FAF3F9
oklch(97.1% 0.011 330.1)
-
Step 100
100
#F4E4F1
oklch(93.5% 0.024 331.9)
-
Step 200
200
#ECCFE7
oklch(88.6% 0.045 331.7)
-
Step 300
300
#E1ADD8
oklch(80.8% 0.083 332.4)
-
Step 400
400
#D080C5
oklch(70.7% 0.132 332)
-
Step 500
500
#C25DB6
oklch(63.1% 0.168 332.1)
-
Step 600
600 (this color)
#B042A4
oklch(56.4% 0.183 332.2)
-
Step 700
700
#94308A
oklch(49% 0.17 332.1)
-
Step 800
800
#792970
oklch(42.7% 0.142 332.5)
-
Step 900
900
#62275B
oklch(37.8% 0.11 332.3)
-
Step 950
950
#391835
oklch(27% 0.068 332)
#B042A4 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) | #3D65A7 | 0.192 |
| Deuteranopia (no green cones) | #6274A1 | 0.166 |
| Tritanopia (no blue cones) | #B74C6D | 0.096 |
| Achromatopsia (no color) | #6F6F6F | 0.184 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #B042A4
#B042A4
oklch(56.4% 0.183 332.2)
- #008D48
#008D48
oklch(56.4% 0.147 152.4)
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 #B042A4, closest first.
No curated palette has a color within ΔE 0.04 of #B042A4.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Purpley Pink #C83CB9 ΔE 0.055
- Purply #983FB2 ΔE 0.055
- Pinky Purple #C94CBE ΔE 0.063
- Warm Purple #952E8F ΔE 0.073
- Medium Violet Red #C71585 ΔE 0.073
- Amethyst #9B5FC0 ΔE 0.073
- Medium Orchid #BA55D3 ΔE 0.078
- Light Plum #9D5783 ΔE 0.080
Use #B042A4 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.