#B7AFEE

Closest named color: Pale Violet (#CEAEFA). oklch(78.3% 0.089 290), rgb(183, 175, 238).

Aa

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

About this color

#B7AFEE is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.089 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.38:1.

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

Values

HEX#B7AFEE
RGBrgb(183, 175, 238)
HSLhsl(248, 65%, 81%)
OKLCHoklch(78.3% 0.089 290)

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 #B7AFEE 2.02:1 Fails Lc -43.8 Non-text elements, placeholder text
Black text on #B7AFEE 10.38:1 AAA Lc 64.6 Content text, not long reading
#B7AFEE text on white 2.02:1 Fails Lc 39.3 Non-text elements, placeholder text
#B7AFEE text on black 10.38: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

    #E9E7FA

    oklch(93.5% 0.026 290.7)

  3. Step 200

    200

    #D8D4F8

    oklch(88.4% 0.049 290.4)

  4. Step 300

    300 (this color)

    #B7AFEE

    oklch(78.3% 0.089 290)

  5. Step 400

    400

    #A08FF3

    oklch(70.6% 0.144 290)

  6. Step 500

    500

    #8B70EE

    oklch(63.1% 0.182 290)

  7. Step 600

    600

    #7654DC

    oklch(55.5% 0.198 289.9)

  8. Step 700

    700

    #6443BF

    oklch(49% 0.184 290.2)

  9. Step 800

    800

    #51389B

    oklch(42.6% 0.154 289.9)

  10. Step 900

    900

    #43327B

    oklch(37.7% 0.119 290.2)

  11. Step 950

    950

    #271E48

    oklch(27% 0.075 290.3)

Export this scale for Tailwind in the Tailwind colors tool

#B7AFEE 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)#9FB7F10.035
Deuteranopia (no green cones)#9FB5EC0.035
Tritanopia (no blue cones)#ABBAC50.077
Achromatopsia (no color)#B6B6B60.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7AFEE

    #B7AFEE

    oklch(78.3% 0.089 290)

  • #BBBE7A

    #BBBE7A

    oklch(78.3% 0.089 110.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7AFEE

    #B7AFEE

    oklch(78.3% 0.089 290)

  • #97BAF2

    #97BAF2

    oklch(78.4% 0.089 259.6)

  • #D2A6DC

    #D2A6DC

    oklch(78.3% 0.089 320)

Open the analogous palette in the generator

Split complementary

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

  • #B7AFEE

    #B7AFEE

    oklch(78.3% 0.089 290)

  • #D6B275

    #D6B275

    oklch(78.2% 0.089 80.1)

  • #9AC790

    #9AC790

    oklch(78.3% 0.09 140)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7AFEE

    #B7AFEE

    oklch(78.3% 0.089 290)

  • #E7A885

    #E7A885

    oklch(78.3% 0.089 50.1)

  • #7BCBB0

    #7BCBB0

    oklch(78.3% 0.089 170.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7AFEE

    #B7AFEE

    oklch(78.3% 0.089 290)

  • #ECA2A1

    #ECA2A1

    oklch(78.4% 0.088 20.1)

  • #BBBE7A

    #BBBE7A

    oklch(78.3% 0.089 110.4)

  • #6CCACF

    #6CCACF

    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 #B7AFEE, closest first.

Similar named colors

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

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