#B45AA7

Closest named color: Soft Purple (#A66FB5). oklch(60.2% 0.151 333), rgb(180, 90, 167).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (60%)
Chromavivid (0.151)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text4.96:1
White text4.23:1

Values

HEX#B45AA7
RGBrgb(180, 90, 167)
HSLhsl(309, 38%, 53%)
OKLCHoklch(60.2% 0.151 333)

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 #B45AA7 4.23:1 AA large text Lc -74.3 Content text, not long reading
Black text on #B45AA7 4.96:1 AA Lc 35.3 Non-text elements, placeholder text
#B45AA7 text on white 4.23:1 AA large text Lc 68.8 Content text, not long reading
#B45AA7 text on black 4.96:1 AA Lc -32.9 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

    #FAF3F8

    oklch(97.1% 0.01 335.5)

  2. Step 100

    100

    #F3E5F0

    oklch(93.6% 0.021 332.9)

  3. Step 200

    200

    #EAD0E5

    oklch(88.5% 0.04 332.4)

  4. Step 300

    300

    #DEAFD5

    oklch(80.8% 0.074 333)

  5. Step 400

    400

    #CC84C0

    oklch(70.7% 0.118 332.9)

  6. Step 500

    500 (this color)

    #B45AA7

    oklch(60.2% 0.151 333)

  7. Step 600

    600

    #A9479C

    oklch(55.7% 0.165 333)

  8. Step 700

    700

    #903885

    oklch(49.1% 0.152 332.8)

  9. Step 800

    800

    #752F6C

    oklch(42.6% 0.126 332.8)

  10. Step 900

    900

    #5F2B58

    oklch(37.8% 0.098 332.6)

  11. Step 950

    950

    #381A33

    oklch(27.1% 0.061 333.6)

Export this scale for Tailwind in the Tailwind colors tool

#B45AA7 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)#5873AA0.153
Deuteranopia (no green cones)#7280A40.137
Tritanopia (no blue cones)#BB60790.078
Achromatopsia (no color)#7B7B7B0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #B45AA7

    #B45AA7

    oklch(60.2% 0.151 333)

  • #119A53

    #119A53

    oklch(60.3% 0.151 153)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B45AA7

    #B45AA7

    oklch(60.2% 0.151 333)

  • #9467CA

    #9467CA

    oklch(60.3% 0.151 303.2)

  • #C75478

    #C75478

    oklch(60.3% 0.15 3.1)

Open the analogous palette in the generator

Split complementary

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

  • #B45AA7

    #B45AA7

    oklch(60.2% 0.151 333)

  • #718E00

    #718E00

    oklch(60.2% 0.148 122.9)

  • #009587

    #009587

    oklch(60.2% 0.107 183.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B45AA7

    #B45AA7

    oklch(60.2% 0.151 333)

  • #9A7E00

    #9A7E00

    oklch(60.2% 0.123 93.2)

  • #0091A6

    #0091A6

    oklch(60.3% 0.105 212.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B45AA7

    #B45AA7

    oklch(60.2% 0.151 333)

  • #B96B00

    #B96B00

    oklch(60.2% 0.138 62.9)

  • #119A53

    #119A53

    oklch(60.3% 0.151 153)

  • #0088D0

    #0088D0

    oklch(60.2% 0.146 243)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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