#B17DE2

Closest named color: Light Purple (#BF77F6). oklch(68.2% 0.152 306.5), rgb(177, 125, 226).

Aa

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

About this color

#B17DE2 is a medium-light, vivid purple. In OKLCH its lightness is 68%, its chroma 0.152 and its hue 307°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Purple (#BF77F6), ΔE 0.041 away. Black text reads best on it, at 6.90:1.

Hue familyPurples
Lightnessmedium-light (68%)
Chromavivid (0.152)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.90:1
White text3.04:1

Values

HEX#B17DE2
RGBrgb(177, 125, 226)
HSLhsl(271, 64%, 69%)
OKLCHoklch(68.2% 0.152 306.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 #B17DE2 3.04:1 AA large text Lc -62.4 Content text, not long reading
Black text on #B17DE2 6.90:1 AA Lc 47.0 Large or bold text, headings
#B17DE2 text on white 3.04:1 AA large text Lc 57.1 Large or bold text, headings
#B17DE2 text on black 6.90:1 AA Lc -44.7 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

    #F7F3FC

    oklch(97% 0.013 306)

  2. Step 100

    100

    #EEE5F9

    oklch(93.5% 0.028 306)

  3. Step 200

    200

    #E2D1F5

    oklch(88.6% 0.052 306.6)

  4. Step 300

    300

    #D0B1F1

    oklch(80.9% 0.094 306.5)

  5. Step 400

    400 (this color)

    #B17DE2

    oklch(68.2% 0.152 306.5)

  6. Step 500

    500

    #A862E4

    oklch(63.2% 0.194 306.5)

  7. Step 600

    600

    #9443D2

    oklch(55.7% 0.212 306.7)

  8. Step 700

    700

    #7E33B6

    oklch(49.1% 0.197 306.6)

  9. Step 800

    800

    #662C93

    oklch(42.7% 0.163 306.5)

  10. Step 900

    900

    #532975

    oklch(37.6% 0.128 306.7)

  11. Step 950

    950

    #311945

    oklch(27% 0.082 306.9)

Export this scale for Tailwind in the Tailwind colors tool

#B17DE2 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)#6492E60.112
Deuteranopia (no green cones)#7194DF0.103
Tritanopia (no blue cones)#AA8EA50.112
Achromatopsia (no color)#9494940.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #B17DE2

    #B17DE2

    oklch(68.2% 0.152 306.5)

  • #80A931

    #80A931

    oklch(68.2% 0.153 126.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B17DE2

    #B17DE2

    oklch(68.2% 0.152 306.5)

  • #818EF5

    #818EF5

    oklch(68.2% 0.152 276.2)

  • #D271BB

    #D271BB

    oklch(68.2% 0.151 336.7)

Open the analogous palette in the generator

Split complementary

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

  • #B17DE2

    #B17DE2

    oklch(68.2% 0.152 306.5)

  • #B29800

    #B29800

    oklch(68.3% 0.141 96.9)

  • #27B471

    #27B471

    oklch(68.2% 0.152 156.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B17DE2

    #B17DE2

    oklch(68.2% 0.152 306.5)

  • #D68300

    #D68300

    oklch(68.2% 0.151 66.6)

  • #00B0A4

    #00B0A4

    oklch(68.1% 0.119 186.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B17DE2

    #B17DE2

    oklch(68.2% 0.152 306.5)

  • #E67251

    #E67251

    oklch(68.1% 0.152 36.8)

  • #80A931

    #80A931

    oklch(68.2% 0.153 126.6)

  • #00ABC9

    #00ABC9

    oklch(68.3% 0.121 216.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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