#B51FB7

Closest named color: Purpley Pink (#C83CB9). oklch(55.4% 0.237 327.6), rgb(181, 31, 183).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (55%)
Chromavivid (0.237)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text3.84:1
White text5.46:1

Values

HEX#B51FB7
RGBrgb(181, 31, 183)
HSLhsl(299, 71%, 42%)
OKLCHoklch(55.4% 0.237 327.6)

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 #B51FB7 5.46:1 AA Lc -81.0 Fine for body text
Black text on #B51FB7 3.84:1 AA large text Lc 28.5 Dividers and decoration only
#B51FB7 text on white 5.46:1 AA Lc 75.6 Fine for body text
#B51FB7 text on black 3.84:1 AA large text Lc -26.1 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

    #FBF2FA

    oklch(97% 0.014 329.1)

  2. Step 100

    100

    #F6E3F5

    oklch(93.6% 0.031 327.4)

  3. Step 200

    200

    #EFCCEE

    oklch(88.5% 0.059 327)

  4. Step 300

    300

    #E6A8E4

    oklch(80.9% 0.107 327.6)

  5. Step 400

    400

    #D776D6

    oklch(70.7% 0.17 327.6)

  6. Step 500

    500

    #CB4ACB

    oklch(63.1% 0.219 327.8)

  7. Step 600

    600 (this color)

    #B51FB7

    oklch(55.4% 0.237 327.6)

  8. Step 700

    700

    #9C0C9E

    oklch(49.1% 0.22 327.6)

  9. Step 800

    800

    #7F1380

    oklch(42.7% 0.182 327.8)

  10. Step 900

    900

    #661B67

    oklch(37.7% 0.142 327.4)

  11. Step 950

    950

    #3C123C

    oklch(27% 0.089 327.7)

Export this scale for Tailwind in the Tailwind colors tool

#B51FB7 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)#005DBB0.252
Deuteranopia (no green cones)#4D70B40.215
Tritanopia (no blue cones)#BB3D6E0.132
Achromatopsia (no color)#6969690.239

Harmonies

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

Complementary

The opposite hue (180°).

  • #B51FB7

    #B51FB7

    oklch(55.4% 0.237 327.6)

  • #008B34

    #008B34

    oklch(55.5% 0.162 147.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B51FB7

    #B51FB7

    oklch(55.4% 0.237 327.6)

  • #873FE8

    #873FE8

    oklch(55.4% 0.237 297.4)

  • #CE0073

    #CE0073

    oklch(55.4% 0.226 357.6)

Open the analogous palette in the generator

Split complementary

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

  • #B51FB7

    #B51FB7

    oklch(55.4% 0.237 327.6)

  • #6D7C00

    #6D7C00

    oklch(55.4% 0.129 117.8)

  • #008672

    #008672

    oklch(55.4% 0.103 177.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B51FB7

    #B51FB7

    oklch(55.4% 0.237 327.6)

  • #8F6D00

    #8F6D00

    oklch(55.3% 0.113 86.9)

  • #00828F

    #00828F

    oklch(55.4% 0.095 207.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B51FB7

    #B51FB7

    oklch(55.4% 0.237 327.6)

  • #AB5B00

    #AB5B00

    oklch(55.5% 0.133 57.7)

  • #008B34

    #008B34

    oklch(55.5% 0.162 147.6)

  • #007BB1

    #007BB1

    oklch(55.3% 0.122 237.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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