#B4AFEF

Closest named color: Pale Violet (#CEAEFA). oklch(78.1% 0.091 287.7), rgb(180, 175, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.31:1
White text2.03:1

Values

HEX#B4AFEF
RGBrgb(180, 175, 239)
HSLhsl(245, 67%, 81%)
OKLCHoklch(78.1% 0.091 287.7)

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 #B4AFEF 2.03:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #B4AFEF 10.31:1 AAA Lc 64.4 Content text, not long reading
#B4AFEF text on white 2.03:1 Fails Lc 39.6 Non-text elements, placeholder text
#B4AFEF text on black 10.31:1 AAA Lc -62.8 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

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D7D5F9

    oklch(88.6% 0.049 287.9)

  4. Step 300

    300 (this color)

    #B4AFEF

    oklch(78.1% 0.091 287.7)

  5. Step 400

    400

    #9D90F5

    oklch(70.7% 0.145 288)

  6. Step 500

    500

    #8771F1

    oklch(63.2% 0.185 287.8)

  7. Step 600

    600

    #7255E0

    oklch(55.6% 0.202 287.6)

  8. Step 700

    700

    #6044C2

    oklch(49.1% 0.187 287.7)

  9. Step 800

    800

    #4E399D

    oklch(42.7% 0.155 287.6)

  10. Step 900

    900

    #40337D

    oklch(37.8% 0.12 287.2)

  11. Step 950

    950

    #251E49

    oklch(26.9% 0.077 287.5)

Export this scale for Tailwind in the Tailwind colors tool

#B4AFEF 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)#9EB7F20.033
Deuteranopia (no green cones)#9EB4ED0.031
Tritanopia (no blue cones)#A7BAC50.078
Achromatopsia (no color)#B6B6B60.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4AFEF

    #B4AFEF

    oklch(78.1% 0.091 287.7)

  • #BDBC77

    #BDBC77

    oklch(78% 0.09 107.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4AFEF

    #B4AFEF

    oklch(78.1% 0.091 287.7)

  • #93BAF2

    #93BAF2

    oklch(78.1% 0.091 257.4)

  • #D0A6DE

    #D0A6DE

    oklch(78.2% 0.09 317.6)

Open the analogous palette in the generator

Split complementary

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

  • #B4AFEF

    #B4AFEF

    oklch(78.1% 0.091 287.7)

  • #D8B174

    #D8B174

    oklch(78.2% 0.091 78)

  • #9CC68D

    #9CC68D

    oklch(78.2% 0.09 137.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4AFEF

    #B4AFEF

    oklch(78.1% 0.091 287.7)

  • #E8A685

    #E8A685

    oklch(78% 0.091 47.5)

  • #7BCBAC

    #7BCBAC

    oklch(78.2% 0.091 167.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4AFEF

    #B4AFEF

    oklch(78.1% 0.091 287.7)

  • #ECA0A2

    #ECA0A2

    oklch(78.1% 0.091 17.6)

  • #BDBC77

    #BDBC77

    oklch(78% 0.09 107.6)

  • #6ACACC

    #6ACACC

    oklch(78.1% 0.091 197.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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