#B334AD

Closest named color: Purpley Pink (#C83CB9). oklch(56% 0.21 330), rgb(179, 52, 173).

Aa

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

About this color

#B334AD is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.210 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.047 away. White text reads best on it, at 5.23:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.210)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.01:1
White text5.23:1

Values

HEX#B334AD
RGBrgb(179, 52, 173)
HSLhsl(303, 55%, 45%)
OKLCHoklch(56% 0.21 330)

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 #B334AD 5.23:1 AA Lc -80.3 Fine for body text
Black text on #B334AD 4.01:1 AA large text Lc 29.2 Dividers and decoration only
#B334AD text on white 5.23:1 AA Lc 74.9 Content text, not long reading
#B334AD text on black 4.01:1 AA large text Lc -26.8 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

    #FBF3FA

    oklch(97.2% 0.013 329.6)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EECDEA

    oklch(88.5% 0.053 330)

  4. Step 300

    300

    #E4ABDE

    oklch(81% 0.094 330)

  5. Step 400

    400

    #D47BCD

    oklch(70.7% 0.151 329.9)

  6. Step 500

    500

    #C754C0

    oklch(63.1% 0.194 330)

  7. Step 600

    600 (this color)

    #B334AD

    oklch(56% 0.21 330)

  8. Step 700

    700

    #992394

    oklch(49.2% 0.196 330)

  9. Step 800

    800

    #7C2078

    oklch(42.7% 0.162 329.9)

  10. Step 900

    900

    #642261

    oklch(37.8% 0.125 329.6)

  11. Step 950

    950

    #3B1539

    oklch(27% 0.08 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#B334AD 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)#2661B00.224
Deuteranopia (no green cones)#5972AA0.190
Tritanopia (no blue cones)#BA446D0.113
Achromatopsia (no color)#6C6C6C0.212

Harmonies

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

Complementary

The opposite hue (180°).

  • #B334AD

    #B334AD

    oklch(56% 0.21 330)

  • #008C3F

    #008C3F

    oklch(55.9% 0.154 150)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B334AD

    #B334AD

    oklch(56% 0.21 330)

  • #8A4ADA

    #8A4ADA

    oklch(56% 0.21 300)

  • #CC206F

    #CC206F

    oklch(55.9% 0.209 0.1)

Open the analogous palette in the generator

Split complementary

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

  • #B334AD

    #B334AD

    oklch(56% 0.21 330)

  • #6B7F00

    #6B7F00

    oklch(56% 0.133 120.1)

  • #008777

    #008777

    oklch(55.9% 0.101 180.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B334AD

    #B334AD

    oklch(56% 0.21 330)

  • #8E7000

    #8E7000

    oklch(55.9% 0.114 90)

  • #008394

    #008394

    oklch(55.9% 0.097 210.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B334AD

    #B334AD

    oklch(56% 0.21 330)

  • #AB5E00

    #AB5E00

    oklch(56% 0.132 59.7)

  • #008C3F

    #008C3F

    oklch(55.9% 0.154 150)

  • #007CB7

    #007CB7

    oklch(55.9% 0.128 240)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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