#B231AF

Closest named color: Purpley Pink (#C83CB9). oklch(55.7% 0.214 329), rgb(178, 49, 175).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (56%)
Chromavivid (0.214)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text3.95:1
White text5.31:1

Values

HEX#B231AF
RGBrgb(178, 49, 175)
HSLhsl(301, 57%, 45%)
OKLCHoklch(55.7% 0.214 329)

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 #B231AF 5.31:1 AA Lc -80.6 Fine for body text
Black text on #B231AF 3.95:1 AA large text Lc 28.8 Dividers and decoration only
#B231AF text on white 5.31:1 AA Lc 75.3 Fine for body text
#B231AF text on black 3.95:1 AA large text Lc -26.5 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

    #FBF3FA

    oklch(97.2% 0.013 329.6)

  2. Step 100

    100

    #F5E4F3

    oklch(93.7% 0.027 329.5)

  3. Step 200

    200

    #EECDEB

    oklch(88.5% 0.054 328.9)

  4. Step 300

    300

    #E4AADF

    oklch(80.8% 0.097 329.3)

  5. Step 400

    400

    #D47ACF

    oklch(70.6% 0.155 329.1)

  6. Step 500

    500

    #C753C3

    oklch(63.2% 0.198 329)

  7. Step 600

    600 (this color)

    #B231AF

    oklch(55.7% 0.214 329)

  8. Step 700

    700

    #992196

    oklch(49.2% 0.199 329.2)

  9. Step 800

    800

    #7C1F7A

    oklch(42.7% 0.165 328.9)

  10. Step 900

    900

    #642162

    oklch(37.7% 0.128 329)

  11. Step 950

    950

    #3B1539

    oklch(27% 0.08 329.6)

Export this scale for Tailwind in the Tailwind colors tool

#B231AF 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)#1D60B20.230
Deuteranopia (no green cones)#5671AC0.193
Tritanopia (no blue cones)#B8436D0.117
Achromatopsia (no color)#6B6B6B0.216

Harmonies

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

Complementary

The opposite hue (180°).

  • #B231AF

    #B231AF

    oklch(55.7% 0.214 329)

  • #008B3A

    #008B3A

    oklch(55.6% 0.157 148.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B231AF

    #B231AF

    oklch(55.7% 0.214 329)

  • #8848DC

    #8848DC

    oklch(55.6% 0.214 299.1)

  • #CC1A71

    #CC1A71

    oklch(55.7% 0.214 358.9)

Open the analogous palette in the generator

Split complementary

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

  • #B231AF

    #B231AF

    oklch(55.7% 0.214 329)

  • #6C7D00

    #6C7D00

    oklch(55.6% 0.13 118.8)

  • #008775

    #008775

    oklch(55.8% 0.102 179)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B231AF

    #B231AF

    oklch(55.7% 0.214 329)

  • #8E6F00

    #8E6F00

    oklch(55.6% 0.114 89.2)

  • #008292

    #008292

    oklch(55.6% 0.096 209.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B231AF

    #B231AF

    oklch(55.7% 0.214 329)

  • #AA5D00

    #AA5D00

    oklch(55.7% 0.131 59.4)

  • #008B3A

    #008B3A

    oklch(55.6% 0.157 148.9)

  • #007CB4

    #007CB4

    oklch(55.7% 0.125 238.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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