#B842A5

Closest named color: Purpley Pink (#C83CB9). oklch(57.7% 0.189 334.7), rgb(184, 66, 165).

Aa

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

About this color

#B842A5 is a medium-dark, vivid purple. In OKLCH its lightness is 58%, its chroma 0.189 and its hue 335°. 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 4.81:1.

Hue familyPurples
Lightnessmedium-dark (58%)
Chromavivid (0.189)
Temperaturein between
Nearest namePurpley Pink (#C83CB9)
Black text4.36:1
White text4.81:1

Values

HEX#B842A5
RGBrgb(184, 66, 165)
HSLhsl(310, 47%, 49%)
OKLCHoklch(57.7% 0.189 334.7)

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 #B842A5 4.81:1 AA Lc -78.0 Fine for body text
Black text on #B842A5 4.36:1 AA large text Lc 31.5 Non-text elements, placeholder text
#B842A5 text on white 4.81:1 AA Lc 72.6 Content text, not long reading
#B842A5 text on black 4.36:1 AA large text Lc -29.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

    #FBF3F8

    oklch(97.2% 0.011 339.3)

  2. Step 100

    100

    #F5E4F1

    oklch(93.6% 0.025 333.7)

  3. Step 200

    200

    #EECEE6

    oklch(88.5% 0.048 334.8)

  4. Step 300

    300

    #E3ACD7

    oklch(80.8% 0.085 334.2)

  5. Step 400

    400

    #D47EC2

    oklch(70.7% 0.136 335.1)

  6. Step 500

    500

    #C65AB3

    oklch(63.1% 0.174 334.7)

  7. Step 600

    600 (this color)

    #B842A5

    oklch(57.7% 0.189 334.7)

  8. Step 700

    700

    #982C88

    oklch(49.1% 0.176 334.5)

  9. Step 800

    800

    #7B266E

    oklch(42.6% 0.146 334.5)

  10. Step 900

    900

    #642559

    oklch(37.7% 0.113 335)

  11. Step 950

    950

    #3B1734

    oklch(27.1% 0.071 335.3)

Export this scale for Tailwind in the Tailwind colors tool

#B842A5 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)#4167A80.201
Deuteranopia (no green cones)#6878A20.173
Tritanopia (no blue cones)#C14A6D0.096
Achromatopsia (no color)#7272720.190

Harmonies

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

Complementary

The opposite hue (180°).

  • #B842A5

    #B842A5

    oklch(57.7% 0.189 334.7)

  • #009151

    #009151

    oklch(57.7% 0.144 154.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B842A5

    #B842A5

    oklch(57.7% 0.189 334.7)

  • #9353D1

    #9353D1

    oklch(57.5% 0.189 304.5)

  • #CD376B

    #CD376B

    oklch(57.6% 0.189 4.6)

Open the analogous palette in the generator

Split complementary

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

  • #B842A5

    #B842A5

    oklch(57.7% 0.189 334.7)

  • #678700

    #678700

    oklch(57.8% 0.144 124.6)

  • #008C81

    #008C81

    oklch(57.6% 0.101 185.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B842A5

    #B842A5

    oklch(57.7% 0.189 334.7)

  • #907700

    #907700

    oklch(57.6% 0.118 94.2)

  • #00889E

    #00889E

    oklch(57.6% 0.101 214.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B842A5

    #B842A5

    oklch(57.7% 0.189 334.7)

  • #AD6600

    #AD6600

    oklch(57.7% 0.13 64.5)

  • #009151

    #009151

    oklch(57.7% 0.144 154.6)

  • #007FC8

    #007FC8

    oklch(57.6% 0.145 244.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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