#BD31B2

Closest named color: Purpley Pink (#C83CB9). oklch(57.5% 0.222 331.5), rgb(189, 49, 178).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (57%)
Chromavivid (0.222)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.24:1
White text4.94:1

Values

HEX#BD31B2
RGBrgb(189, 49, 178)
HSLhsl(305, 59%, 47%)
OKLCHoklch(57.5% 0.222 331.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 #BD31B2 4.94:1 AA Lc -78.4 Fine for body text
Black text on #BD31B2 4.24:1 AA large text Lc 31.1 Non-text elements, placeholder text
#BD31B2 text on white 4.94:1 AA Lc 73.0 Content text, not long reading
#BD31B2 text on black 4.24:1 AA large text Lc -28.7 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

    #E7A9DE

    oklch(80.9% 0.1 331.6)

  5. Step 400

    400

    #D878CD

    oklch(70.7% 0.159 331.4)

  6. Step 500

    500

    #CB4FC0

    oklch(63.1% 0.203 331.3)

  7. Step 600

    600 (this color)

    #BD31B2

    oklch(57.5% 0.222 331.5)

  8. Step 700

    700

    #9D1894

    oklch(49.1% 0.207 331.4)

  9. Step 800

    800

    #7F1978

    oklch(42.6% 0.171 331.2)

  10. Step 900

    900

    #671E61

    oklch(37.8% 0.133 331.3)

  11. Step 950

    950

    #3D1339

    oklch(27.1% 0.085 331.5)

Export this scale for Tailwind in the Tailwind colors tool

#BD31B2 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)#2564B50.241
Deuteranopia (no green cones)#5E77AF0.203
Tritanopia (no blue cones)#C5426F0.117
Achromatopsia (no color)#7070700.224

Harmonies

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

Complementary

The opposite hue (180°).

  • #BD31B2

    #BD31B2

    oklch(57.5% 0.222 331.5)

  • #009147

    #009147

    oklch(57.5% 0.153 151.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BD31B2

    #BD31B2

    oklch(57.5% 0.222 331.5)

  • #9349E3

    #9349E3

    oklch(57.5% 0.222 301.8)

  • #D71970

    #D71970

    oklch(57.6% 0.222 1.5)

Open the analogous palette in the generator

Split complementary

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

  • #BD31B2

    #BD31B2

    oklch(57.5% 0.222 331.5)

  • #6C8400

    #6C8400

    oklch(57.4% 0.138 121.5)

  • #008C7D

    #008C7D

    oklch(57.4% 0.103 181.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BD31B2

    #BD31B2

    oklch(57.5% 0.222 331.5)

  • #927500

    #927500

    oklch(57.4% 0.117 91.4)

  • #00889B

    #00889B

    oklch(57.5% 0.1 211.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BD31B2

    #BD31B2

    oklch(57.5% 0.222 331.5)

  • #AF6300

    #AF6300

    oklch(57.4% 0.133 61.5)

  • #009147

    #009147

    oklch(57.5% 0.153 151.5)

  • #0080C1

    #0080C1

    oklch(57.4% 0.136 241.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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