#B042A9

Closest named color: Purpley Pink (#C83CB9). oklch(56.7% 0.187 330.3), rgb(176, 66, 169).

Aa

White text reads best on this color (5.00:1).

About this color

#B042A9 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.187 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.051 away. White text reads best on it, at 5.00:1.

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.187)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.19:1
White text5.00:1

Values

HEX#B042A9
RGBrgb(176, 66, 169)
HSLhsl(304, 45%, 47%)
OKLCHoklch(56.7% 0.187 330.3)

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.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B042A9 5.00:1 AA Lc -79.2 Fine for body text
Black text on #B042A9 4.19:1 AA large text Lc 30.3 Non-text elements, placeholder text
#B042A9 text on white 5.00:1 AA Lc 73.8 Content text, not long reading
#B042A9 text on black 4.19:1 AA large text Lc -27.9 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.

  1. Step 50

    50

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F4E4F2

    oklch(93.6% 0.025 329.7)

  3. Step 200

    200

    #ECCFE8

    oklch(88.6% 0.046 330.5)

  4. Step 300

    300

    #E0ADDA

    oklch(80.8% 0.084 330.3)

  5. Step 400

    400

    #CF80C8

    oklch(70.7% 0.134 330.1)

  6. Step 500

    500

    #C15CBA

    oklch(63.1% 0.173 330.1)

  7. Step 600

    600 (this color)

    #B042A9

    oklch(56.7% 0.187 330.3)

  8. Step 700

    700

    #942F8E

    oklch(49.1% 0.175 330.4)

  9. Step 800

    800

    #782973

    oklch(42.7% 0.143 330.4)

  10. Step 900

    900

    #61275D

    oklch(37.7% 0.111 330.2)

  11. Step 950

    950

    #391836

    oklch(27% 0.069 330.8)

Export this scale for Tailwind in the Tailwind colors tool

#B042A9 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.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#3A66AC0.194
Deuteranopia (no green cones)#6075A60.168
Tritanopia (no blue cones)#B64E6F0.102
Achromatopsia (no color)#6F6F6F0.189

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B042A9

    #B042A9

    oklch(56.7% 0.187 330.3)

  • #008F41

    #008F41

    oklch(56.8% 0.156 150.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B042A9

    #B042A9

    oklch(56.7% 0.187 330.3)

  • #8A54D2

    #8A54D2

    oklch(56.8% 0.187 300.3)

  • #C73671

    #C73671

    oklch(56.7% 0.187 0.5)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B042A9

    #B042A9

    oklch(56.7% 0.187 330.3)

  • #6C8100

    #6C8100

    oklch(56.6% 0.135 120.4)

  • #008A79

    #008A79

    oklch(56.8% 0.103 180.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B042A9

    #B042A9

    oklch(56.7% 0.187 330.3)

  • #917300

    #917300

    oklch(56.8% 0.116 90.5)

  • #008697

    #008697

    oklch(56.8% 0.098 210.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B042A9

    #B042A9

    oklch(56.7% 0.187 330.3)

  • #AD6000

    #AD6000

    oklch(56.6% 0.132 60.3)

  • #008F41

    #008F41

    oklch(56.8% 0.156 150.2)

  • #007EBB

    #007EBB

    oklch(56.6% 0.131 240.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B042A9, closest first.

No curated palette has a color within ΔE 0.04 of #B042A9.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B042A9 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.