#B158BC

Closest named color: Medium Orchid (#BA55D3). oklch(60.6% 0.171 323.1), rgb(177, 88, 188).

Aa

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

About this color

#B158BC is a medium-dark, vivid purple. In OKLCH its lightness is 61%, its chroma 0.171 and its hue 323°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Orchid (#BA55D3), ΔE 0.039 away. Black text reads best on it, at 4.99:1.

Hue familyPurples
Lightnessmedium-dark (61%)
Chromavivid (0.171)
Temperaturein between
Nearest nameMedium Orchid (#BA55D3)
Black text4.99:1
White text4.20:1

Values

HEX#B158BC
RGBrgb(177, 88, 188)
HSLhsl(293, 43%, 54%)
OKLCHoklch(60.6% 0.171 323.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 #B158BC 4.20:1 AA large text Lc -74.0 Content text, not long reading
Black text on #B158BC 4.99:1 AA Lc 35.5 Non-text elements, placeholder text
#B158BC text on white 4.20:1 AA large text Lc 68.6 Content text, not long reading
#B158BC text on black 4.99:1 AA Lc -33.1 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

    #F9F3FA

    oklch(97.1% 0.011 321.3)

  2. Step 100

    100

    #F2E5F3

    oklch(93.6% 0.023 323.6)

  3. Step 200

    200

    #E9CFEB

    oklch(88.4% 0.047 323.8)

  4. Step 300

    300

    #DBAFE0

    oklch(80.9% 0.083 322.9)

  5. Step 400

    400

    #C882D1

    oklch(70.6% 0.135 322.8)

  6. Step 500

    500 (this color)

    #B158BC

    oklch(60.6% 0.171 323.1)

  7. Step 600

    600

    #A443B1

    oklch(55.6% 0.186 322.8)

  8. Step 700

    700

    #8D3398

    oklch(49.1% 0.174 323.2)

  9. Step 800

    800

    #722C7B

    oklch(42.7% 0.143 323)

  10. Step 900

    900

    #5D2963

    oklch(37.8% 0.111 323.4)

  11. Step 950

    950

    #36193A

    oklch(27% 0.07 322.6)

Export this scale for Tailwind in the Tailwind colors tool

#B158BC 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)#4975BF0.164
Deuteranopia (no green cones)#657FB90.145
Tritanopia (no blue cones)#B465820.103
Achromatopsia (no color)#7B7B7B0.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #B158BC

    #B158BC

    oklch(60.6% 0.171 323.1)

  • #329A32

    #329A32

    oklch(60.5% 0.171 143.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B158BC

    #B158BC

    oklch(60.6% 0.171 323.1)

  • #8868DD

    #8868DD

    oklch(60.4% 0.172 293.2)

  • #CB4D8A

    #CB4D8A

    oklch(60.6% 0.171 353.4)

Open the analogous palette in the generator

Split complementary

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

  • #B158BC

    #B158BC

    oklch(60.6% 0.171 323.1)

  • #838900

    #838900

    oklch(60.5% 0.135 112.8)

  • #00987B

    #00987B

    oklch(60.6% 0.117 172.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B158BC

    #B158BC

    oklch(60.6% 0.171 323.1)

  • #A67A00

    #A67A00

    oklch(60.7% 0.125 83.2)

  • #00939D

    #00939D

    oklch(60.4% 0.103 203.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B158BC

    #B158BC

    oklch(60.6% 0.171 323.1)

  • #C66200

    #C66200

    oklch(60.5% 0.154 53)

  • #329A32

    #329A32

    oklch(60.5% 0.171 143.1)

  • #008DC0

    #008DC0

    oklch(60.5% 0.125 233)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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