#B336C2

Closest named color: Purpley Pink (#C83CB9). oklch(57.3% 0.224 323.2), rgb(179, 54, 194).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.224)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.22:1
White text4.97:1

Values

HEX#B336C2
RGBrgb(179, 54, 194)
HSLhsl(294, 56%, 49%)
OKLCHoklch(57.3% 0.224 323.2)

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 #B336C2 4.97:1 AA Lc -78.7 Fine for body text
Black text on #B336C2 4.22:1 AA large text Lc 30.8 Non-text elements, placeholder text
#B336C2 text on white 4.97:1 AA Lc 73.3 Content text, not long reading
#B336C2 text on black 4.22:1 AA large text Lc -28.4 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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F5

    oklch(93.7% 0.028 324)

  3. Step 200

    200

    #ECCDEF

    oklch(88.5% 0.057 323.3)

  4. Step 300

    300

    #E1ABE6

    oklch(81% 0.1 323.6)

  5. Step 400

    400

    #D07BDA

    oklch(70.8% 0.161 323.2)

  6. Step 500

    500

    #C253CF

    oklch(63.1% 0.205 323.4)

  7. Step 600

    600 (this color)

    #B336C2

    oklch(57.3% 0.224 323.2)

  8. Step 700

    700

    #951FA2

    oklch(49.2% 0.208 323.5)

  9. Step 800

    800

    #791E84

    oklch(42.8% 0.173 323.2)

  10. Step 900

    900

    #622069

    oklch(37.7% 0.135 323.8)

  11. Step 950

    950

    #39143E

    oklch(26.9% 0.086 322.8)

Export this scale for Tailwind in the Tailwind colors tool

#B336C2 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)#0066C60.233
Deuteranopia (no green cones)#4D75BF0.198
Tritanopia (no blue cones)#B64F790.133
Achromatopsia (no color)#7070700.226

Harmonies

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

Complementary

The opposite hue (180°).

  • #B336C2

    #B336C2

    oklch(57.3% 0.224 323.2)

  • #009211

    #009211

    oklch(57.2% 0.19 143.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B336C2

    #B336C2

    oklch(57.3% 0.224 323.2)

  • #834FED

    #834FED

    oklch(57.3% 0.224 293.1)

  • #D21B83

    #D21B83

    oklch(57.4% 0.224 353.3)

Open the analogous palette in the generator

Split complementary

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

  • #B336C2

    #B336C2

    oklch(57.3% 0.224 323.2)

  • #798000

    #798000

    oklch(57.4% 0.129 113.6)

  • #008D72

    #008D72

    oklch(57.4% 0.11 172.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B336C2

    #B336C2

    oklch(57.3% 0.224 323.2)

  • #9A7100

    #9A7100

    oklch(57.4% 0.118 83.2)

  • #008992

    #008992

    oklch(57.4% 0.098 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B336C2

    #B336C2

    oklch(57.3% 0.224 323.2)

  • #B85B00

    #B85B00

    oklch(57.4% 0.145 53.3)

  • #009211

    #009211

    oklch(57.2% 0.19 143.2)

  • #0083B3

    #0083B3

    oklch(57.4% 0.119 233.2)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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