#B4AFE7

Closest named color: Pastel Blue (#A2BFFE). oklch(77.8% 0.079 288.5), rgb(180, 175, 231).

Aa

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

About this color

#B4AFE7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.079 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.048 away. Black text reads best on it, at 10.22:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.22:1
White text2.05:1

Values

HEX#B4AFE7
RGBrgb(180, 175, 231)
HSLhsl(245, 54%, 80%)
OKLCHoklch(77.8% 0.079 288.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 #B4AFE7 2.05:1 Fails Lc -44.6 Non-text elements, placeholder text
Black text on #B4AFE7 10.22:1 AAA Lc 63.9 Content text, not long reading
#B4AFE7 text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#B4AFE7 text on black 10.22:1 AAA Lc -62.3 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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F5

    oklch(88.5% 0.044 288.3)

  4. Step 300

    300 (this color)

    #B4AFE7

    oklch(77.8% 0.079 288.5)

  5. Step 400

    400

    #9E93EB

    oklch(70.8% 0.127 288.5)

  6. Step 500

    500

    #8875E4

    oklch(63.1% 0.162 288.8)

  7. Step 600

    600

    #735BD2

    oklch(55.7% 0.176 288.6)

  8. Step 700

    700

    #604AB6

    oklch(49.1% 0.164 288.2)

  9. Step 800

    800

    #4E3D93

    oklch(42.6% 0.136 288.3)

  10. Step 900

    900

    #413575

    oklch(37.6% 0.106 288.9)

  11. Step 950

    950

    #262045

    oklch(27.1% 0.067 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#B4AFE7 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)#A1B6E90.029
Deuteranopia (no green cones)#A1B4E50.028
Tritanopia (no blue cones)#A9B8C20.068
Achromatopsia (no color)#B5B5B50.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4AFE7

    #B4AFE7

    oklch(77.8% 0.079 288.5)

  • #BBBB7F

    #BBBB7F

    oklch(77.8% 0.08 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4AFE7

    #B4AFE7

    oklch(77.8% 0.079 288.5)

  • #98B8EA

    #98B8EA

    oklch(77.7% 0.08 259.2)

  • #CDA7D8

    #CDA7D8

    oklch(77.8% 0.08 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #B4AFE7

    #B4AFE7

    oklch(77.8% 0.079 288.5)

  • #D3B17C

    #D3B17C

    oklch(77.8% 0.08 78.3)

  • #9EC392

    #9EC392

    oklch(77.7% 0.079 138.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4AFE7

    #B4AFE7

    oklch(77.8% 0.079 288.5)

  • #E1A88A

    #E1A88A

    oklch(77.8% 0.079 48.9)

  • #83C7AD

    #83C7AD

    oklch(77.7% 0.079 168.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4AFE7

    #B4AFE7

    oklch(77.8% 0.079 288.5)

  • #E5A3A3

    #E5A3A3

    oklch(77.8% 0.079 19)

  • #BBBB7F

    #BBBB7F

    oklch(77.8% 0.08 108.1)

  • #76C7C9

    #76C7C9

    oklch(77.9% 0.08 197.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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