#B7AFE4

Closest named color: Pale Violet (#CEAEFA). oklch(77.9% 0.075 291.5), rgb(183, 175, 228).

Aa

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

About this color

#B7AFE4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.075 and its hue 291°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.048 away. Black text reads best on it, at 10.26:1.

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

Values

HEX#B7AFE4
RGBrgb(183, 175, 228)
HSLhsl(249, 50%, 79%)
OKLCHoklch(77.9% 0.075 291.5)

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 #B7AFE4 2.04:1 Fails Lc -44.4 Non-text elements, placeholder text
Black text on #B7AFE4 10.26:1 AAA Lc 64.1 Content text, not long reading
#B7AFE4 text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#B7AFE4 text on black 10.26:1 AAA Lc -62.5 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

    #EAE8F8

    oklch(93.7% 0.022 291.7)

  3. Step 200

    200

    #D9D5F3

    oklch(88.5% 0.041 291.7)

  4. Step 300

    300 (this color)

    #B7AFE4

    oklch(77.9% 0.075 291.5)

  5. Step 400

    400

    #A292E5

    oklch(70.7% 0.12 291.9)

  6. Step 500

    500

    #8C75DE

    oklch(63.1% 0.154 291.4)

  7. Step 600

    600

    #775BCB

    oklch(55.5% 0.167 291.5)

  8. Step 700

    700

    #644AB0

    oklch(49% 0.156 291.3)

  9. Step 800

    800

    #523E8F

    oklch(42.8% 0.129 291.4)

  10. Step 900

    900

    #433572

    oklch(37.6% 0.101 291.3)

  11. Step 950

    950

    #272043

    oklch(27.1% 0.064 290.7)

Export this scale for Tailwind in the Tailwind colors tool

#B7AFE4 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)#A3B6E60.030
Deuteranopia (no green cones)#A3B4E30.029
Tritanopia (no blue cones)#AEB7C10.063
Achromatopsia (no color)#B5B5B50.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7AFE4

    #B7AFE4

    oklch(77.9% 0.075 291.5)

  • #B8BC84

    #B8BC84

    oklch(77.8% 0.075 111.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7AFE4

    #B7AFE4

    oklch(77.9% 0.075 291.5)

  • #9DB8E8

    #9DB8E8

    oklch(77.9% 0.075 261.8)

  • #CEA8D4

    #CEA8D4

    oklch(78% 0.074 321.7)

Open the analogous palette in the generator

Split complementary

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

  • #B7AFE4

    #B7AFE4

    oklch(77.9% 0.075 291.5)

  • #D0B380

    #D0B380

    oklch(78% 0.075 81.3)

  • #9DC497

    #9DC497

    oklch(78% 0.075 141.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7AFE4

    #B7AFE4

    oklch(77.9% 0.075 291.5)

  • #DFAA8B

    #DFAA8B

    oklch(77.9% 0.076 51.6)

  • #84C7B1

    #84C7B1

    oklch(77.8% 0.075 171.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7AFE4

    #B7AFE4

    oklch(77.9% 0.075 291.5)

  • #E3A4A2

    #E3A4A2

    oklch(77.8% 0.075 21)

  • #B8BC84

    #B8BC84

    oklch(77.8% 0.075 111.4)

  • #7AC6CB

    #7AC6CB

    oklch(77.9% 0.076 201.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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