#B2A8FD

Closest named color: Pastel Purple (#CAA0FF). oklch(77.2% 0.12 288.6), rgb(178, 168, 253).

Aa

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

About this color

#B2A8FD is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.120 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.039 away. Black text reads best on it, at 9.91:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.120)
Temperaturecool
Nearest namePastel Purple (#CAA0FF)
Black text9.91:1
White text2.11:1

Values

HEX#B2A8FD
RGBrgb(178, 168, 253)
HSLhsl(247, 96%, 83%)
OKLCHoklch(77.2% 0.12 288.6)

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 #B2A8FD 2.11:1 Fails Lc -46.1 Large or bold text, headings
Black text on #B2A8FD 9.91:1 AAA Lc 62.5 Content text, not long reading
#B2A8FD text on white 2.11:1 Fails Lc 41.5 Non-text elements, placeholder text
#B2A8FD text on black 9.91:1 AAA Lc -60.8 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

    #F5F4FF

    oklch(97.1% 0.015 290.3)

  2. Step 100

    100

    #E8E7FF

    oklch(93.6% 0.032 287.7)

  3. Step 200

    200

    #D7D3FF

    oklch(88.4% 0.06 289.3)

  4. Step 300

    300 (this color)

    #B2A8FD

    oklch(77.2% 0.12 288.6)

  5. Step 400

    400

    #9E8CFF

    oklch(70.6% 0.164 288.7)

  6. Step 500

    500

    #8A6AFF

    oklch(63.2% 0.212 288.7)

  7. Step 600

    600

    #783CFF

    oklch(55.5% 0.264 288.7)

  8. Step 700

    700

    #6628E0

    oklch(49% 0.248 288.7)

  9. Step 800

    800

    #5326B5

    oklch(42.8% 0.205 288.8)

  10. Step 900

    900

    #43278F

    oklch(37.6% 0.161 288.5)

  11. Step 950

    950

    #271954

    oklch(27.1% 0.102 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#B2A8FD 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)#90B4FF0.050
Deuteranopia (no green cones)#8FB0FB0.048
Tritanopia (no blue cones)#A0B7C70.102
Achromatopsia (no color)#B2B2B20.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A8FD

    #B2A8FD

    oklch(77.2% 0.12 288.6)

  • #BBBB5A

    #BBBB5A

    oklch(77.2% 0.12 108.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A8FD

    #B2A8FD

    oklch(77.2% 0.12 288.6)

  • #87B6FF

    #87B6FF

    oklch(77.2% 0.117 259)

  • #D69CE6

    #D69CE6

    oklch(77.3% 0.12 318.8)

Open the analogous palette in the generator

Split complementary

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

  • #B2A8FD

    #B2A8FD

    oklch(77.2% 0.12 288.6)

  • #DEAB54

    #DEAB54

    oklch(77.1% 0.12 78.7)

  • #8DC77C

    #8DC77C

    oklch(77.1% 0.119 138.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A8FD

    #B2A8FD

    oklch(77.2% 0.12 288.6)

  • #F39D6E

    #F39D6E

    oklch(77.3% 0.12 49)

  • #59CDA7

    #59CDA7

    oklch(77.1% 0.12 168.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A8FD

    #B2A8FD

    oklch(77.2% 0.12 288.6)

  • #F89497

    #F89497

    oklch(77.1% 0.121 18.3)

  • #BBBB5A

    #BBBB5A

    oklch(77.2% 0.12 108.9)

  • #36CCD1

    #36CCD1

    oklch(77.2% 0.12 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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