#B7AFF8

Closest named color: Pale Violet (#CEAEFA). oklch(78.7% 0.103 288.8), rgb(183, 175, 248).

Aa

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

About this color

#B7AFF8 is a light, moderately saturated purple. In OKLCH its lightness is 79%, its chroma 0.103 and its hue 289°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.033 away. Black text reads best on it, at 10.50:1.

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.50:1
White text1.99:1

Values

HEX#B7AFF8
RGBrgb(183, 175, 248)
HSLhsl(247, 84%, 83%)
OKLCHoklch(78.7% 0.103 288.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 #B7AFF8 1.99:1 Fails Lc -43.1 Non-text elements, placeholder text
Black text on #B7AFF8 10.50:1 AAA Lc 65.2 Content text, not long reading
#B7AFF8 text on white 1.99:1 Fails Lc 38.7 Non-text elements, placeholder text
#B7AFF8 text on black 10.50:1 AAA Lc -63.7 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E9E7FD

    oklch(93.6% 0.03 290)

  3. Step 200

    200

    #D7D4FD

    oklch(88.5% 0.056 288.5)

  4. Step 300

    300 (this color)

    #B7AFF8

    oklch(78.7% 0.103 288.8)

  5. Step 400

    400

    #9F8CFF

    oklch(70.7% 0.164 289.1)

  6. Step 500

    500

    #8A6AFE

    oklch(63.1% 0.21 288.9)

  7. Step 600

    600

    #764BED

    oklch(55.6% 0.229 288.9)

  8. Step 700

    700

    #643ACE

    oklch(49.1% 0.213 289.1)

  9. Step 800

    800

    #5132A7

    oklch(42.7% 0.176 288.8)

  10. Step 900

    900

    #422E84

    oklch(37.6% 0.137 288.7)

  11. Step 950

    950

    #261C4D

    oklch(26.9% 0.087 288.6)

Export this scale for Tailwind in the Tailwind colors tool

#B7AFF8 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)#9CB9FB0.040
Deuteranopia (no green cones)#9BB6F60.040
Tritanopia (no blue cones)#A8BCC90.089
Achromatopsia (no color)#B7B7B70.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7AFF8

    #B7AFF8

    oklch(78.7% 0.103 288.8)

  • #BFBF6F

    #BFBF6F

    oklch(78.7% 0.103 108.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7AFF8

    #B7AFF8

    oklch(78.7% 0.103 288.8)

  • #91BBFC

    #91BBFC

    oklch(78.7% 0.104 258.9)

  • #D6A5E4

    #D6A5E4

    oklch(78.8% 0.102 318.6)

Open the analogous palette in the generator

Split complementary

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

  • #B7AFF8

    #B7AFF8

    oklch(78.7% 0.103 288.8)

  • #DDB26A

    #DDB26A

    oklch(78.7% 0.103 79.3)

  • #98CA8A

    #98CA8A

    oklch(78.8% 0.103 138.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7AFF8

    #B7AFF8

    oklch(78.7% 0.103 288.8)

  • #F0A67E

    #F0A67E

    oklch(78.8% 0.103 49.1)

  • #71CFAE

    #71CFAE

    oklch(78.7% 0.103 168.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7AFF8

    #B7AFF8

    oklch(78.7% 0.103 288.8)

  • #F59FA0

    #F59FA0

    oklch(78.8% 0.103 18.9)

  • #BFBF6F

    #BFBF6F

    oklch(78.7% 0.103 108.5)

  • #5CCED2

    #5CCED2

    oklch(78.8% 0.103 198.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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