#B171DF

Closest named color: Light Urple (#B36FF6). oklch(66.1% 0.168 309.4), rgb(177, 113, 223).

Aa

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

About this color

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

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

Values

HEX#B171DF
RGBrgb(177, 113, 223)
HSLhsl(275, 63%, 66%)
OKLCHoklch(66.1% 0.168 309.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 #B171DF 3.33:1 AA large text Lc -65.9 Content text, not long reading
Black text on #B171DF 6.29:1 AA Lc 43.6 Non-text elements, placeholder text
#B171DF text on white 3.33:1 AA large text Lc 60.5 Content text, not long reading
#B171DF text on black 6.29:1 AA Lc -41.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

    #F8F4FB

    oklch(97.2% 0.01 311.2)

  2. Step 100

    100

    #EFE6F6

    oklch(93.7% 0.023 310.7)

  3. Step 200

    200

    #E2D1F1

    oklch(88.4% 0.047 309.2)

  4. Step 300

    300

    #D0B2E9

    oklch(80.8% 0.083 309.3)

  5. Step 400

    400

    #B988DE

    oklch(70.6% 0.132 309.5)

  6. Step 500

    500 (this color)

    #B171DF

    oklch(66.1% 0.168 309.4)

  7. Step 600

    600

    #934CC2

    oklch(55.6% 0.183 309.4)

  8. Step 700

    700

    #7D3CA8

    oklch(49.1% 0.171 309.2)

  9. Step 800

    800

    #663388

    oklch(42.8% 0.141 309.4)

  10. Step 900

    900

    #532D6D

    oklch(37.7% 0.111 309.5)

  11. Step 950

    950

    #301B40

    oklch(26.9% 0.07 308.6)

Export this scale for Tailwind in the Tailwind colors tool

#B171DF 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)#548AE30.135
Deuteranopia (no green cones)#678EDC0.122
Tritanopia (no blue cones)#AB839E0.119
Achromatopsia (no color)#8D8D8D0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #B171DF

    #B171DF

    oklch(66.1% 0.168 309.4)

  • #71A519

    #71A519

    oklch(66.1% 0.168 129.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B171DF

    #B171DF

    oklch(66.1% 0.168 309.4)

  • #7F83F6

    #7F83F6

    oklch(66.1% 0.168 279.2)

  • #D363B3

    #D363B3

    oklch(66% 0.169 339.6)

Open the analogous palette in the generator

Split complementary

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

  • #B171DF

    #B171DF

    oklch(66.1% 0.168 309.4)

  • #A79300

    #A79300

    oklch(66.1% 0.137 99.6)

  • #00AE70

    #00AE70

    oklch(66.2% 0.152 159.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B171DF

    #B171DF

    oklch(66.1% 0.168 309.4)

  • #CA8000

    #CA8000

    oklch(66.2% 0.144 69.6)

  • #00A8A1

    #00A8A1

    oklch(66% 0.114 189.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B171DF

    #B171DF

    oklch(66.1% 0.168 309.4)

  • #E5673A

    #E5673A

    oklch(66.1% 0.168 39.4)

  • #71A519

    #71A519

    oklch(66.1% 0.168 129.2)

  • #00A3C4

    #00A3C4

    oklch(66.1% 0.12 219.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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