#B336C4

Closest named color: Purpley Pink (#C83CB9). oklch(57.5% 0.226 322.6), rgb(179, 54, 196).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.226)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.24:1
White text4.95:1

Values

HEX#B336C4
RGBrgb(179, 54, 196)
HSLhsl(293, 57%, 49%)
OKLCHoklch(57.5% 0.226 322.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 #B336C4 4.95:1 AA Lc -78.6 Fine for body text
Black text on #B336C4 4.24:1 AA large text Lc 30.9 Non-text elements, placeholder text
#B336C4 text on white 4.95:1 AA Lc 73.1 Content text, not long reading
#B336C4 text on black 4.24:1 AA large text Lc -28.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

    #FAF3FB

    oklch(97.2% 0.013 321.9)

  2. Step 100

    100

    #F4E4F6

    oklch(93.7% 0.029 322.4)

  3. Step 200

    200

    #ECCDEF

    oklch(88.5% 0.057 323.3)

  4. Step 300

    300

    #E0ABE7

    oklch(80.9% 0.101 322.5)

  5. Step 400

    400

    #CF7ADB

    oklch(70.6% 0.163 322.5)

  6. Step 500

    500

    #C153D1

    oklch(63.1% 0.207 322.4)

  7. Step 600

    600 (this color)

    #B336C4

    oklch(57.5% 0.226 322.6)

  8. Step 700

    700

    #941EA4

    oklch(49.1% 0.21 322.5)

  9. Step 800

    800

    #781D85

    oklch(42.6% 0.174 322.3)

  10. Step 900

    900

    #61206A

    oklch(37.6% 0.135 322.6)

  11. Step 950

    950

    #39143E

    oklch(26.9% 0.086 322.8)

Export this scale for Tailwind in the Tailwind colors tool

#B336C4 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)#0067C80.232
Deuteranopia (no green cones)#4C75C10.198
Tritanopia (no blue cones)#B5507A0.135
Achromatopsia (no color)#7070700.228

Harmonies

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

Complementary

The opposite hue (180°).

  • #B336C4

    #B336C4

    oklch(57.5% 0.226 322.6)

  • #009303

    #009303

    oklch(57.5% 0.195 142.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B336C4

    #B336C4

    oklch(57.5% 0.226 322.6)

  • #834FEF

    #834FEF

    oklch(57.5% 0.227 292.8)

  • #D21A85

    #D21A85

    oklch(57.4% 0.226 352.6)

Open the analogous palette in the generator

Split complementary

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

  • #B336C4

    #B336C4

    oklch(57.5% 0.226 322.6)

  • #7A8000

    #7A8000

    oklch(57.5% 0.128 113)

  • #008D72

    #008D72

    oklch(57.4% 0.11 172.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B336C4

    #B336C4

    oklch(57.5% 0.226 322.6)

  • #9B7100

    #9B7100

    oklch(57.6% 0.118 82.6)

  • #008992

    #008992

    oklch(57.4% 0.098 202.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B336C4

    #B336C4

    oklch(57.5% 0.226 322.6)

  • #B95B00

    #B95B00

    oklch(57.5% 0.146 53)

  • #009303

    #009303

    oklch(57.5% 0.195 142.6)

  • #0083B2

    #0083B2

    oklch(57.4% 0.118 232.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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