#BFA7F6

Closest named color: Lilac (#CEA2FD). oklch(77.8% 0.113 297.7), rgb(191, 167, 246).

Aa

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

About this color

#BFA7F6 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.113 and its hue 298°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Lilac (#CEA2FD), ΔE 0.028 away. Black text reads best on it, at 10.07:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.113)
Temperaturein between
Nearest nameLilac (#CEA2FD)
Black text10.07:1
White text2.08:1

Values

HEX#BFA7F6
RGBrgb(191, 167, 246)
HSLhsl(258, 81%, 81%)
OKLCHoklch(77.8% 0.113 297.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 #BFA7F6 2.08:1 Fails Lc -45.3 Large or bold text, headings
Black text on #BFA7F6 10.07:1 AAA Lc 63.2 Content text, not long reading
#BFA7F6 text on white 2.08:1 Fails Lc 40.7 Non-text elements, placeholder text
#BFA7F6 text on black 10.07:1 AAA Lc -61.6 Content text, not long reading

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 300.

  1. Step 50

    50

    #F6F3FF

    oklch(97% 0.016 297.5)

  2. Step 100

    100

    #ECE6FE

    oklch(93.7% 0.033 297.2)

  3. Step 200

    200

    #DDD1FE

    oklch(88.5% 0.063 297.3)

  4. Step 300

    300 (this color)

    #BFA7F6

    oklch(77.8% 0.113 297.7)

  5. Step 400

    400

    #AF84FF

    oklch(70.7% 0.177 297.9)

  6. Step 500

    500

    #9D5DFF

    oklch(63.1% 0.229 297.6)

  7. Step 600

    600

    #8A38EF

    oklch(55.6% 0.251 297.8)

  8. Step 700

    700

    #7527D0

    oklch(49% 0.234 297.6)

  9. Step 800

    800

    #5F24A8

    oklch(42.6% 0.194 297.7)

  10. Step 900

    900

    #4D2685

    oklch(37.7% 0.15 297.5)

  11. Step 950

    950

    #2D184E

    oklch(27.1% 0.095 297.6)

Export this scale for Tailwind in the Tailwind colors tool

#BFA7F6 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)#94B4F90.062
Deuteranopia (no green cones)#98B3F40.059
Tritanopia (no blue cones)#B5B4C40.091
Achromatopsia (no color)#B4B4B40.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #BFA7F6

    #BFA7F6

    oklch(77.8% 0.113 297.7)

  • #B1C16A

    #B1C16A

    oklch(77.9% 0.114 117.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BFA7F6

    #BFA7F6

    oklch(77.8% 0.113 297.7)

  • #97B4FF

    #97B4FF

    oklch(77.7% 0.112 267.6)

  • #DE9DDC

    #DE9DDC

    oklch(77.9% 0.113 327.6)

Open the analogous palette in the generator

Split complementary

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

  • #BFA7F6

    #BFA7F6

    oklch(77.8% 0.113 297.7)

  • #D5B25C

    #D5B25C

    oklch(77.7% 0.113 87.5)

  • #83CB8D

    #83CB8D

    oklch(77.8% 0.114 147.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BFA7F6

    #BFA7F6

    oklch(77.8% 0.113 297.7)

  • #EDA46C

    #EDA46C

    oklch(77.8% 0.113 57.6)

  • #57CEB6

    #57CEB6

    oklch(77.7% 0.113 177.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BFA7F6

    #BFA7F6

    oklch(77.8% 0.113 297.7)

  • #F79A8E

    #F79A8E

    oklch(77.8% 0.114 27.9)

  • #B1C16A

    #B1C16A

    oklch(77.9% 0.114 117.7)

  • #4ACBDC

    #4ACBDC

    oklch(77.9% 0.113 207.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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