#BB40C7

Closest named color: Purpley Pink (#C83CB9). oklch(59.7% 0.22 324.1), rgb(187, 64, 199).

Aa

Black text reads best on this color (4.67:1).

About this color

#BB40C7 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.220 and its hue 324°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.034 away. Black text reads best on it, at 4.67:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.220)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.67:1
White text4.49:1

Values

HEX#BB40C7
RGBrgb(187, 64, 199)
HSLhsl(295, 55%, 52%)
OKLCHoklch(59.7% 0.22 324.1)

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 #BB40C7 4.49:1 AA large text Lc -75.7 Fine for body text
Black text on #BB40C7 4.67:1 AA Lc 33.8 Non-text elements, placeholder text
#BB40C7 text on white 4.49:1 AA large text Lc 70.2 Content text, not long reading
#BB40C7 text on black 4.67:1 AA Lc -31.4 Non-text elements, placeholder text

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 500.

  1. Step 50

    50

    #FBF2FB

    oklch(97.1% 0.015 325.7)

  2. Step 100

    100

    #F5E3F6

    oklch(93.6% 0.032 324.2)

  3. Step 200

    200

    #EECCF0

    oklch(88.5% 0.061 324.3)

  4. Step 300

    300

    #E3A9E8

    oklch(80.9% 0.107 323.8)

  5. Step 400

    400

    #D477DC

    oklch(70.8% 0.172 324.2)

  6. Step 500

    500 (this color)

    #BB40C7

    oklch(59.7% 0.22 324.1)

  7. Step 600

    600

    #B223BF

    oklch(55.6% 0.239 324.2)

  8. Step 700

    700

    #990FA5

    oklch(49.2% 0.223 324.2)

  9. Step 800

    800

    #7C1586

    oklch(42.8% 0.184 324)

  10. Step 900

    900

    #641C6B

    oklch(37.7% 0.143 324.1)

  11. Step 950

    950

    #3B123F

    oklch(27% 0.092 324.1)

Export this scale for Tailwind in the Tailwind colors tool

#BB40C7 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)#1E6DCB0.227
Deuteranopia (no green cones)#587CC40.193
Tritanopia (no blue cones)#BE567F0.129
Achromatopsia (no color)#7777770.222

Harmonies

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

Complementary

The opposite hue (180°).

  • #BB40C7

    #BB40C7

    oklch(59.7% 0.22 324.1)

  • #009A1F

    #009A1F

    oklch(59.6% 0.193 144.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BB40C7

    #BB40C7

    oklch(59.7% 0.22 324.1)

  • #8B58F2

    #8B58F2

    oklch(59.7% 0.219 294)

  • #D92B88

    #D92B88

    oklch(59.6% 0.22 354)

Open the analogous palette in the generator

Split complementary

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

  • #BB40C7

    #BB40C7

    oklch(59.7% 0.22 324.1)

  • #7F8700

    #7F8700

    oklch(59.6% 0.134 113.9)

  • #00957A

    #00957A

    oklch(59.7% 0.114 173.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BB40C7

    #BB40C7

    oklch(59.7% 0.22 324.1)

  • #A17800

    #A17800

    oklch(59.7% 0.122 84.6)

  • #00909B

    #00909B

    oklch(59.6% 0.102 204.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BB40C7

    #BB40C7

    oklch(59.7% 0.22 324.1)

  • #C16100

    #C16100

    oklch(59.6% 0.15 53.9)

  • #009A1F

    #009A1F

    oklch(59.6% 0.193 144.1)

  • #008ABE

    #008ABE

    oklch(59.7% 0.125 234.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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