#B162BB

Closest named color: Soft Purple (#A66FB5). oklch(61.9% 0.154 323), rgb(177, 98, 187).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-dark (62%)
Chromavivid (0.154)
Temperaturein between
Nearest nameSoft Purple (#A66FB5)
Black text5.33:1
White text3.93:1

Values

HEX#B162BB
RGBrgb(177, 98, 187)
HSLhsl(293, 40%, 56%)
OKLCHoklch(61.9% 0.154 323)

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 #B162BB 3.93:1 AA large text Lc -71.9 Content text, not long reading
Black text on #B162BB 5.33:1 AA Lc 37.7 Non-text elements, placeholder text
#B162BB text on white 3.93:1 AA large text Lc 66.4 Content text, not long reading
#B162BB text on black 5.33:1 AA Lc -35.2 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

    #F9F3F9

    oklch(97% 0.01 325.7)

  2. Step 100

    100

    #F1E5F2

    oklch(93.5% 0.022 323.4)

  3. Step 200

    200

    #E7D0EA

    oklch(88.4% 0.043 322.3)

  4. Step 300

    300

    #D9B1DD

    oklch(81% 0.075 323.3)

  5. Step 400

    400

    #C586CC

    oklch(70.7% 0.121 323.2)

  6. Step 500

    500 (this color)

    #B162BB

    oklch(61.9% 0.154 323)

  7. Step 600

    600

    #A04AAB

    oklch(55.6% 0.168 323)

  8. Step 700

    700

    #893B93

    oklch(49.2% 0.156 323)

  9. Step 800

    800

    #6F3177

    oklch(42.7% 0.129 322.9)

  10. Step 900

    900

    #5A2C60

    oklch(37.6% 0.101 322.9)

  11. Step 950

    950

    #351B38

    oklch(27.1% 0.062 323.3)

Export this scale for Tailwind in the Tailwind colors tool

#B162BB 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)#567ABE0.144
Deuteranopia (no green cones)#6D83B80.128
Tritanopia (no blue cones)#B46D860.093
Achromatopsia (no color)#8080800.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #B162BB

    #B162BB

    oklch(61.9% 0.154 323)

  • #449D41

    #449D41

    oklch(62.1% 0.155 142.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B162BB

    #B162BB

    oklch(61.9% 0.154 323)

  • #8B71D9

    #8B71D9

    oklch(62% 0.153 292.9)

  • #C9598E

    #C9598E

    oklch(61.9% 0.153 352.9)

Open the analogous palette in the generator

Split complementary

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

  • #B162BB

    #B162BB

    oklch(61.9% 0.154 323)

  • #878E00

    #878E00

    oklch(62% 0.138 113.2)

  • #009D7F

    #009D7F

    oklch(62% 0.119 172.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B162BB

    #B162BB

    oklch(61.9% 0.154 323)

  • #AB7D00

    #AB7D00

    oklch(61.9% 0.127 82.6)

  • #0098A2

    #0098A2

    oklch(61.9% 0.105 203)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B162BB

    #B162BB

    oklch(61.9% 0.154 323)

  • #CB660B

    #CB660B

    oklch(61.9% 0.154 52.9)

  • #449D41

    #449D41

    oklch(62.1% 0.155 142.9)

  • #0092C6

    #0092C6

    oklch(62.1% 0.128 232.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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