#B7AFE2

Closest named color: Pale Violet (#CEAEFA). oklch(77.8% 0.072 291.8), rgb(183, 175, 226).

Aa

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

About this color

#B7AFE2 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.072 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.050 away. Black text reads best on it, at 10.24:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.072)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.24:1
White text2.05:1

Values

HEX#B7AFE2
RGBrgb(183, 175, 226)
HSLhsl(249, 47%, 79%)
OKLCHoklch(77.8% 0.072 291.8)

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

    #F5F4FC

    oklch(97% 0.011 292)

  2. Step 100

    100

    #EAE8F7

    oklch(93.7% 0.02 292.1)

  3. Step 200

    200

    #D9D5F2

    oklch(88.5% 0.04 291.9)

  4. Step 300

    300 (this color)

    #B7AFE2

    oklch(77.8% 0.072 291.8)

  5. Step 400

    400

    #A293E3

    oklch(70.8% 0.116 291.8)

  6. Step 500

    500

    #8C76DB

    oklch(63.1% 0.148 291.6)

  7. Step 600

    600

    #775CC8

    oklch(55.5% 0.161 291.8)

  8. Step 700

    700

    #654BAD

    oklch(49.1% 0.15 292.2)

  9. Step 800

    800

    #523E8C

    oklch(42.6% 0.124 292.1)

  10. Step 900

    900

    #433670

    oklch(37.7% 0.096 291.4)

  11. Step 950

    950

    #272042

    oklch(27% 0.062 291.2)

Export this scale for Tailwind in the Tailwind colors tool

#B7AFE2 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)#A3B6E40.030
Deuteranopia (no green cones)#A4B4E10.028
Tritanopia (no blue cones)#AEB7C00.062
Achromatopsia (no color)#B5B5B50.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7AFE2

    #B7AFE2

    oklch(77.8% 0.072 291.8)

  • #B8BC86

    #B8BC86

    oklch(77.9% 0.073 111.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7AFE2

    #B7AFE2

    oklch(77.8% 0.072 291.8)

  • #9EB8E6

    #9EB8E6

    oklch(77.9% 0.072 261.7)

  • #CDA8D3

    #CDA8D3

    oklch(77.8% 0.072 321.6)

Open the analogous palette in the generator

Split complementary

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

  • #B7AFE2

    #B7AFE2

    oklch(77.8% 0.072 291.8)

  • #CEB382

    #CEB382

    oklch(77.8% 0.072 82.1)

  • #9DC398

    #9DC398

    oklch(77.8% 0.073 141.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7AFE2

    #B7AFE2

    oklch(77.8% 0.072 291.8)

  • #DDAA8C

    #DDAA8C

    oklch(77.8% 0.073 51.8)

  • #86C6B1

    #86C6B1

    oklch(77.7% 0.072 171.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7AFE2

    #B7AFE2

    oklch(77.8% 0.072 291.8)

  • #E2A5A2

    #E2A5A2

    oklch(77.9% 0.073 22.1)

  • #B8BC86

    #B8BC86

    oklch(77.9% 0.073 111.5)

  • #7DC5CA

    #7DC5CA

    oklch(77.8% 0.072 201.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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