#B171DE

Closest named color: Light Urple (#B36FF6). oklch(66% 0.167 309.7), rgb(177, 113, 222).

Aa

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

About this color

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

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

Values

HEX#B171DE
RGBrgb(177, 113, 222)
HSLhsl(275, 62%, 66%)
OKLCHoklch(66% 0.167 309.7)

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 #B171DE 3.34:1 AA large text Lc -66.0 Content text, not long reading
Black text on #B171DE 6.28:1 AA Lc 43.5 Non-text elements, placeholder text
#B171DE text on white 3.34:1 AA large text Lc 60.6 Content text, not long reading
#B171DE text on black 6.28: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

    #E2D1F0

    oklch(88.4% 0.046 309.9)

  4. Step 300

    300

    #D1B2E9

    oklch(80.9% 0.083 310.1)

  5. Step 400

    400

    #B988DE

    oklch(70.6% 0.132 309.5)

  6. Step 500

    500 (this color)

    #B171DE

    oklch(66% 0.167 309.7)

  7. Step 600

    600

    #934CC1

    oklch(55.5% 0.182 309.7)

  8. Step 700

    700

    #7D3CA7

    oklch(49% 0.17 309.5)

  9. Step 800

    800

    #663387

    oklch(42.7% 0.139 309.7)

  10. Step 900

    900

    #532E6C

    oklch(37.8% 0.108 309.7)

  11. Step 950

    950

    #311B3F

    oklch(27% 0.069 310.8)

Export this scale for Tailwind in the Tailwind colors tool

#B171DE 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)#558AE20.134
Deuteranopia (no green cones)#688EDB0.121
Tritanopia (no blue cones)#AB839D0.119
Achromatopsia (no color)#8D8D8D0.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #B171DE

    #B171DE

    oklch(66% 0.167 309.7)

  • #70A51C

    #70A51C

    oklch(66% 0.167 129.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B171DE

    #B171DE

    oklch(66% 0.167 309.7)

  • #8083F5

    #8083F5

    oklch(66.1% 0.166 279.7)

  • #D264B3

    #D264B3

    oklch(66% 0.167 339.4)

Open the analogous palette in the generator

Split complementary

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

  • #B171DE

    #B171DE

    oklch(66% 0.167 309.7)

  • #A79300

    #A79300

    oklch(66.1% 0.137 99.6)

  • #00AD71

    #00AD71

    oklch(66% 0.15 159.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B171DE

    #B171DE

    oklch(66% 0.167 309.7)

  • #C98000

    #C98000

    oklch(66.1% 0.143 70)

  • #00A8A1

    #00A8A1

    oklch(66% 0.114 189.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B171DE

    #B171DE

    oklch(66% 0.167 309.7)

  • #E4673A

    #E4673A

    oklch(66% 0.167 39.6)

  • #70A51C

    #70A51C

    oklch(66% 0.167 129.6)

  • #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 #B171DE, closest first.

Similar named colors

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

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