#BD31B4

Closest named color: Purpley Pink (#C83CB9). oklch(57.6% 0.223 330.9), rgb(189, 49, 180).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.223)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.26:1
White text4.92:1

Values

HEX#BD31B4
RGBrgb(189, 49, 180)
HSLhsl(304, 59%, 47%)
OKLCHoklch(57.6% 0.223 330.9)

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 #BD31B4 4.92:1 AA Lc -78.3 Fine for body text
Black text on #BD31B4 4.26:1 AA large text Lc 31.2 Non-text elements, placeholder text
#BD31B4 text on white 4.92:1 AA Lc 72.8 Content text, not long reading
#BD31B4 text on black 4.26:1 AA large text Lc -28.8 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F3

    oklch(93.6% 0.029 330.9)

  3. Step 200

    200

    #F0CCEA

    oklch(88.5% 0.056 331.7)

  4. Step 300

    300

    #E7A9DF

    oklch(81% 0.101 331)

  5. Step 400

    400

    #D878CE

    oklch(70.8% 0.16 331)

  6. Step 500

    500

    #CB4EC1

    oklch(63% 0.206 331)

  7. Step 600

    600 (this color)

    #BD31B4

    oklch(57.6% 0.223 330.9)

  8. Step 700

    700

    #9D1895

    oklch(49.2% 0.208 331.1)

  9. Step 800

    800

    #7F1979

    oklch(42.7% 0.172 330.8)

  10. Step 900

    900

    #671E61

    oklch(37.8% 0.133 331.3)

  11. Step 950

    950

    #3C1339

    oklch(26.9% 0.085 330.6)

Export this scale for Tailwind in the Tailwind colors tool

#BD31B4 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)#2264B80.242
Deuteranopia (no green cones)#5D77B10.203
Tritanopia (no blue cones)#C443700.119
Achromatopsia (no color)#7070700.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #BD31B4

    #BD31B4

    oklch(57.6% 0.223 330.9)

  • #009245

    #009245

    oklch(57.7% 0.156 150.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BD31B4

    #BD31B4

    oklch(57.6% 0.223 330.9)

  • #924AE5

    #924AE5

    oklch(57.6% 0.223 300.8)

  • #D71872

    #D71872

    oklch(57.6% 0.223 0.7)

Open the analogous palette in the generator

Split complementary

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

  • #BD31B4

    #BD31B4

    oklch(57.6% 0.223 330.9)

  • #6E8400

    #6E8400

    oklch(57.5% 0.137 120.7)

  • #008D7C

    #008D7C

    oklch(57.7% 0.104 180.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BD31B4

    #BD31B4

    oklch(57.6% 0.223 330.9)

  • #937500

    #937500

    oklch(57.5% 0.118 90.8)

  • #00889A

    #00889A

    oklch(57.5% 0.1 211)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BD31B4

    #BD31B4

    oklch(57.6% 0.223 330.9)

  • #B06300

    #B06300

    oklch(57.6% 0.134 61.1)

  • #009245

    #009245

    oklch(57.7% 0.156 150.8)

  • #0081C0

    #0081C0

    oklch(57.6% 0.134 240.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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