#B4A8EC

Closest named color: Pale Violet (#CEAEFA). oklch(76.6% 0.097 292), rgb(180, 168, 236).

Aa

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

About this color

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

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

Values

HEX#B4A8EC
RGBrgb(180, 168, 236)
HSLhsl(251, 64%, 79%)
OKLCHoklch(76.6% 0.097 292)

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 #B4A8EC 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #B4A8EC 9.75:1 AAA Lc 61.7 Content text, not long reading
#B4A8EC text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#B4A8EC text on black 9.75: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

    #EAE7FC

    oklch(93.7% 0.028 292.4)

  3. Step 200

    200

    #D9D3FB

    oklch(88.4% 0.055 292.1)

  4. Step 300

    300 (this color)

    #B4A8EC

    oklch(76.6% 0.097 292)

  5. Step 400

    400

    #A48CF8

    oklch(70.7% 0.155 292.2)

  6. Step 500

    500

    #8F6BF5

    oklch(63.1% 0.198 291.7)

  7. Step 600

    600

    #7B4DE3

    oklch(55.5% 0.215 292)

  8. Step 700

    700

    #683DC6

    oklch(49.2% 0.2 291.7)

  9. Step 800

    800

    #5533A0

    oklch(42.7% 0.167 292.2)

  10. Step 900

    900

    #452F7F

    oklch(37.7% 0.129 291.7)

  11. Step 950

    950

    #281C4A

    oklch(26.9% 0.082 292)

Export this scale for Tailwind in the Tailwind colors tool

#B4A8EC 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)#97B2EF0.043
Deuteranopia (no green cones)#98AFEA0.041
Tritanopia (no blue cones)#A8B3C00.081
Achromatopsia (no color)#B1B1B10.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4A8EC

    #B4A8EC

    oklch(76.6% 0.097 292)

  • #B4BA70

    #B4BA70

    oklch(76.7% 0.097 112.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4A8EC

    #B4A8EC

    oklch(76.6% 0.097 292)

  • #91B3F1

    #91B3F1

    oklch(76.5% 0.097 262.1)

  • #D09FD8

    #D09FD8

    oklch(76.7% 0.096 321.7)

Open the analogous palette in the generator

Split complementary

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

  • #B4A8EC

    #B4A8EC

    oklch(76.6% 0.097 292)

  • #D2AD69

    #D2AD69

    oklch(76.6% 0.097 81.7)

  • #90C38A

    #90C38A

    oklch(76.7% 0.096 142)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4A8EC

    #B4A8EC

    oklch(76.6% 0.097 292)

  • #E5A279

    #E5A279

    oklch(76.7% 0.097 52.2)

  • #6CC7AC

    #6CC7AC

    oklch(76.5% 0.097 172.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4A8EC

    #B4A8EC

    oklch(76.6% 0.097 292)

  • #EA9A97

    #EA9A97

    oklch(76.5% 0.097 21.9)

  • #B4BA70

    #B4BA70

    oklch(76.7% 0.097 112.5)

  • #5DC5CD

    #5DC5CD

    oklch(76.5% 0.097 202.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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