#B334B2

Closest named color: Purpley Pink (#C83CB9). oklch(56.2% 0.213 328.3), rgb(179, 52, 178).

Aa

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

About this color

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

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

Values

HEX#B334B2
RGBrgb(179, 52, 178)
HSLhsl(300, 55%, 45%)
OKLCHoklch(56.2% 0.213 328.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 #B334B2 5.18:1 AA Lc -80.0 Fine for body text
Black text on #B334B2 4.05:1 AA large text Lc 29.5 Dividers and decoration only
#B334B2 text on white 5.18:1 AA Lc 74.6 Content text, not long reading
#B334B2 text on black 4.05:1 AA large text Lc -27.2 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

    #EDCDEB

    oklch(88.4% 0.053 328)

  4. Step 300

    300

    #E3ABE0

    oklch(81% 0.095 328.2)

  5. Step 400

    400

    #D37BD0

    oklch(70.7% 0.153 328.3)

  6. Step 500

    500

    #C654C4

    oklch(63.2% 0.197 328.3)

  7. Step 600

    600 (this color)

    #B334B2

    oklch(56.2% 0.213 328.3)

  8. Step 700

    700

    #982297

    oklch(49.1% 0.198 328.5)

  9. Step 800

    800

    #7B1F7B

    oklch(42.6% 0.165 328)

  10. Step 900

    900

    #642163

    oklch(37.8% 0.129 328.4)

  11. Step 950

    950

    #3B153A

    oklch(27.1% 0.081 328.6)

Export this scale for Tailwind in the Tailwind colors tool

#B334B2 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)#1F62B60.227
Deuteranopia (no green cones)#5673AF0.193
Tritanopia (no blue cones)#B947700.118
Achromatopsia (no color)#6D6D6D0.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #B334B2

    #B334B2

    oklch(56.2% 0.213 328.3)

  • #008D38

    #008D38

    oklch(56.1% 0.161 148.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B334B2

    #B334B2

    oklch(56.2% 0.213 328.3)

  • #884BDF

    #884BDF

    oklch(56.2% 0.214 298.1)

  • #CE1E74

    #CE1E74

    oklch(56.3% 0.214 358.4)

Open the analogous palette in the generator

Split complementary

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

  • #B334B2

    #B334B2

    oklch(56.2% 0.213 328.3)

  • #6E7F00

    #6E7F00

    oklch(56.3% 0.132 118.7)

  • #008975

    #008975

    oklch(56.4% 0.104 177.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B334B2

    #B334B2

    oklch(56.2% 0.213 328.3)

  • #917000

    #917000

    oklch(56.2% 0.115 88.1)

  • #008493

    #008493

    oklch(56.1% 0.097 208.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B334B2

    #B334B2

    oklch(56.2% 0.213 328.3)

  • #AE5D00

    #AE5D00

    oklch(56.2% 0.135 57.9)

  • #008D38

    #008D38

    oklch(56.1% 0.161 148.3)

  • #007EB6

    #007EB6

    oklch(56.3% 0.125 238.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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