#B2A8EF

Closest named color: Pale Violet (#CEAEFA). oklch(76.6% 0.101 290.3), rgb(178, 168, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text9.74:1
White text2.15:1

Values

HEX#B2A8EF
RGBrgb(178, 168, 239)
HSLhsl(248, 69%, 80%)
OKLCHoklch(76.6% 0.101 290.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 #B2A8EF 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #B2A8EF 9.74:1 AAA Lc 61.6 Content text, not long reading
#B2A8EF text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#B2A8EF text on black 9.74:1 AAA Lc -59.9 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

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D8D4FC

    oklch(88.6% 0.055 289.8)

  4. Step 300

    300 (this color)

    #B2A8EF

    oklch(76.6% 0.101 290.3)

  5. Step 400

    400

    #A18CFD

    oklch(70.7% 0.161 290.2)

  6. Step 500

    500

    #8D6AFB

    oklch(63.2% 0.207 290.3)

  7. Step 600

    600

    #794CEA

    oklch(55.7% 0.224 290.3)

  8. Step 700

    700

    #663BCB

    oklch(49.1% 0.208 290.3)

  9. Step 800

    800

    #5332A4

    oklch(42.7% 0.173 290.4)

  10. Step 900

    900

    #442E82

    oklch(37.7% 0.135 290.5)

  11. Step 950

    950

    #271C4C

    oklch(26.9% 0.085 290)

Export this scale for Tailwind in the Tailwind colors tool

#B2A8EF 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)#96B2F20.042
Deuteranopia (no green cones)#96AFED0.040
Tritanopia (no blue cones)#A5B4C10.086
Achromatopsia (no color)#B1B1B10.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A8EF

    #B2A8EF

    oklch(76.6% 0.101 290.3)

  • #B6B96B

    #B6B96B

    oklch(76.6% 0.101 110.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A8EF

    #B2A8EF

    oklch(76.6% 0.101 290.3)

  • #8EB4F3

    #8EB4F3

    oklch(76.6% 0.1 260.3)

  • #D09EDB

    #D09EDB

    oklch(76.6% 0.101 320.2)

Open the analogous palette in the generator

Split complementary

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

  • #B2A8EF

    #B2A8EF

    oklch(76.6% 0.101 290.3)

  • #D5AC65

    #D5AC65

    oklch(76.6% 0.101 80.1)

  • #90C386

    #90C386

    oklch(76.6% 0.1 140.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A8EF

    #B2A8EF

    oklch(76.6% 0.101 290.3)

  • #E7A078

    #E7A078

    oklch(76.6% 0.101 50.1)

  • #6AC8A9

    #6AC8A9

    oklch(76.6% 0.101 169.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A8EF

    #B2A8EF

    oklch(76.6% 0.101 290.3)

  • #EC9998

    #EC9998

    oklch(76.6% 0.1 20.4)

  • #B6B96B

    #B6B96B

    oklch(76.6% 0.101 110.5)

  • #57C6CC

    #57C6CC

    oklch(76.5% 0.101 200.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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