#B4A7EA

Closest named color: Pale Violet (#CEAEFA). oklch(76.4% 0.096 292.9), rgb(180, 167, 234).

Aa

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

About this color

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

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

Values

HEX#B4A7EA
RGBrgb(180, 167, 234)
HSLhsl(252, 61%, 79%)
OKLCHoklch(76.4% 0.096 292.9)

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

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3FA

    oklch(88.5% 0.054 293.5)

  4. Step 300

    300 (this color)

    #B4A7EA

    oklch(76.4% 0.096 292.9)

  5. Step 400

    400

    #A58CF6

    oklch(70.7% 0.152 292.9)

  6. Step 500

    500

    #916BF3

    oklch(63.2% 0.196 292.8)

  7. Step 600

    600

    #7D4DE1

    oklch(55.5% 0.213 293.1)

  8. Step 700

    700

    #6A3DC4

    oklch(49.2% 0.198 293)

  9. Step 800

    800

    #56349E

    oklch(42.8% 0.163 293)

  10. Step 900

    900

    #462F7E

    oklch(37.7% 0.128 292.6)

  11. Step 950

    950

    #291C4A

    oklch(27% 0.082 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#B4A7EA 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)#97B1ED0.043
Deuteranopia (no green cones)#98AFE80.042
Tritanopia (no blue cones)#A9B2BF0.079
Achromatopsia (no color)#B0B0B00.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4A7EA

    #B4A7EA

    oklch(76.4% 0.096 292.9)

  • #B2B970

    #B2B970

    oklch(76.3% 0.096 113.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4A7EA

    #B4A7EA

    oklch(76.4% 0.096 292.9)

  • #92B2F0

    #92B2F0

    oklch(76.3% 0.096 263.2)

  • #D09ED6

    #D09ED6

    oklch(76.4% 0.096 322.8)

Open the analogous palette in the generator

Split complementary

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

  • #B4A7EA

    #B4A7EA

    oklch(76.4% 0.096 292.9)

  • #D0AD69

    #D0AD69

    oklch(76.4% 0.096 83)

  • #8EC28A

    #8EC28A

    oklch(76.3% 0.096 142.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4A7EA

    #B4A7EA

    oklch(76.4% 0.096 292.9)

  • #E3A178

    #E3A178

    oklch(76.3% 0.096 52.6)

  • #6CC6AC

    #6CC6AC

    oklch(76.3% 0.095 172.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4A7EA

    #B4A7EA

    oklch(76.4% 0.096 292.9)

  • #E99A96

    #E99A96

    oklch(76.4% 0.096 22.7)

  • #B2B970

    #B2B970

    oklch(76.3% 0.096 113.2)

  • #5EC4CD

    #5EC4CD

    oklch(76.3% 0.095 203.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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