#B4AFE8

Closest named color: Pale Violet (#CEAEFA). oklch(77.8% 0.081 288.4), rgb(180, 175, 232).

Aa

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

About this color

#B4AFE8 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.081 and its hue 288°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.047 away. Black text reads best on it, at 10.23:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.23:1
White text2.05:1

Values

HEX#B4AFE8
RGBrgb(180, 175, 232)
HSLhsl(245, 55%, 80%)
OKLCHoklch(77.8% 0.081 288.4)

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 #B4AFE8 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #B4AFE8 10.23:1 AAA Lc 64.0 Content text, not long reading
#B4AFE8 text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#B4AFE8 text on black 10.23:1 AAA Lc -62.4 Content text, not long reading

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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E9E8F9

    oklch(93.7% 0.023 288.7)

  3. Step 200

    200

    #D7D5F6

    oklch(88.5% 0.045 288.2)

  4. Step 300

    300 (this color)

    #B4AFE8

    oklch(77.8% 0.081 288.4)

  5. Step 400

    400

    #9E92EC

    oklch(70.7% 0.13 288.7)

  6. Step 500

    500

    #8775E6

    oklch(63.2% 0.165 288.1)

  7. Step 600

    600

    #735AD4

    oklch(55.6% 0.18 288.6)

  8. Step 700

    700

    #6049B8

    oklch(49.1% 0.168 288.2)

  9. Step 800

    800

    #4E3D95

    oklch(42.7% 0.138 288)

  10. Step 900

    900

    #413576

    oklch(37.7% 0.107 288.7)

  11. Step 950

    950

    #262045

    oklch(27.1% 0.067 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#B4AFE8 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)#A1B6EA0.029
Deuteranopia (no green cones)#A0B4E60.029
Tritanopia (no blue cones)#A9B9C30.070
Achromatopsia (no color)#B5B5B50.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4AFE8

    #B4AFE8

    oklch(77.8% 0.081 288.4)

  • #BBBB7E

    #BBBB7E

    oklch(77.8% 0.081 108.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4AFE8

    #B4AFE8

    oklch(77.8% 0.081 288.4)

  • #97B9EB

    #97B9EB

    oklch(77.9% 0.081 257.9)

  • #CDA7D8

    #CDA7D8

    oklch(77.8% 0.08 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #B4AFE8

    #B4AFE8

    oklch(77.8% 0.081 288.4)

  • #D3B17B

    #D3B17B

    oklch(77.8% 0.081 78.7)

  • #9DC492

    #9DC492

    oklch(77.9% 0.081 138.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4AFE8

    #B4AFE8

    oklch(77.8% 0.081 288.4)

  • #E2A88A

    #E2A88A

    oklch(77.9% 0.08 48.5)

  • #82C8AD

    #82C8AD

    oklch(77.9% 0.081 168)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4AFE8

    #B4AFE8

    oklch(77.8% 0.081 288.4)

  • #E6A2A3

    #E6A2A3

    oklch(77.8% 0.081 18.1)

  • #BBBB7E

    #BBBB7E

    oklch(77.8% 0.081 108.1)

  • #74C7CA

    #74C7CA

    oklch(77.8% 0.081 198.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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