#B158AC

Closest named color: Amethyst (#9B5FC0). oklch(59.8% 0.156 329.4), rgb(177, 88, 172).

Aa

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

About this color

#B158AC is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.156 and its hue 329°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Amethyst (#9B5FC0), ΔE 0.050 away. Black text reads best on it, at 4.86:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.156)
Temperaturein between
Nearest nameAmethyst (#9B5FC0)
Black text4.86:1
White text4.32:1

Values

HEX#B158AC
RGBrgb(177, 88, 172)
HSLhsl(303, 36%, 52%)
OKLCHoklch(59.8% 0.156 329.4)

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 #B158AC 4.32:1 AA large text Lc -75.0 Content text, not long reading
Black text on #B158AC 4.86:1 AA Lc 34.6 Non-text elements, placeholder text
#B158AC text on white 4.32:1 AA large text Lc 69.5 Content text, not long reading
#B158AC text on black 4.86:1 AA Lc -32.2 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

    #FAF3F9

    oklch(97.1% 0.011 330.1)

  2. Step 100

    100

    #F3E5F1

    oklch(93.6% 0.022 330.3)

  3. Step 200

    200

    #EAD0E7

    oklch(88.6% 0.042 329.6)

  4. Step 300

    300

    #DDAFD9

    oklch(80.8% 0.077 329.1)

  5. Step 400

    400

    #CB84C5

    oklch(70.8% 0.122 329.8)

  6. Step 500

    500 (this color)

    #B158AC

    oklch(59.8% 0.156 329.4)

  7. Step 600

    600

    #A746A2

    oklch(55.6% 0.17 329.6)

  8. Step 700

    700

    #8F378B

    oklch(49.1% 0.158 329.5)

  9. Step 800

    800

    #742E71

    oklch(42.6% 0.131 329.3)

  10. Step 900

    900

    #5E2A5B

    oklch(37.6% 0.102 329.6)

  11. Step 950

    950

    #371936

    oklch(26.9% 0.066 328.4)

Export this scale for Tailwind in the Tailwind colors tool

#B158AC 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)#5272AF0.156
Deuteranopia (no green cones)#6C7EA90.139
Tritanopia (no blue cones)#B7607A0.086
Achromatopsia (no color)#7A7A7A0.158

Harmonies

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

Complementary

The opposite hue (180°).

  • #B158AC

    #B158AC

    oklch(59.8% 0.156 329.4)

  • #1D9848

    #1D9848

    oklch(59.8% 0.156 149.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B158AC

    #B158AC

    oklch(59.8% 0.156 329.4)

  • #8E66CE

    #8E66CE

    oklch(59.8% 0.156 299.4)

  • #C6507D

    #C6507D

    oklch(59.8% 0.157 359.2)

Open the analogous palette in the generator

Split complementary

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

  • #B158AC

    #B158AC

    oklch(59.8% 0.156 329.4)

  • #768B00

    #768B00

    oklch(59.9% 0.142 119.8)

  • #009481

    #009481

    oklch(59.7% 0.109 179.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B158AC

    #B158AC

    oklch(59.8% 0.156 329.4)

  • #9C7B00

    #9C7B00

    oklch(59.8% 0.122 89.8)

  • #0090A1

    #0090A1

    oklch(59.8% 0.103 209.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B158AC

    #B158AC

    oklch(59.8% 0.156 329.4)

  • #BB6700

    #BB6700

    oklch(59.8% 0.141 59.5)

  • #1D9848

    #1D9848

    oklch(59.8% 0.156 149.5)

  • #0088C7

    #0088C7

    oklch(59.7% 0.136 239.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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