#BB42A7

Closest named color: Purpley Pink (#C83CB9). oklch(58.2% 0.192 334.9), rgb(187, 66, 167).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.192)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.45:1
White text4.71:1

Values

HEX#BB42A7
RGBrgb(187, 66, 167)
HSLhsl(310, 48%, 50%)
OKLCHoklch(58.2% 0.192 334.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 #BB42A7 4.71:1 AA Lc -77.4 Fine for body text
Black text on #BB42A7 4.45:1 AA large text Lc 32.2 Non-text elements, placeholder text
#BB42A7 text on white 4.71:1 AA Lc 71.9 Content text, not long reading
#BB42A7 text on black 4.45:1 AA large text Lc -29.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

    #FBF3F9

    oklch(97.2% 0.012 334.1)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EECEE6

    oklch(88.5% 0.048 334.8)

  4. Step 300

    300

    #E4ACD7

    oklch(80.9% 0.086 334.8)

  5. Step 400

    400

    #D57DC3

    oklch(70.7% 0.14 334.9)

  6. Step 500

    500

    #C759B3

    oklch(63.1% 0.176 335)

  7. Step 600

    600 (this color)

    #BB42A7

    oklch(58.2% 0.192 334.9)

  8. Step 700

    700

    #992A88

    oklch(49.1% 0.179 334.9)

  9. Step 800

    800

    #7C256E

    oklch(42.6% 0.148 335)

  10. Step 900

    900

    #642459

    oklch(37.6% 0.115 334.9)

  11. Step 950

    950

    #3B1634

    oklch(26.9% 0.073 335.2)

Export this scale for Tailwind in the Tailwind colors tool

#BB42A7 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)#4268AA0.204
Deuteranopia (no green cones)#697AA40.178
Tritanopia (no blue cones)#C44A6F0.096
Achromatopsia (no color)#7373730.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #BB42A7

    #BB42A7

    oklch(58.2% 0.192 334.9)

  • #009353

    #009353

    oklch(58.3% 0.144 154.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BB42A7

    #BB42A7

    oklch(58.2% 0.192 334.9)

  • #9654D4

    #9654D4

    oklch(58.2% 0.192 304.9)

  • #D0376C

    #D0376C

    oklch(58.1% 0.192 4.7)

Open the analogous palette in the generator

Split complementary

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

  • #BB42A7

    #BB42A7

    oklch(58.2% 0.192 334.9)

  • #678900

    #678900

    oklch(58.3% 0.147 125.2)

  • #008E83

    #008E83

    oklch(58.2% 0.102 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BB42A7

    #BB42A7

    oklch(58.2% 0.192 334.9)

  • #917900

    #917900

    oklch(58.2% 0.119 95.1)

  • #008AA1

    #008AA1

    oklch(58.3% 0.103 214.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BB42A7

    #BB42A7

    oklch(58.2% 0.192 334.9)

  • #AF6800

    #AF6800

    oklch(58.3% 0.131 65)

  • #009353

    #009353

    oklch(58.3% 0.144 154.9)

  • #0081CB

    #0081CB

    oklch(58.3% 0.146 244.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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