#B17BEF

Closest named color: Light Purple (#BF77F6). oklch(68.5% 0.171 303.7), rgb(177, 123, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.171)
Temperaturein between
Nearest nameLight Purple (#BF77F6)
Black text6.94:1
White text3.02:1

Values

HEX#B17BEF
RGBrgb(177, 123, 239)
HSLhsl(268, 78%, 71%)
OKLCHoklch(68.5% 0.171 303.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 #B17BEF 3.02:1 AA large text Lc -62.1 Content text, not long reading
Black text on #B17BEF 6.94:1 AA Lc 47.3 Large or bold text, headings
#B17BEF text on white 3.02:1 AA large text Lc 56.7 Large or bold text, headings
#B17BEF text on black 6.94:1 AA Lc -45.0 Large or bold text, headings

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

    #F7F3FE

    oklch(97% 0.015 302.6)

  2. Step 100

    100

    #EEE5FB

    oklch(93.5% 0.031 304.3)

  3. Step 200

    200

    #E1D0FA

    oklch(88.5% 0.06 303.6)

  4. Step 300

    300

    #CFB0F9

    oklch(81% 0.106 303.6)

  5. Step 400

    400 (this color)

    #B17BEF

    oklch(68.5% 0.171 303.7)

  6. Step 500

    500

    #A75CF2

    oklch(63.1% 0.218 303.8)

  7. Step 600

    600

    #9339E1

    oklch(55.6% 0.238 303.8)

  8. Step 700

    700

    #7D29C3

    oklch(49.1% 0.221 303.7)

  9. Step 800

    800

    #66259E

    oklch(42.7% 0.183 303.8)

  10. Step 900

    900

    #53257E

    oklch(37.7% 0.144 303.9)

  11. Step 950

    950

    #30174A

    oklch(26.9% 0.092 303.3)

Export this scale for Tailwind in the Tailwind colors tool

#B17BEF 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)#5893F30.125
Deuteranopia (no green cones)#6794EC0.114
Tritanopia (no blue cones)#A690AA0.129
Achromatopsia (no color)#9494940.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #B17BEF

    #B17BEF

    oklch(68.5% 0.171 303.7)

  • #85AA00

    #85AA00

    oklch(68.5% 0.17 123.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B17BEF

    #B17BEF

    oklch(68.5% 0.171 303.7)

  • #7B8FFF

    #7B8FFF

    oklch(68.6% 0.165 273.6)

  • #D76CC6

    #D76CC6

    oklch(68.6% 0.172 333.6)

Open the analogous palette in the generator

Split complementary

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

  • #B17BEF

    #B17BEF

    oklch(68.5% 0.171 303.7)

  • #B79700

    #B79700

    oklch(68.6% 0.14 93.7)

  • #0EB766

    #0EB766

    oklch(68.5% 0.171 153.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B17BEF

    #B17BEF

    oklch(68.5% 0.171 303.7)

  • #DB8100

    #DB8100

    oklch(68.5% 0.156 63.6)

  • #00B2A2

    #00B2A2

    oklch(68.6% 0.122 183.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B17BEF

    #B17BEF

    oklch(68.5% 0.171 303.7)

  • #F16B4E

    #F16B4E

    oklch(68.7% 0.172 33.7)

  • #85AA00

    #85AA00

    oklch(68.5% 0.17 123.8)

  • #00ACC7

    #00ACC7

    oklch(68.5% 0.12 214.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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