#B17AFA

Closest named color: Light Urple (#B36FF6). oklch(69% 0.186 301.5), rgb(177, 122, 250).

Aa

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

About this color

#B17AFA is a medium-light, vivid purple. In OKLCH its lightness is 69%, its chroma 0.186 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.03:1.

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

Values

HEX#B17AFA
RGBrgb(177, 122, 250)
HSLhsl(266, 93%, 73%)
OKLCHoklch(69% 0.186 301.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 #B17AFA 2.98:1 Fails Lc -61.5 Content text, not long reading
Black text on #B17AFA 7.03:1 AAA Lc 47.8 Large or bold text, headings
#B17AFA text on white 2.98:1 Fails Lc 56.2 Large or bold text, headings
#B17AFA text on black 7.03:1 AAA Lc -45.6 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

    #F7F3FF

    oklch(97.1% 0.016 301.2)

  2. Step 100

    100

    #EEE5FD

    oklch(93.6% 0.033 302.7)

  3. Step 200

    200

    #E0D0FE

    oklch(88.5% 0.065 301)

  4. Step 300

    300

    #CEAFFF

    oklch(80.9% 0.115 301.7)

  5. Step 400

    400 (this color)

    #B17AFA

    oklch(69% 0.186 301.5)

  6. Step 500

    500

    #A656FE

    oklch(63.1% 0.238 301.7)

  7. Step 600

    600

    #922FED

    oklch(55.6% 0.258 301.6)

  8. Step 700

    700

    #7D1DCF

    oklch(49.2% 0.241 301.6)

  9. Step 800

    800

    #651EA7

    oklch(42.7% 0.199 301.5)

  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

#B17AFA 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)#4E94FE0.133
Deuteranopia (no green cones)#5E95F70.122
Tritanopia (no blue cones)#A392AF0.141
Achromatopsia (no color)#9595950.187

Harmonies

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

Complementary

The opposite hue (180°).

  • #B17AFA

    #B17AFA

    oklch(69% 0.186 301.5)

  • #8CAA00

    #8CAA00

    oklch(69% 0.166 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B17AFA

    #B17AFA

    oklch(69% 0.186 301.5)

  • #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°).

  • #B17AFA

    #B17AFA

    oklch(69% 0.186 301.5)

  • #BB9700

    #BB9700

    oklch(69% 0.141 91.7)

  • #00BA5D

    #00BA5D

    oklch(69.1% 0.184 151.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B17AFA

    #B17AFA

    oklch(69% 0.186 301.5)

  • #E08000

    #E08000

    oklch(69% 0.16 61.4)

  • #00B4A0

    #00B4A0

    oklch(69% 0.124 181.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B17AFA

    #B17AFA

    oklch(69% 0.186 301.5)

  • #F9654D

    #F9654D

    oklch(69% 0.186 31.5)

  • #8CAA00

    #8CAA00

    oklch(69% 0.166 121.4)

  • #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 #B17AFA, closest first.

Similar named colors

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

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