#B173DA

Closest named color: Light Urple (#B36FF6). oklch(66.1% 0.159 310.5), rgb(177, 115, 218).

Aa

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

About this color

#B173DA is a medium-light, vivid purple. In OKLCH its lightness is 66%, its chroma 0.159 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.044 away. Black text reads best on it, at 6.33:1.

Hue familyPurples
Lightnessmedium-light (66%)
Chromavivid (0.159)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.33:1
White text3.31:1

Values

HEX#B173DA
RGBrgb(177, 115, 218)
HSLhsl(276, 58%, 65%)
OKLCHoklch(66.1% 0.159 310.5)

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 #B173DA 3.31:1 AA large text Lc -65.7 Content text, not long reading
Black text on #B173DA 6.33:1 AA Lc 43.8 Non-text elements, placeholder text
#B173DA text on white 3.31:1 AA large text Lc 60.3 Content text, not long reading
#B173DA text on black 6.33:1 AA Lc -41.4 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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F5

    oklch(93.6% 0.022 312.2)

  3. Step 200

    200

    #E2D2EF

    oklch(88.6% 0.043 310.1)

  4. Step 300

    300

    #D0B3E7

    oklch(80.9% 0.078 309.9)

  5. Step 400

    400

    #B989DA

    oklch(70.6% 0.125 310.7)

  6. Step 500

    500 (this color)

    #B173DA

    oklch(66.1% 0.159 310.5)

  7. Step 600

    600

    #934FBD

    oklch(55.7% 0.173 310.5)

  8. Step 700

    700

    #7D3FA3

    oklch(49.2% 0.161 310.4)

  9. Step 800

    800

    #663484

    oklch(42.7% 0.134 310.8)

  10. Step 900

    900

    #532F6A

    oklch(37.8% 0.104 310.5)

  11. Step 950

    950

    #301C3E

    oklch(27% 0.066 309.8)

Export this scale for Tailwind in the Tailwind colors tool

#B173DA 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)#5B8ADE0.127
Deuteranopia (no green cones)#6C8ED70.115
Tritanopia (no blue cones)#AC839C0.112
Achromatopsia (no color)#8D8D8D0.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #B173DA

    #B173DA

    oklch(66.1% 0.159 310.5)

  • #70A52B

    #70A52B

    oklch(66.1% 0.159 130.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B173DA

    #B173DA

    oklch(66.1% 0.159 310.5)

  • #8284F1

    #8284F1

    oklch(66.2% 0.159 280.3)

  • #D167B0

    #D167B0

    oklch(66.2% 0.159 340.6)

Open the analogous palette in the generator

Split complementary

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

  • #B173DA

    #B173DA

    oklch(66.1% 0.159 310.5)

  • #A69400

    #A69400

    oklch(66.2% 0.138 100.7)

  • #00AE73

    #00AE73

    oklch(66.3% 0.149 160.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B173DA

    #B173DA

    oklch(66.1% 0.159 310.5)

  • #C98100

    #C98100

    oklch(66.2% 0.143 70.6)

  • #00A8A3

    #00A8A3

    oklch(66.1% 0.114 191)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B173DA

    #B173DA

    oklch(66.1% 0.159 310.5)

  • #E16B3E

    #E16B3E

    oklch(66.2% 0.159 40.6)

  • #70A52B

    #70A52B

    oklch(66.1% 0.159 130.5)

  • #00A3C6

    #00A3C6

    oklch(66.2% 0.121 220.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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