#B526A1

Closest named color: Medium Violet Red (#C71585). oklch(54.5% 0.216 334.8), rgb(181, 38, 161).

Aa

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

About this color

#B526A1 is a medium-dark, vivid purple. In OKLCH its lightness is 55%, its chroma 0.216 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Violet Red (#C71585), ΔE 0.058 away. White text reads best on it, at 5.59:1.

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.216)
Temperaturein between
Nearest nameMedium Violet Red (#C71585)
Black text3.75:1
White text5.59:1

Values

HEX#B526A1
RGBrgb(181, 38, 161)
HSLhsl(308, 65%, 43%)
OKLCHoklch(54.5% 0.216 334.8)

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 #B526A1 5.59:1 AA Lc -81.8 Fine for body text
Black text on #B526A1 3.75:1 AA large text Lc 27.6 Dividers and decoration only
#B526A1 text on white 5.59:1 AA Lc 76.5 Fine for body text
#B526A1 text on black 3.75:1 AA large text Lc -25.3 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

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F1

    oklch(93.5% 0.028 334.9)

  3. Step 200

    200

    #F1CCE8

    oklch(88.5% 0.055 334.6)

  4. Step 300

    300

    #E8A9DA

    oklch(80.9% 0.097 334.6)

  5. Step 400

    400

    #DA78C7

    oklch(70.7% 0.155 334.7)

  6. Step 500

    500

    #CE4FB9

    oklch(63.2% 0.2 334.7)

  7. Step 600

    600 (this color)

    #B526A1

    oklch(54.5% 0.216 334.8)

  8. Step 700

    700

    #9F1A8D

    oklch(49.2% 0.201 334.8)

  9. Step 800

    800

    #811A72

    oklch(42.7% 0.167 334.9)

  10. Step 900

    900

    #681E5C

    oklch(37.6% 0.13 335)

  11. Step 950

    950

    #3D1336

    oklch(26.9% 0.082 334.7)

Export this scale for Tailwind in the Tailwind colors tool

#B526A1 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)#245BA40.239
Deuteranopia (no green cones)#5B6F9E0.201
Tritanopia (no blue cones)#BE34630.109
Achromatopsia (no color)#6868680.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #B526A1

    #B526A1

    oklch(54.5% 0.216 334.8)

  • #00864B

    #00864B

    oklch(54.5% 0.135 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B526A1

    #B526A1

    oklch(54.5% 0.216 334.8)

  • #8E3FD2

    #8E3FD2

    oklch(54.5% 0.216 304.7)

  • #CC0860

    #CC0860

    oklch(54.6% 0.216 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #B526A1

    #B526A1

    oklch(54.5% 0.216 334.8)

  • #5F7D00

    #5F7D00

    oklch(54.6% 0.137 124.6)

  • #008277

    #008277

    oklch(54.5% 0.096 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B526A1

    #B526A1

    oklch(54.5% 0.216 334.8)

  • #856E00

    #856E00

    oklch(54.4% 0.112 94.4)

  • #007E93

    #007E93

    oklch(54.6% 0.096 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B526A1

    #B526A1

    oklch(54.5% 0.216 334.8)

  • #A05E00

    #A05E00

    oklch(54.5% 0.123 64.5)

  • #00864B

    #00864B

    oklch(54.5% 0.135 154.8)

  • #0076B9

    #0076B9

    oklch(54.6% 0.136 244.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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