#B7AFEF

Closest named color: Pale Violet (#CEAEFA). oklch(78.3% 0.09 289.9), rgb(183, 175, 239).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.39:1
White text2.02:1

Values

HEX#B7AFEF
RGBrgb(183, 175, 239)
HSLhsl(248, 67%, 81%)
OKLCHoklch(78.3% 0.09 289.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 #B7AFEF 2.02:1 Fails Lc -43.7 Non-text elements, placeholder text
Black text on #B7AFEF 10.39:1 AAA Lc 64.7 Content text, not long reading
#B7AFEF text on white 2.02:1 Fails Lc 39.2 Non-text elements, placeholder text
#B7AFEF text on black 10.39:1 AAA Lc -63.1 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

    #E9E7FB

    oklch(93.5% 0.027 290.5)

  3. Step 200

    200

    #D8D4F9

    oklch(88.5% 0.051 290.3)

  4. Step 300

    300 (this color)

    #B7AFEF

    oklch(78.3% 0.09 289.9)

  5. Step 400

    400

    #A08FF4

    oklch(70.7% 0.145 289.9)

  6. Step 500

    500

    #8B6FF0

    oklch(63.1% 0.186 290)

  7. Step 600

    600

    #7653DE

    oklch(55.5% 0.202 289.8)

  8. Step 700

    700

    #6443C1

    oklch(49.2% 0.187 289.8)

  9. Step 800

    800

    #51389C

    oklch(42.7% 0.155 289.7)

  10. Step 900

    900

    #43327C

    oklch(37.8% 0.12 290)

  11. Step 950

    950

    #271E49

    oklch(27.1% 0.077 289.9)

Export this scale for Tailwind in the Tailwind colors tool

#B7AFEF 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)#9FB8F20.036
Deuteranopia (no green cones)#9FB5ED0.035
Tritanopia (no blue cones)#ABBAC50.078
Achromatopsia (no color)#B6B6B60.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7AFEF

    #B7AFEF

    oklch(78.3% 0.09 289.9)

  • #BCBE79

    #BCBE79

    oklch(78.4% 0.09 109.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7AFEF

    #B7AFEF

    oklch(78.3% 0.09 289.9)

  • #97BAF3

    #97BAF3

    oklch(78.4% 0.09 260)

  • #D3A6DD

    #D3A6DD

    oklch(78.4% 0.091 320.1)

Open the analogous palette in the generator

Split complementary

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

  • #B7AFEF

    #B7AFEF

    oklch(78.3% 0.09 289.9)

  • #D7B274

    #D7B274

    oklch(78.3% 0.091 79.7)

  • #9AC790

    #9AC790

    oklch(78.3% 0.09 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7AFEF

    #B7AFEF

    oklch(78.3% 0.09 289.9)

  • #E8A884

    #E8A884

    oklch(78.4% 0.09 50.3)

  • #7ACCAF

    #7ACCAF

    oklch(78.4% 0.091 169.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7AFEF

    #B7AFEF

    oklch(78.3% 0.09 289.9)

  • #EDA1A1

    #EDA1A1

    oklch(78.3% 0.091 19.3)

  • #BCBE79

    #BCBE79

    oklch(78.4% 0.09 109.7)

  • #6BCACF

    #6BCACF

    oklch(78.3% 0.09 200)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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