#BB27A7

Closest named color: Purpley Pink (#C83CB9). oklch(55.9% 0.222 334.5), rgb(187, 39, 167).

Aa

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

About this color

#BB27A7 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.222 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.046 away. White text reads best on it, at 5.30:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.222)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text3.96:1
White text5.30:1

Values

HEX#BB27A7
RGBrgb(187, 39, 167)
HSLhsl(308, 65%, 44%)
OKLCHoklch(55.9% 0.222 334.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 #BB27A7 5.30:1 AA Lc -80.3 Fine for body text
Black text on #BB27A7 3.96:1 AA large text Lc 29.2 Dividers and decoration only
#BB27A7 text on white 5.30:1 AA Lc 74.9 Content text, not long reading
#BB27A7 text on black 3.96:1 AA large text Lc -26.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

    #FCF2F9

    oklch(97.1% 0.014 336.1)

  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

    #E9A8DB

    oklch(80.9% 0.101 334.4)

  5. Step 400

    400

    #DB76C8

    oklch(70.6% 0.16 334.6)

  6. Step 500

    500

    #CF4DBA

    oklch(63.1% 0.204 334.6)

  7. Step 600

    600 (this color)

    #BB27A7

    oklch(55.9% 0.222 334.5)

  8. Step 700

    700

    #A0148E

    oklch(49.1% 0.207 334.7)

  9. Step 800

    800

    #821774

    oklch(42.7% 0.171 334.4)

  10. Step 900

    900

    #691C5D

    oklch(37.7% 0.134 334.9)

  11. Step 950

    950

    #3E1237

    oklch(27% 0.086 334.5)

Export this scale for Tailwind in the Tailwind colors tool

#BB27A7 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)#245EAA0.246
Deuteranopia (no green cones)#5E73A40.207
Tritanopia (no blue cones)#C436660.113
Achromatopsia (no color)#6B6B6B0.225

Harmonies

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

Complementary

The opposite hue (180°).

  • #BB27A7

    #BB27A7

    oklch(55.9% 0.222 334.5)

  • #008B4D

    #008B4D

    oklch(55.9% 0.14 154.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BB27A7

    #BB27A7

    oklch(55.9% 0.222 334.5)

  • #9341DA

    #9341DA

    oklch(55.9% 0.223 304.6)

  • #D30664

    #D30664

    oklch(55.9% 0.223 4.4)

Open the analogous palette in the generator

Split complementary

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

  • #BB27A7

    #BB27A7

    oklch(55.9% 0.222 334.5)

  • #628100

    #628100

    oklch(55.9% 0.14 124.7)

  • #00867B

    #00867B

    oklch(55.7% 0.098 184.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BB27A7

    #BB27A7

    oklch(55.9% 0.222 334.5)

  • #8A7200

    #8A7200

    oklch(55.9% 0.115 94.3)

  • #008298

    #008298

    oklch(55.8% 0.099 215.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BB27A7

    #BB27A7

    oklch(55.9% 0.222 334.5)

  • #A66100

    #A66100

    oklch(55.8% 0.126 64)

  • #008B4D

    #008B4D

    oklch(55.9% 0.14 154.5)

  • #007ABF

    #007ABF

    oklch(55.9% 0.139 244.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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