#B4AFF7

Closest named color: Pale Violet (#CEAEFA). oklch(78.4% 0.102 287), rgb(180, 175, 247).

Aa

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

About this color

#B4AFF7 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.102 and its hue 287°. 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.41:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.102)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.41:1
White text2.01:1

Values

HEX#B4AFF7
RGBrgb(180, 175, 247)
HSLhsl(244, 82%, 83%)
OKLCHoklch(78.4% 0.102 287)

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 #B4AFF7 2.01:1 Fails Lc -43.6 Non-text elements, placeholder text
Black text on #B4AFF7 10.41:1 AAA Lc 64.8 Content text, not long reading
#B4AFF7 text on white 2.01:1 Fails Lc 39.1 Non-text elements, placeholder text
#B4AFF7 text on black 10.41:1 AAA Lc -63.3 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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E7FD

    oklch(93.5% 0.03 287.9)

  3. Step 200

    200

    #D6D4FD

    oklch(88.5% 0.056 287.4)

  4. Step 300

    300 (this color)

    #B4AFF7

    oklch(78.4% 0.102 287)

  5. Step 400

    400

    #9B8EFF

    oklch(70.7% 0.161 286.8)

  6. Step 500

    500

    #866CFE

    oklch(63.1% 0.208 287)

  7. Step 600

    600

    #724EED

    oklch(55.6% 0.226 287)

  8. Step 700

    700

    #603DCE

    oklch(49.1% 0.21 287)

  9. Step 800

    800

    #4E34A7

    oklch(42.7% 0.174 286.9)

  10. Step 900

    900

    #402F84

    oklch(37.6% 0.136 287.1)

  11. Step 950

    950

    #251D4D

    oklch(27% 0.085 286.9)

Export this scale for Tailwind in the Tailwind colors tool

#B4AFF7 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)#9CB8FA0.036
Deuteranopia (no green cones)#9AB5F50.036
Tritanopia (no blue cones)#A5BCC90.087
Achromatopsia (no color)#B7B7B70.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4AFF7

    #B4AFF7

    oklch(78.4% 0.102 287)

  • #C0BE6E

    #C0BE6E

    oklch(78.5% 0.102 107.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4AFF7

    #B4AFF7

    oklch(78.4% 0.102 287)

  • #8FBBFA

    #8FBBFA

    oklch(78.5% 0.102 257.3)

  • #D3A5E4

    #D3A5E4

    oklch(78.5% 0.1 316.8)

Open the analogous palette in the generator

Split complementary

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

  • #B4AFF7

    #B4AFF7

    oklch(78.4% 0.102 287)

  • #DEB06B

    #DEB06B

    oklch(78.4% 0.102 76.5)

  • #9AC887

    #9AC887

    oklch(78.4% 0.102 136.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4AFF7

    #B4AFF7

    oklch(78.4% 0.102 287)

  • #EFA580

    #EFA580

    oklch(78.5% 0.101 47.4)

  • #73CEAB

    #73CEAB

    oklch(78.5% 0.102 166.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4AFF7

    #B4AFF7

    oklch(78.4% 0.102 287)

  • #F39EA1

    #F39EA1

    oklch(78.5% 0.102 17.3)

  • #C0BE6E

    #C0BE6E

    oklch(78.5% 0.102 107.3)

  • #5DCDCF

    #5DCDCF

    oklch(78.5% 0.102 196.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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