#B0339E

Closest named color: Purply (#983FB2). oklch(54.6% 0.198 334.4), rgb(176, 51, 158).

Aa

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

About this color

#B0339E is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.198 and its hue 334°. 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.50:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.198)
Temperaturein between
Nearest namePurply (#983FB2)
Black text3.81:1
White text5.50:1

Values

HEX#B0339E
RGBrgb(176, 51, 158)
HSLhsl(309, 55%, 45%)
OKLCHoklch(54.6% 0.198 334.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 #B0339E 5.50:1 AA Lc -81.8 Fine for body text
Black text on #B0339E 3.81:1 AA large text Lc 27.7 Dividers and decoration only
#B0339E text on white 5.50:1 AA Lc 76.4 Fine for body text
#B0339E text on black 3.81:1 AA large text Lc -25.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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EFCDE7

    oklch(88.5% 0.051 334.2)

  4. Step 300

    300

    #E5ABD8

    oklch(80.9% 0.089 334.5)

  5. Step 400

    400

    #D57CC4

    oklch(70.6% 0.142 334.4)

  6. Step 500

    500

    #C857B5

    oklch(63.1% 0.181 334.5)

  7. Step 600

    600 (this color)

    #B0339E

    oklch(54.6% 0.198 334.4)

  8. Step 700

    700

    #9A278A

    oklch(49.1% 0.184 334.3)

  9. Step 800

    800

    #7D2370

    oklch(42.7% 0.152 334.3)

  10. Step 900

    900

    #65235B

    oklch(37.7% 0.119 334.1)

  11. Step 950

    950

    #3B1635

    oklch(27% 0.074 334)

Export this scale for Tailwind in the Tailwind colors tool

#B0339E 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)#315DA10.214
Deuteranopia (no green cones)#5D6F9B0.183
Tritanopia (no blue cones)#B83D650.099
Achromatopsia (no color)#6969690.200

Harmonies

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

Complementary

The opposite hue (180°).

  • #B0339E

    #B0339E

    oklch(54.6% 0.198 334.4)

  • #00874A

    #00874A

    oklch(54.7% 0.137 154.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B0339E

    #B0339E

    oklch(54.6% 0.198 334.4)

  • #8B47CB

    #8B47CB

    oklch(54.6% 0.197 304.3)

  • #C52462

    #C52462

    oklch(54.5% 0.197 4.4)

Open the analogous palette in the generator

Split complementary

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

  • #B0339E

    #B0339E

    oklch(54.6% 0.198 334.4)

  • #607D00

    #607D00

    oklch(54.7% 0.136 124.2)

  • #008277

    #008277

    oklch(54.5% 0.096 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B0339E

    #B0339E

    oklch(54.6% 0.198 334.4)

  • #866F00

    #866F00

    oklch(54.8% 0.112 94.5)

  • #007E93

    #007E93

    oklch(54.6% 0.096 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B0339E

    #B0339E

    oklch(54.6% 0.198 334.4)

  • #A15E00

    #A15E00

    oklch(54.6% 0.123 64.1)

  • #00874A

    #00874A

    oklch(54.7% 0.137 154.2)

  • #0076B9

    #0076B9

    oklch(54.6% 0.136 244.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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