#B17BF2

Closest named color: Light Purple (#BF77F6). oklch(68.7% 0.175 303), rgb(177, 123, 242).

Aa

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

About this color

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

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

Values

HEX#B17BF2
RGBrgb(177, 123, 242)
HSLhsl(267, 82%, 72%)
OKLCHoklch(68.7% 0.175 303)

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 #B17BF2 3.00:1 AA large text Lc -61.9 Content text, not long reading
Black text on #B17BF2 6.98:1 AA Lc 47.5 Large or bold text, headings
#B17BF2 text on white 3.00:1 AA large text Lc 56.5 Large or bold text, headings
#B17BF2 text on black 6.98:1 AA Lc -45.3 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

    #EEE5FC

    oklch(93.6% 0.032 303.5)

  3. Step 200

    200

    #E1D0FB

    oklch(88.5% 0.061 303.1)

  4. Step 300

    300

    #CFAFFB

    oklch(80.9% 0.11 303.3)

  5. Step 400

    400 (this color)

    #B17BF2

    oklch(68.7% 0.175 303)

  6. Step 500

    500

    #A65AF6

    oklch(63% 0.225 302.8)

  7. Step 600

    600

    #9237E4

    oklch(55.5% 0.243 302.9)

  8. Step 700

    700

    #7D26C6

    oklch(49% 0.226 303.2)

  9. Step 800

    800

    #6523A0

    oklch(42.6% 0.187 303)

  10. Step 900

    900

    #52257F

    oklch(37.7% 0.145 302.9)

  11. Step 950

    950

    #30174B

    oklch(27% 0.093 302.7)

Export this scale for Tailwind in the Tailwind colors tool

#B17BF2 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)#5694F60.127
Deuteranopia (no green cones)#6595EF0.116
Tritanopia (no blue cones)#A590AB0.132
Achromatopsia (no color)#9595950.176

Harmonies

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

Complementary

The opposite hue (180°).

  • #B17BF2

    #B17BF2

    oklch(68.7% 0.175 303)

  • #87AA00

    #87AA00

    oklch(68.7% 0.169 123.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B17BF2

    #B17BF2

    oklch(68.7% 0.175 303)

  • #7A90FF

    #7A90FF

    oklch(68.7% 0.164 272.9)

  • #D86CC8

    #D86CC8

    oklch(68.8% 0.174 333.2)

Open the analogous palette in the generator

Split complementary

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

  • #B17BF2

    #B17BF2

    oklch(68.7% 0.175 303)

  • #B89700

    #B89700

    oklch(68.7% 0.141 93.2)

  • #0AB863

    #0AB863

    oklch(68.7% 0.175 153)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B17BF2

    #B17BF2

    oklch(68.7% 0.175 303)

  • #DC8100

    #DC8100

    oklch(68.7% 0.156 63.3)

  • #00B3A2

    #00B3A2

    oklch(68.8% 0.123 183)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B17BF2

    #B17BF2

    oklch(68.7% 0.175 303)

  • #F3694E

    #F3694E

    oklch(68.7% 0.176 32.8)

  • #87AA00

    #87AA00

    oklch(68.7% 0.169 123.1)

  • #00ADC7

    #00ADC7

    oklch(68.7% 0.12 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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