#B336B4

Closest named color: Purpley Pink (#C83CB9). oklch(56.5% 0.213 327.6), rgb(179, 54, 180).

Aa

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

About this color

#B336B4 is a medium-dark, vivid purple. In OKLCH its lightness is 57%, 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.044 away. White text reads best on it, at 5.11:1.

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

Values

HEX#B336B4
RGBrgb(179, 54, 180)
HSLhsl(300, 54%, 46%)
OKLCHoklch(56.5% 0.213 327.6)

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 #B336B4 5.11:1 AA Lc -79.6 Fine for body text
Black text on #B336B4 4.10:1 AA large text Lc 29.9 Dividers and decoration only
#B336B4 text on white 5.11:1 AA Lc 74.2 Content text, not long reading
#B336B4 text on black 4.10:1 AA large text Lc -27.5 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

    #FAF3FA

    oklch(97.2% 0.012 325.7)

  2. Step 100

    100

    #F5E4F4

    oklch(93.7% 0.028 327.6)

  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

    #D27BD1

    oklch(70.6% 0.153 327.5)

  6. Step 500

    500

    #C554C5

    oklch(63.1% 0.197 327.6)

  7. Step 600

    600 (this color)

    #B336B4

    oklch(56.5% 0.213 327.6)

  8. Step 700

    700

    #972398

    oklch(49.1% 0.198 327.7)

  9. Step 800

    800

    #7B207B

    oklch(42.7% 0.164 328)

  10. Step 900

    900

    #632263

    oklch(37.7% 0.127 327.7)

  11. Step 950

    950

    #3A153A

    oklch(26.9% 0.08 327.5)

Export this scale for Tailwind in the Tailwind colors tool

#B336B4 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)#1F63B80.226
Deuteranopia (no green cones)#5673B10.190
Tritanopia (no blue cones)#B849710.120
Achromatopsia (no color)#6E6E6E0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #B336B4

    #B336B4

    oklch(56.5% 0.213 327.6)

  • #008F35

    #008F35

    oklch(56.7% 0.166 147.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B336B4

    #B336B4

    oklch(56.5% 0.213 327.6)

  • #884DE0

    #884DE0

    oklch(56.6% 0.212 297.6)

  • #CE2176

    #CE2176

    oklch(56.5% 0.213 357.8)

Open the analogous palette in the generator

Split complementary

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

  • #B336B4

    #B336B4

    oklch(56.5% 0.213 327.6)

  • #707F00

    #707F00

    oklch(56.4% 0.131 117.7)

  • #008A75

    #008A75

    oklch(56.6% 0.105 176.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B336B4

    #B336B4

    oklch(56.5% 0.213 327.6)

  • #937100

    #937100

    oklch(56.6% 0.116 87.6)

  • #008593

    #008593

    oklch(56.4% 0.097 207.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B336B4

    #B336B4

    oklch(56.5% 0.213 327.6)

  • #AF5D00

    #AF5D00

    oklch(56.4% 0.136 57.5)

  • #008F35

    #008F35

    oklch(56.7% 0.166 147.5)

  • #007FB6

    #007FB6

    oklch(56.6% 0.125 237.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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