#B258A9

Closest named color: Soft Purple (#A66FB5). oklch(59.8% 0.154 331.2), rgb(178, 88, 169).

Aa

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

About this color

#B258A9 is a medium-dark, vivid purple. In OKLCH its lightness is 60%, its chroma 0.154 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Soft Purple (#A66FB5), ΔE 0.053 away. Black text reads best on it, at 4.86:1.

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.154)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text4.86:1
White text4.31:1

Values

HEX#B258A9
RGBrgb(178, 88, 169)
HSLhsl(306, 37%, 52%)
OKLCHoklch(59.8% 0.154 331.2)

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

    #EAD0E6

    oklch(88.6% 0.041 331)

  4. Step 300

    300

    #DEAFD7

    oklch(80.9% 0.076 331.4)

  5. Step 400

    400

    #CC84C3

    oklch(70.8% 0.12 331.3)

  6. Step 500

    500 (this color)

    #B258A9

    oklch(59.8% 0.154 331.2)

  7. Step 600

    600

    #A8469F

    oklch(55.5% 0.168 331.3)

  8. Step 700

    700

    #903788

    oklch(49.1% 0.156 331.3)

  9. Step 800

    800

    #752E6F

    oklch(42.7% 0.13 331)

  10. Step 900

    900

    #5F2A5A

    oklch(37.7% 0.102 331.1)

  11. Step 950

    950

    #381935

    oklch(27% 0.065 330.9)

Export this scale for Tailwind in the Tailwind colors tool

#B258A9 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)#5472AC0.155
Deuteranopia (no green cones)#6E7EA60.138
Tritanopia (no blue cones)#B85F790.082
Achromatopsia (no color)#7A7A7A0.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #B258A9

    #B258A9

    oklch(59.8% 0.154 331.2)

  • #14984C

    #14984C

    oklch(59.7% 0.155 151.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B258A9

    #B258A9

    oklch(59.8% 0.154 331.2)

  • #9065CC

    #9065CC

    oklch(59.7% 0.156 301.1)

  • #C6517A

    #C6517A

    oklch(59.8% 0.154 1)

Open the analogous palette in the generator

Split complementary

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

  • #B258A9

    #B258A9

    oklch(59.8% 0.154 331.2)

  • #738B00

    #738B00

    oklch(59.6% 0.143 121)

  • #009483

    #009483

    oklch(59.8% 0.108 180.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B258A9

    #B258A9

    oklch(59.8% 0.154 331.2)

  • #9B7C00

    #9B7C00

    oklch(59.9% 0.122 91.2)

  • #008FA3

    #008FA3

    oklch(59.7% 0.104 211.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B258A9

    #B258A9

    oklch(59.8% 0.154 331.2)

  • #B96800

    #B96800

    oklch(59.7% 0.139 60.9)

  • #14984C

    #14984C

    oklch(59.7% 0.155 151.1)

  • #0087CA

    #0087CA

    oklch(59.6% 0.14 241.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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