#B542C2

Closest named color: Purpley Pink (#C83CB9). oklch(58.8% 0.211 323.5), rgb(181, 66, 194).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (59%)
Chromavivid (0.211)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.52:1
White text4.64:1

Values

HEX#B542C2
RGBrgb(181, 66, 194)
HSLhsl(294, 51%, 51%)
OKLCHoklch(58.8% 0.211 323.5)

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 #B542C2 4.64:1 AA Lc -76.8 Fine for body text
Black text on #B542C2 4.52:1 AA Lc 32.7 Non-text elements, placeholder text
#B542C2 text on white 4.64:1 AA Lc 71.4 Content text, not long reading
#B542C2 text on black 4.52:1 AA Lc -30.3 Non-text elements, placeholder text

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

    #F3E4F5

    oklch(93.6% 0.028 322.2)

  3. Step 200

    200

    #EBCEED

    oklch(88.5% 0.052 324)

  4. Step 300

    300

    #DFACE4

    oklch(80.9% 0.095 323.4)

  5. Step 400

    400

    #CE7DD6

    oklch(70.7% 0.152 323.8)

  6. Step 500

    500

    #BF58CB

    oklch(63.1% 0.193 323.4)

  7. Step 600

    600 (this color)

    #B542C2

    oklch(58.8% 0.211 323.5)

  8. Step 700

    700

    #92279E

    oklch(49% 0.196 323.5)

  9. Step 800

    800

    #772380

    oklch(42.7% 0.163 323.7)

  10. Step 900

    900

    #602367

    oklch(37.6% 0.127 323.5)

  11. Step 950

    950

    #38163C

    oklch(26.9% 0.079 323.3)

Export this scale for Tailwind in the Tailwind colors tool

#B542C2 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)#236CC60.215
Deuteranopia (no green cones)#5679BF0.184
Tritanopia (no blue cones)#B8567D0.124
Achromatopsia (no color)#7474740.213

Harmonies

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

Complementary

The opposite hue (180°).

  • #B542C2

    #B542C2

    oklch(58.8% 0.211 323.5)

  • #009717

    #009717

    oklch(58.7% 0.193 143.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B542C2

    #B542C2

    oklch(58.8% 0.211 323.5)

  • #8758EB

    #8758EB

    oklch(58.8% 0.211 293.6)

  • #D32F86

    #D32F86

    oklch(58.8% 0.211 353.7)

Open the analogous palette in the generator

Split complementary

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

  • #B542C2

    #B542C2

    oklch(58.8% 0.211 323.5)

  • #7D8400

    #7D8400

    oklch(58.7% 0.131 113.5)

  • #009277

    #009277

    oklch(58.9% 0.112 173.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B542C2

    #B542C2

    oklch(58.8% 0.211 323.5)

  • #9F7500

    #9F7500

    oklch(58.9% 0.121 83.4)

  • #008D97

    #008D97

    oklch(58.6% 0.1 203.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B542C2

    #B542C2

    oklch(58.8% 0.211 323.5)

  • #BE5F00

    #BE5F00

    oklch(58.9% 0.148 53.7)

  • #009717

    #009717

    oklch(58.7% 0.193 143.5)

  • #0087B9

    #0087B9

    oklch(58.7% 0.122 233.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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