#B8A3FB

Closest named color: Pastel Purple (#CAA0FF). oklch(76.7% 0.125 294.2), rgb(184, 163, 251).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.125)
Temperaturein between
Nearest namePastel Purple (#CAA0FF)
Black text9.66:1
White text2.17:1

Values

HEX#B8A3FB
RGBrgb(184, 163, 251)
HSLhsl(254, 92%, 81%)
OKLCHoklch(76.7% 0.125 294.2)

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 #B8A3FB 2.17:1 Fails Lc -47.3 Large or bold text, headings
Black text on #B8A3FB 9.66:1 AAA Lc 61.3 Content text, not long reading
#B8A3FB text on white 2.17:1 Fails Lc 42.6 Non-text elements, placeholder text
#B8A3FB text on black 9.66:1 AAA Lc -59.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 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

    #DBD2FF

    oklch(88.5% 0.062 294.3)

  4. Step 300

    300 (this color)

    #B8A3FB

    oklch(76.7% 0.125 294.2)

  5. Step 400

    400

    #A888FF

    oklch(70.7% 0.17 294)

  6. Step 500

    500

    #9662FF

    oklch(63.1% 0.222 294.4)

  7. Step 600

    600

    #862DFF

    oklch(55.6% 0.275 294.4)

  8. Step 700

    700

    #7216E0

    oklch(49.1% 0.259 294.2)

  9. Step 800

    800

    #5C1BB5

    oklch(42.7% 0.214 294)

  10. Step 900

    900

    #4B218F

    oklch(37.7% 0.167 294.2)

  11. Step 950

    950

    #2B1654

    oklch(27% 0.106 293.6)

Export this scale for Tailwind in the Tailwind colors tool

#B8A3FB 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)#8CB1FE0.064
Deuteranopia (no green cones)#8EAFF90.061
Tritanopia (no blue cones)#AAB2C30.103
Achromatopsia (no color)#B0B0B00.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #B8A3FB

    #B8A3FB

    oklch(76.7% 0.125 294.2)

  • #B2BC58

    #B2BC58

    oklch(76.7% 0.125 114.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B8A3FB

    #B8A3FB

    oklch(76.7% 0.125 294.2)

  • #8DB2FF

    #8DB2FF

    oklch(76.7% 0.118 264.2)

  • #DB97E0

    #DB97E0

    oklch(76.7% 0.125 324.4)

Open the analogous palette in the generator

Split complementary

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

  • #B8A3FB

    #B8A3FB

    oklch(76.7% 0.125 294.2)

  • #D9AC4B

    #D9AC4B

    oklch(76.7% 0.125 83.9)

  • #80C87F

    #80C87F

    oklch(76.7% 0.125 143.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B8A3FB

    #B8A3FB

    oklch(76.7% 0.125 294.2)

  • #F19C62

    #F19C62

    oklch(76.7% 0.126 54)

  • #45CDAD

    #45CDAD

    oklch(76.7% 0.126 173.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B8A3FB

    #B8A3FB

    oklch(76.7% 0.125 294.2)

  • #F9928C

    #F9928C

    oklch(76.7% 0.125 24)

  • #B2BC58

    #B2BC58

    oklch(76.7% 0.125 114.1)

  • #24CAD8

    #24CAD8

    oklch(76.7% 0.125 204.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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