#B162E4

Closest named color: Light Urple (#B36FF6). oklch(64.2% 0.197 310), rgb(177, 98, 228).

Aa

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

About this color

#B162E4 is a medium-light, vivid purple. In OKLCH its lightness is 64%, its chroma 0.197 and its hue 310°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.036 away. Black text reads best on it, at 5.73:1.

Hue familyPurples
Lightnessmedium-light (64%)
Chromavivid (0.197)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text5.73:1
White text3.66:1

Values

HEX#B162E4
RGBrgb(177, 98, 228)
HSLhsl(276, 71%, 64%)
OKLCHoklch(64.2% 0.197 310)

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 #B162E4 3.66:1 AA large text Lc -69.2 Content text, not long reading
Black text on #B162E4 5.73:1 AA Lc 40.3 Non-text elements, placeholder text
#B162E4 text on white 3.66:1 AA large text Lc 63.7 Content text, not long reading
#B162E4 text on black 5.73:1 AA Lc -37.9 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #F0E5F8

    oklch(93.6% 0.028 311.3)

  3. Step 200

    200

    #E4D0F4

    oklch(88.5% 0.053 310.1)

  4. Step 300

    300

    #D4AFF0

    oklch(80.9% 0.098 310.1)

  5. Step 400

    400

    #BE83E8

    oklch(70.8% 0.154 309.9)

  6. Step 500

    500 (this color)

    #B162E4

    oklch(64.2% 0.197 310)

  7. Step 600

    600

    #993FCE

    oklch(55.5% 0.215 310)

  8. Step 700

    700

    #8330B2

    oklch(49.2% 0.198 310.2)

  9. Step 800

    800

    #6A2990

    oklch(42.6% 0.165 310.1)

  10. Step 900

    900

    #562873

    oklch(37.7% 0.128 309.9)

  11. Step 950

    950

    #321843

    oklch(26.8% 0.081 309.9)

Export this scale for Tailwind in the Tailwind colors tool

#B162E4 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)#3682E80.169
Deuteranopia (no green cones)#5587E10.150
Tritanopia (no blue cones)#AA7A9A0.138
Achromatopsia (no color)#8686860.198

Harmonies

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

Complementary

The opposite hue (180°).

  • #B162E4

    #B162E4

    oklch(64.2% 0.197 310)

  • #68A000

    #68A000

    oklch(64.2% 0.173 130.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B162E4

    #B162E4

    oklch(64.2% 0.197 310)

  • #7A78FF

    #7A78FF

    oklch(64.3% 0.195 280.1)

  • #D651B1

    #D651B1

    oklch(64.2% 0.197 340.2)

Open the analogous palette in the generator

Split complementary

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

  • #B162E4

    #B162E4

    oklch(64.2% 0.197 310)

  • #A08D00

    #A08D00

    oklch(64.1% 0.133 99.7)

  • #00A76D

    #00A76D

    oklch(64.3% 0.146 159.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B162E4

    #B162E4

    oklch(64.2% 0.197 310)

  • #C17B00

    #C17B00

    oklch(64.1% 0.139 70.2)

  • #00A29C

    #00A29C

    oklch(64.3% 0.111 190.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B162E4

    #B162E4

    oklch(64.2% 0.197 310)

  • #EA540C

    #EA540C

    oklch(64.1% 0.198 39.9)

  • #68A000

    #68A000

    oklch(64.2% 0.173 130.1)

  • #009CBD

    #009CBD

    oklch(64.1% 0.117 220)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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