#B173F2

Closest named color: Light Urple (#B36FF6). oklch(67.5% 0.187 304.4), rgb(177, 115, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (67%)
Chromavivid (0.187)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text6.60:1
White text3.17:1

Values

HEX#B173F2
RGBrgb(177, 115, 242)
HSLhsl(269, 83%, 70%)
OKLCHoklch(67.5% 0.187 304.4)

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 #B173F2 3.17:1 AA large text Lc -64.0 Content text, not long reading
Black text on #B173F2 6.60:1 AA Lc 45.4 Large or bold text, headings
#B173F2 text on white 3.17:1 AA large text Lc 58.6 Large or bold text, headings
#B173F2 text on black 6.60:1 AA Lc -43.1 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 400.

  1. Step 50

    50

    #F8F3FE

    oklch(97.1% 0.015 306.4)

  2. Step 100

    100

    #EFE5FD

    oklch(93.7% 0.034 304.5)

  3. Step 200

    200

    #E2CFFD

    oklch(88.5% 0.066 303.9)

  4. Step 300

    300

    #D1ADFE

    oklch(80.8% 0.118 304.3)

  5. Step 400

    400 (this color)

    #B173F2

    oklch(67.5% 0.187 304.4)

  6. Step 500

    500

    #AB53FB

    oklch(63.1% 0.24 304.3)

  7. Step 600

    600

    #972BEA

    oklch(55.6% 0.26 304.2)

  8. Step 700

    700

    #8117CB

    oklch(49% 0.242 304.4)

  9. Step 800

    800

    #691AA4

    oklch(42.7% 0.2 304.5)

  10. Step 900

    900

    #552082

    oklch(37.7% 0.156 304.5)

  11. Step 950

    950

    #32154C

    oklch(27.1% 0.098 304.9)

Export this scale for Tailwind in the Tailwind colors tool

#B173F2 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)#488FF60.143
Deuteranopia (no green cones)#5C90EF0.129
Tritanopia (no blue cones)#A68BA80.139
Achromatopsia (no color)#9090900.188

Harmonies

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

Complementary

The opposite hue (180°).

  • #B173F2

    #B173F2

    oklch(67.5% 0.187 304.4)

  • #81A700

    #81A700

    oklch(67.5% 0.168 124.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B173F2

    #B173F2

    oklch(67.5% 0.187 304.4)

  • #788AFF

    #788AFF

    oklch(67.5% 0.173 274.3)

  • #D962C5

    #D962C5

    oklch(67.5% 0.188 334.4)

Open the analogous palette in the generator

Split complementary

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

  • #B173F2

    #B173F2

    oklch(67.5% 0.187 304.4)

  • #B29400

    #B29400

    oklch(67.4% 0.138 94.4)

  • #00B465

    #00B465

    oklch(67.6% 0.169 154.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B173F2

    #B173F2

    oklch(67.5% 0.187 304.4)

  • #D57F00

    #D57F00

    oklch(67.4% 0.152 64.6)

  • #00AE9F

    #00AE9F

    oklch(67.5% 0.119 184.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B173F2

    #B173F2

    oklch(67.5% 0.187 304.4)

  • #F3613F

    #F3613F

    oklch(67.5% 0.187 34.5)

  • #81A700

    #81A700

    oklch(67.5% 0.168 124.3)

  • #00A9C3

    #00A9C3

    oklch(67.6% 0.119 213.8)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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