#B524A1

Closest named color: Medium Violet Red (#C71585). oklch(54.4% 0.218 334.7), rgb(181, 36, 161).

Aa

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

About this color

#B524A1 is a medium-dark, vivid purple. In OKLCH its lightness is 54%, its chroma 0.218 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.62:1.

Hue familyPurples
Lightnessmedium-dark (54%)
Chromavivid (0.218)
Temperaturein between
Nearest nameMedium Violet Red (#C71585)
Black text3.73:1
White text5.62:1

Values

HEX#B524A1
RGBrgb(181, 36, 161)
HSLhsl(308, 67%, 43%)
OKLCHoklch(54.4% 0.218 334.7)

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 #B524A1 5.62:1 AA Lc -82.0 Fine for body text
Black text on #B524A1 3.73:1 AA large text Lc 27.4 Dividers and decoration only
#B524A1 text on white 5.62:1 AA Lc 76.6 Fine for body text
#B524A1 text on black 3.73:1 AA large text Lc -25.1 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

    #F7E3F2

    oklch(93.6% 0.029 334.4)

  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

    #DB77C7

    oklch(70.7% 0.158 335.1)

  6. Step 500

    500

    #CE4EB9

    oklch(63.1% 0.201 334.7)

  7. Step 600

    600 (this color)

    #B524A1

    oklch(54.4% 0.218 334.7)

  8. Step 700

    700

    #9F198D

    oklch(49.1% 0.202 334.8)

  9. Step 800

    800

    #811973

    oklch(42.7% 0.168 334.4)

  10. Step 900

    900

    #681E5D

    oklch(37.7% 0.13 334.4)

  11. Step 950

    950

    #3D1336

    oklch(26.9% 0.082 334.7)

Export this scale for Tailwind in the Tailwind colors tool

#B524A1 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)#225AA40.241
Deuteranopia (no green cones)#5B6F9E0.203
Tritanopia (no blue cones)#BE33620.110
Achromatopsia (no color)#6767670.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #B524A1

    #B524A1

    oklch(54.4% 0.218 334.7)

  • #00864B

    #00864B

    oklch(54.5% 0.135 154.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B524A1

    #B524A1

    oklch(54.4% 0.218 334.7)

  • #8E3ED3

    #8E3ED3

    oklch(54.5% 0.218 304.6)

  • #CC025F

    #CC025F

    oklch(54.4% 0.218 4.9)

Open the analogous palette in the generator

Split complementary

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

  • #B524A1

    #B524A1

    oklch(54.4% 0.218 334.7)

  • #5E7C00

    #5E7C00

    oklch(54.3% 0.136 124.7)

  • #008277

    #008277

    oklch(54.5% 0.096 184.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B524A1

    #B524A1

    oklch(54.4% 0.218 334.7)

  • #856E00

    #856E00

    oklch(54.4% 0.112 94.4)

  • #007D92

    #007D92

    oklch(54.3% 0.096 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B524A1

    #B524A1

    oklch(54.4% 0.218 334.7)

  • #A05E00

    #A05E00

    oklch(54.5% 0.123 64.5)

  • #00864B

    #00864B

    oklch(54.5% 0.135 154.8)

  • #0075B9

    #0075B9

    oklch(54.3% 0.137 245)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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