#B538B1

Closest named color: Purpley Pink (#C83CB9). oklch(56.8% 0.209 329.3), rgb(181, 56, 177).

Aa

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

About this color

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

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

Values

HEX#B538B1
RGBrgb(181, 56, 177)
HSLhsl(302, 53%, 46%)
OKLCHoklch(56.8% 0.209 329.3)

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 #B538B1 5.04:1 AA Lc -79.2 Fine for body text
Black text on #B538B1 4.16:1 AA large text Lc 30.3 Non-text elements, placeholder text
#B538B1 text on white 5.04:1 AA Lc 73.8 Content text, not long reading
#B538B1 text on black 4.16:1 AA large text Lc -27.9 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

    #FBF3FA

    oklch(97.2% 0.013 329.6)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EDCDEA

    oklch(88.4% 0.052 329)

  4. Step 300

    300

    #E3ABDE

    oklch(80.9% 0.093 329.4)

  5. Step 400

    400

    #D37BCE

    oklch(70.6% 0.151 329.1)

  6. Step 500

    500

    #C655C1

    oklch(63.2% 0.193 329.3)

  7. Step 600

    600 (this color)

    #B538B1

    oklch(56.8% 0.209 329.3)

  8. Step 700

    700

    #982495

    oklch(49.2% 0.195 329.2)

  9. Step 800

    800

    #7B2179

    oklch(42.7% 0.161 328.9)

  10. Step 900

    900

    #642261

    oklch(37.8% 0.125 329.6)

  11. Step 950

    950

    #3B1539

    oklch(27% 0.08 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#B538B1 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)#2964B40.222
Deuteranopia (no green cones)#5B75AE0.189
Tritanopia (no blue cones)#BB48700.115
Achromatopsia (no color)#6F6F6F0.211

Harmonies

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

Complementary

The opposite hue (180°).

  • #B538B1

    #B538B1

    oklch(56.8% 0.209 329.3)

  • #008F3D

    #008F3D

    oklch(56.8% 0.159 149.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B538B1

    #B538B1

    oklch(56.8% 0.209 329.3)

  • #8B4EDE

    #8B4EDE

    oklch(56.9% 0.209 299.1)

  • #CF2573

    #CF2573

    oklch(56.8% 0.209 359.5)

Open the analogous palette in the generator

Split complementary

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

  • #B538B1

    #B538B1

    oklch(56.8% 0.209 329.3)

  • #6F8100

    #6F8100

    oklch(56.8% 0.134 119)

  • #008A78

    #008A78

    oklch(56.7% 0.103 179.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B538B1

    #B538B1

    oklch(56.8% 0.209 329.3)

  • #927200

    #927200

    oklch(56.7% 0.116 89.1)

  • #008696

    #008696

    oklch(56.8% 0.098 209.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B538B1

    #B538B1

    oklch(56.8% 0.209 329.3)

  • #AF6000

    #AF6000

    oklch(56.9% 0.134 59.5)

  • #008F3D

    #008F3D

    oklch(56.8% 0.159 149.2)

  • #007FBA

    #007FBA

    oklch(56.8% 0.129 239.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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