#B041A1

Closest named color: Purply (#983FB2). oklch(56.2% 0.182 333.4), rgb(176, 65, 161).

Aa

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

About this color

#B041A1 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.182 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purply (#983FB2), ΔE 0.057 away. White text reads best on it, at 5.10:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.182)
Temperaturein between
Nearest namePurply (#983FB2)
Black text4.11:1
White text5.10:1

Values

HEX#B041A1
RGBrgb(176, 65, 161)
HSLhsl(308, 46%, 47%)
OKLCHoklch(56.2% 0.182 333.4)

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 #B041A1 5.10:1 AA Lc -79.8 Fine for body text
Black text on #B041A1 4.11:1 AA large text Lc 29.7 Dividers and decoration only
#B041A1 text on white 5.10:1 AA Lc 74.4 Content text, not long reading
#B041A1 text on black 4.11:1 AA large text Lc -27.3 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

    #F4E4F1

    oklch(93.5% 0.024 331.9)

  3. Step 200

    200

    #EDCFE6

    oklch(88.6% 0.045 334)

  4. Step 300

    300

    #E2ADD7

    oklch(80.9% 0.083 333.7)

  5. Step 400

    400

    #D180C3

    oklch(70.7% 0.131 333.4)

  6. Step 500

    500

    #C35DB3

    oklch(63.1% 0.167 333.7)

  7. Step 600

    600 (this color)

    #B041A1

    oklch(56.2% 0.182 333.4)

  8. Step 700

    700

    #953088

    oklch(49.1% 0.169 333.4)

  9. Step 800

    800

    #79296F

    oklch(42.6% 0.141 333)

  10. Step 900

    900

    #62275A

    oklch(37.7% 0.109 333)

  11. Step 950

    950

    #3A1834

    oklch(27.1% 0.068 334.4)

Export this scale for Tailwind in the Tailwind colors tool

#B041A1 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)#3E64A40.192
Deuteranopia (no green cones)#63749E0.167
Tritanopia (no blue cones)#B84A6B0.094
Achromatopsia (no color)#6E6E6E0.184

Harmonies

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

Complementary

The opposite hue (180°).

  • #B041A1

    #B041A1

    oklch(56.2% 0.182 333.4)

  • #008C4B

    #008C4B

    oklch(56.1% 0.143 153.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B041A1

    #B041A1

    oklch(56.2% 0.182 333.4)

  • #8C52CA

    #8C52CA

    oklch(56.2% 0.181 303.3)

  • #C5376A

    #C5376A

    oklch(56.2% 0.182 3.4)

Open the analogous palette in the generator

Split complementary

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

  • #B041A1

    #B041A1

    oklch(56.2% 0.182 333.4)

  • #658100

    #658100

    oklch(56.1% 0.138 123.5)

  • #00887B

    #00887B

    oklch(56.3% 0.1 183.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B041A1

    #B041A1

    oklch(56.2% 0.182 333.4)

  • #8C7300

    #8C7300

    oklch(56.3% 0.115 93.7)

  • #008398

    #008398

    oklch(56.1% 0.099 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B041A1

    #B041A1

    oklch(56.2% 0.182 333.4)

  • #A86100

    #A86100

    oklch(56.1% 0.128 63.1)

  • #008C4B

    #008C4B

    oklch(56.1% 0.143 153.6)

  • #007BBE

    #007BBE

    oklch(56.1% 0.137 243.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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