#B17AF9

Closest named color: Light Urple (#B36FF6). oklch(68.9% 0.185 301.7), rgb(177, 122, 249).

Aa

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

About this color

#B17AF9 is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.185 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Urple (#B36FF6), ΔE 0.024 away. Black text reads best on it, at 7.02:1.

Hue familyPurples
Lightnessmedium-light (69%)
Chromavivid (0.185)
Temperaturein between
Nearest nameLight Urple (#B36FF6)
Black text7.02:1
White text2.99:1

Values

HEX#B17AF9
RGBrgb(177, 122, 249)
HSLhsl(266, 91%, 73%)
OKLCHoklch(68.9% 0.185 301.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 #B17AF9 2.99:1 Fails Lc -61.6 Content text, not long reading
Black text on #B17AF9 7.02:1 AAA Lc 47.8 Large or bold text, headings
#B17AF9 text on white 2.99:1 Fails Lc 56.3 Large or bold text, headings
#B17AF9 text on black 7.02:1 AAA Lc -45.5 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

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E0D0FD

    oklch(88.5% 0.063 301.3)

  4. Step 300

    300

    #CEAFFF

    oklch(80.9% 0.115 301.7)

  5. Step 400

    400 (this color)

    #B17AF9

    oklch(68.9% 0.185 301.7)

  6. Step 500

    500

    #A657FD

    oklch(63.1% 0.236 301.8)

  7. Step 600

    600

    #9230EC

    oklch(55.6% 0.257 301.8)

  8. Step 700

    700

    #7D1ECE

    oklch(49.2% 0.239 301.8)

  9. Step 800

    800

    #651EA6

    oklch(42.6% 0.198 301.7)

  10. Step 900

    900

    #522284

    oklch(37.7% 0.155 301.6)

  11. Step 950

    950

    #30164D

    oklch(27% 0.097 302)

Export this scale for Tailwind in the Tailwind colors tool

#B17AF9 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)#4F94FD0.132
Deuteranopia (no green cones)#5E95F60.122
Tritanopia (no blue cones)#A392AE0.141
Achromatopsia (no color)#9595950.186

Harmonies

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

Complementary

The opposite hue (180°).

  • #B17AF9

    #B17AF9

    oklch(68.9% 0.185 301.7)

  • #8BAA00

    #8BAA00

    oklch(69% 0.167 121.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B17AF9

    #B17AF9

    oklch(68.9% 0.185 301.7)

  • #7892FF

    #7892FF

    oklch(69% 0.163 271.5)

  • #DA69CE

    #DA69CE

    oklch(68.9% 0.186 331.5)

Open the analogous palette in the generator

Split complementary

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

  • #B17AF9

    #B17AF9

    oklch(68.9% 0.185 301.7)

  • #BB9700

    #BB9700

    oklch(69% 0.141 91.7)

  • #00BA5E

    #00BA5E

    oklch(69.1% 0.183 151.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B17AF9

    #B17AF9

    oklch(68.9% 0.185 301.7)

  • #DF8000

    #DF8000

    oklch(68.9% 0.159 61.7)

  • #00B4A1

    #00B4A1

    oklch(69.1% 0.124 181.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B17AF9

    #B17AF9

    oklch(68.9% 0.185 301.7)

  • #F8654D

    #F8654D

    oklch(68.9% 0.185 31.5)

  • #8BAA00

    #8BAA00

    oklch(69% 0.167 121.8)

  • #00AEC6

    #00AEC6

    oklch(68.9% 0.12 211.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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