#BB31AE

Closest named color: Purpley Pink (#C83CB9). oklch(57% 0.218 332.2), rgb(187, 49, 174).

Aa

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

About this color

#BB31AE is a medium-dark, vivid purple. In OKLCH its lightness is 57%, its chroma 0.218 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.035 away. White text reads best on it, at 5.04:1.

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

Values

HEX#BB31AE
RGBrgb(187, 49, 174)
HSLhsl(306, 58%, 46%)
OKLCHoklch(57% 0.218 332.2)

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 #BB31AE 5.04:1 AA Lc -79.0 Fine for body text
Black text on #BB31AE 4.16:1 AA large text Lc 30.5 Non-text elements, placeholder text
#BB31AE text on white 5.04:1 AA Lc 73.6 Content text, not long reading
#BB31AE text on black 4.16:1 AA large text Lc -28.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

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F0CDE9

    oklch(88.6% 0.054 332.9)

  4. Step 300

    300

    #E7A9DD

    oklch(80.9% 0.099 332.2)

  5. Step 400

    400

    #D878CB

    oklch(70.6% 0.157 332.3)

  6. Step 500

    500

    #CB50BE

    oklch(63.1% 0.2 332)

  7. Step 600

    600 (this color)

    #BB31AE

    oklch(57% 0.218 332.2)

  8. Step 700

    700

    #9D1B92

    oklch(49.2% 0.203 332.2)

  9. Step 800

    800

    #7F1B76

    oklch(42.6% 0.168 332.2)

  10. Step 900

    900

    #671F5F

    oklch(37.8% 0.13 332.6)

  11. Step 950

    950

    #3C1438

    oklch(27% 0.082 331.6)

Export this scale for Tailwind in the Tailwind colors tool

#BB31AE 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)#2862B10.236
Deuteranopia (no green cones)#5E76AB0.201
Tritanopia (no blue cones)#C3416D0.114
Achromatopsia (no color)#6F6F6F0.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #BB31AE

    #BB31AE

    oklch(57% 0.218 332.2)

  • #008F49

    #008F49

    oklch(57% 0.149 152.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BB31AE

    #BB31AE

    oklch(57% 0.218 332.2)

  • #9249DF

    #9249DF

    oklch(57.1% 0.218 302.2)

  • #D41B6D

    #D41B6D

    oklch(57% 0.218 2.2)

Open the analogous palette in the generator

Split complementary

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

  • #BB31AE

    #BB31AE

    oklch(57% 0.218 332.2)

  • #6A8300

    #6A8300

    oklch(57% 0.138 122)

  • #008A7C

    #008A7C

    oklch(56.9% 0.102 182.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BB31AE

    #BB31AE

    oklch(57% 0.218 332.2)

  • #907400

    #907400

    oklch(57% 0.116 91.9)

  • #008699

    #008699

    oklch(56.9% 0.099 212)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BB31AE

    #BB31AE

    oklch(57% 0.218 332.2)

  • #AC6200

    #AC6200

    oklch(56.8% 0.131 62.1)

  • #008F49

    #008F49

    oklch(57% 0.149 152.4)

  • #007EC0

    #007EC0

    oklch(56.9% 0.136 242.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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