#B2A7ED

Closest named color: Pale Violet (#CEAEFA). oklch(76.3% 0.1 291), rgb(178, 167, 237).

Aa

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

About this color

#B2A7ED is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.100 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.049 away. Black text reads best on it, at 9.64:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.100)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text9.64:1
White text2.17:1

Values

HEX#B2A7ED
RGBrgb(178, 167, 237)
HSLhsl(249, 66%, 79%)
OKLCHoklch(76.3% 0.1 291)

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 #B2A7ED 2.17:1 Fails Lc -47.5 Large or bold text, headings
Black text on #B2A7ED 9.64:1 AAA Lc 61.2 Content text, not long reading
#B2A7ED text on white 2.17:1 Fails Lc 42.8 Non-text elements, placeholder text
#B2A7ED text on black 9.64:1 AAA Lc -59.4 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FC

    oklch(93.6% 0.028 290.2)

  3. Step 200

    200

    #D9D3FC

    oklch(88.5% 0.056 291.9)

  4. Step 300

    300 (this color)

    #B2A7ED

    oklch(76.3% 0.1 291)

  5. Step 400

    400

    #A28CFB

    oklch(70.7% 0.159 290.9)

  6. Step 500

    500

    #8E6AF8

    oklch(63.1% 0.203 291.1)

  7. Step 600

    600

    #7A4CE7

    oklch(55.6% 0.221 291.1)

  8. Step 700

    700

    #673BC9

    oklch(49% 0.206 291)

  9. Step 800

    800

    #5432A3

    oklch(42.7% 0.171 291.2)

  10. Step 900

    900

    #452E81

    oklch(37.7% 0.133 291.5)

  11. Step 950

    950

    #281C4C

    oklch(27% 0.085 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#B2A7ED 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)#95B1F00.043
Deuteranopia (no green cones)#96AEEB0.040
Tritanopia (no blue cones)#A5B3C00.084
Achromatopsia (no color)#B0B0B00.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A7ED

    #B2A7ED

    oklch(76.3% 0.1 291)

  • #B4B86C

    #B4B86C

    oklch(76.2% 0.099 111.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A7ED

    #B2A7ED

    oklch(76.3% 0.1 291)

  • #8EB3F2

    #8EB3F2

    oklch(76.4% 0.1 260.8)

  • #CF9DD9

    #CF9DD9

    oklch(76.3% 0.1 320.7)

Open the analogous palette in the generator

Split complementary

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

  • #B2A7ED

    #B2A7ED

    oklch(76.3% 0.1 291)

  • #D3AC65

    #D3AC65

    oklch(76.4% 0.1 81.3)

  • #8FC286

    #8FC286

    oklch(76.3% 0.099 140.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A7ED

    #B2A7ED

    oklch(76.3% 0.1 291)

  • #E5A077

    #E5A077

    oklch(76.3% 0.099 51.4)

  • #6AC7AA

    #6AC7AA

    oklch(76.4% 0.099 171.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A7ED

    #B2A7ED

    oklch(76.3% 0.1 291)

  • #EB9897

    #EB9897

    oklch(76.3% 0.1 20.4)

  • #B4B86C

    #B4B86C

    oklch(76.2% 0.099 111.1)

  • #58C5CC

    #58C5CC

    oklch(76.3% 0.1 201)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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