#B831A8

Closest named color: Purpley Pink (#C83CB9). oklch(56.2% 0.212 333.3), rgb(184, 49, 168).

Aa

White text reads best on this color (5.19:1).

About this color

#B831A8 is a medium-dark, vivid purple. In OKLCH its lightness is 56%, its chroma 0.212 and its hue 333°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Purpley Pink (#C83CB9), ΔE 0.043 away. White text reads best on it, at 5.19:1.

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.212)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.04:1
White text5.19:1

Values

HEX#B831A8
RGBrgb(184, 49, 168)
HSLhsl(307, 58%, 46%)
OKLCHoklch(56.2% 0.212 333.3)

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 #B831A8 5.19:1 AA Lc -79.9 Fine for body text
Black text on #B831A8 4.04:1 AA large text Lc 29.5 Dividers and decoration only
#B831A8 text on white 5.19:1 AA Lc 74.5 Content text, not long reading
#B831A8 text on black 4.04:1 AA large text Lc -27.2 Dividers and decoration only

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

  1. Step 50

    50

    #FBF2F9

    oklch(97% 0.013 333)

  2. Step 100

    100

    #F6E3F2

    oklch(93.5% 0.029 332.8)

  3. Step 200

    200

    #F0CDE8

    oklch(88.6% 0.053 334)

  4. Step 300

    300

    #E6AADB

    oklch(80.9% 0.095 333)

  5. Step 400

    400

    #D879C8

    oklch(70.6% 0.153 333.6)

  6. Step 500

    500

    #CB52BA

    oklch(63.1% 0.194 333.5)

  7. Step 600

    600 (this color)

    #B831A8

    oklch(56.2% 0.212 333.3)

  8. Step 700

    700

    #9C1F8E

    oklch(49% 0.196 333.4)

  9. Step 800

    800

    #7F1D74

    oklch(42.7% 0.164 333.1)

  10. Step 900

    900

    #67205D

    oklch(37.8% 0.127 333.8)

  11. Step 950

    950

    #3C1437

    oklch(26.9% 0.081 332.7)

Export this scale for Tailwind in the Tailwind colors tool

#B831A8 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)#2C60AB0.230
Deuteranopia (no green cones)#5F74A50.195
Tritanopia (no blue cones)#C03E690.109
Achromatopsia (no color)#6D6D6D0.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #B831A8

    #B831A8

    oklch(56.2% 0.212 333.3)

  • #008C4A

    #008C4A

    oklch(56.1% 0.144 153.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B831A8

    #B831A8

    oklch(56.2% 0.212 333.3)

  • #9047D8

    #9047D8

    oklch(56.1% 0.213 303.2)

  • #D01D68

    #D01D68

    oklch(56.3% 0.212 3.5)

Open the analogous palette in the generator

Split complementary

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

  • #B831A8

    #B831A8

    oklch(56.2% 0.212 333.3)

  • #668100

    #668100

    oklch(56.2% 0.138 123)

  • #00887B

    #00887B

    oklch(56.3% 0.1 183.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B831A8

    #B831A8

    oklch(56.2% 0.212 333.3)

  • #8C7300

    #8C7300

    oklch(56.3% 0.115 93.7)

  • #008398

    #008398

    oklch(56.1% 0.099 214.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B831A8

    #B831A8

    oklch(56.2% 0.212 333.3)

  • #A86100

    #A86100

    oklch(56.1% 0.128 63.1)

  • #008C4A

    #008C4A

    oklch(56.1% 0.144 153.2)

  • #007BBE

    #007BBE

    oklch(56.1% 0.137 243.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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