#B8A2F7

Closest named color: Pastel Purple (#CAA0FF). oklch(76.3% 0.121 295.3), rgb(184, 162, 247).

Aa

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

About this color

#B8A2F7 is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.121 and its hue 295°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pastel Purple (#CAA0FF), ΔE 0.030 away. Black text reads best on it, at 9.54:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.54:1
White text2.19:1

Values

HEX#B8A2F7
RGBrgb(184, 162, 247)
HSLhsl(256, 84%, 80%)
OKLCHoklch(76.3% 0.121 295.3)

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 #B8A2F7 2.19:1 Fails Lc -48.0 Large or bold text, headings
Black text on #B8A2F7 9.54:1 AAA Lc 60.7 Content text, not long reading
#B8A2F7 text on white 2.19:1 Fails Lc 43.2 Non-text elements, placeholder text
#B8A2F7 text on black 9.54:1 AAA Lc -59.0 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 300.

  1. Step 50

    50

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FF

    oklch(93.6% 0.034 294.9)

  3. Step 200

    200

    #DCD2FF

    oklch(88.6% 0.062 295.3)

  4. Step 300

    300 (this color)

    #B8A2F7

    oklch(76.3% 0.121 295.3)

  5. Step 400

    400

    #AA87FF

    oklch(70.7% 0.172 295.1)

  6. Step 500

    500

    #9861FF

    oklch(63.2% 0.224 295.3)

  7. Step 600

    600

    #8730FB

    oklch(55.6% 0.27 295.2)

  8. Step 700

    700

    #731DDB

    oklch(49.1% 0.251 295.2)

  9. Step 800

    800

    #5D1EB1

    oklch(42.7% 0.208 295.1)

  10. Step 900

    900

    #4C238C

    oklch(37.8% 0.162 295.3)

  11. Step 950

    950

    #2C1652

    oklch(27% 0.104 295.4)

Export this scale for Tailwind in the Tailwind colors tool

#B8A2F7 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)#8CAFFA0.063
Deuteranopia (no green cones)#8FAEF50.060
Tritanopia (no blue cones)#ABB0C10.099
Achromatopsia (no color)#AFAFAF0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #B8A2F7

    #B8A2F7

    oklch(76.3% 0.121 295.3)

  • #AFBB5C

    #AFBB5C

    oklch(76.2% 0.121 115.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B8A2F7

    #B8A2F7

    oklch(76.3% 0.121 295.3)

  • #8DB0FF

    #8DB0FF

    oklch(76.3% 0.12 265.4)

  • #D997DC

    #D997DC

    oklch(76.3% 0.12 325.2)

Open the analogous palette in the generator

Split complementary

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

  • #B8A2F7

    #B8A2F7

    oklch(76.3% 0.121 295.3)

  • #D5AC4E

    #D5AC4E

    oklch(76.4% 0.121 85.5)

  • #7EC782

    #7EC782

    oklch(76.4% 0.122 145.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B8A2F7

    #B8A2F7

    oklch(76.3% 0.121 295.3)

  • #ED9D63

    #ED9D63

    oklch(76.4% 0.121 55.7)

  • #48CBAE

    #48CBAE

    oklch(76.3% 0.122 175.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B8A2F7

    #B8A2F7

    oklch(76.3% 0.121 295.3)

  • #F6928A

    #F6928A

    oklch(76.3% 0.122 25.2)

  • #AFBB5C

    #AFBB5C

    oklch(76.2% 0.121 115.3)

  • #2FC8D7

    #2FC8D7

    oklch(76.4% 0.122 205.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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