#B17FDA

Closest named color: Wisteria (#A87DC2). oklch(68.1% 0.139 308.4), rgb(177, 127, 218).

Aa

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

About this color

#B17FDA is a medium-light, moderately saturated purple. In OKLCH its lightness is 68%, its chroma 0.139 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Wisteria (#A87DC2), ΔE 0.039 away. Black text reads best on it, at 6.91:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromamoderately saturated (0.139)
Temperaturein between
Nearest nameWisteria (#A87DC2)
Black text6.91:1
White text3.03:1

Values

HEX#B17FDA
RGBrgb(177, 127, 218)
HSLhsl(273, 55%, 68%)
OKLCHoklch(68.1% 0.139 308.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 #B17FDA 3.03:1 AA large text Lc -62.4 Content text, not long reading
Black text on #B17FDA 6.91:1 AA Lc 47.1 Large or bold text, headings
#B17FDA text on white 3.03:1 AA large text Lc 57.0 Large or bold text, headings
#B17FDA text on black 6.91:1 AA Lc -44.8 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

    #F8F3FC

    oklch(97.1% 0.013 310.5)

  2. Step 100

    100

    #EFE6F7

    oklch(93.7% 0.025 309.4)

  3. Step 200

    200

    #E2D1F2

    oklch(88.5% 0.048 308.5)

  4. Step 300

    300

    #D1B2EC

    oklch(81% 0.087 308.8)

  5. Step 400

    400 (this color)

    #B17FDA

    oklch(68.1% 0.139 308.4)

  6. Step 500

    500

    #A865DA

    oklch(63% 0.179 308.6)

  7. Step 600

    600

    #9349C8

    oklch(55.6% 0.194 308.1)

  8. Step 700

    700

    #7E39AD

    oklch(49.2% 0.181 308.5)

  9. Step 800

    800

    #66308C

    oklch(42.7% 0.15 308.3)

  10. Step 900

    900

    #532C70

    oklch(37.7% 0.117 308.3)

  11. Step 950

    950

    #311B41

    oklch(27.1% 0.072 309.1)

Export this scale for Tailwind in the Tailwind colors tool

#B17FDA 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)#6B92DD0.104
Deuteranopia (no green cones)#7795D80.096
Tritanopia (no blue cones)#AC8DA20.101
Achromatopsia (no color)#9494940.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #B17FDA

    #B17FDA

    oklch(68.1% 0.139 308.4)

  • #7FA942

    #7FA942

    oklch(68.2% 0.14 128.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B17FDA

    #B17FDA

    oklch(68.1% 0.139 308.4)

  • #868EED

    #868EED

    oklch(68.1% 0.139 278.4)

  • #CF74B6

    #CF74B6

    oklch(68.1% 0.14 338.2)

Open the analogous palette in the generator

Split complementary

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

  • #B17FDA

    #B17FDA

    oklch(68.1% 0.139 308.4)

  • #AF9908

    #AF9908

    oklch(68.2% 0.14 98.8)

  • #35B277

    #35B277

    oklch(68.1% 0.14 158.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B17FDA

    #B17FDA

    oklch(68.1% 0.139 308.4)

  • #D08620

    #D08620

    oklch(68.1% 0.14 68.3)

  • #00B0A7

    #00B0A7

    oklch(68.2% 0.119 188.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B17FDA

    #B17FDA

    oklch(68.1% 0.139 308.4)

  • #E07755

    #E07755

    oklch(68.1% 0.139 38.6)

  • #7FA942

    #7FA942

    oklch(68.2% 0.14 128.4)

  • #00AACB

    #00AACB

    oklch(68.1% 0.123 218.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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