#B2AFF8

Closest named color: Pale Violet (#CEAEFA). oklch(78.3% 0.103 285.6), rgb(178, 175, 248).

Aa

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

About this color

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

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

Values

HEX#B2AFF8
RGBrgb(178, 175, 248)
HSLhsl(242, 84%, 83%)
OKLCHoklch(78.3% 0.103 285.6)

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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E7FE

    oklch(93.5% 0.031 285.8)

  3. Step 200

    200

    #D5D4FE

    oklch(88.4% 0.058 286.3)

  4. Step 300

    300 (this color)

    #B2AFF8

    oklch(78.3% 0.103 285.6)

  5. Step 400

    400

    #998FFF

    oklch(70.7% 0.16 285.6)

  6. Step 500

    500

    #836DFF

    oklch(63.1% 0.208 285.7)

  7. Step 600

    600

    #6F4EF0

    oklch(55.6% 0.229 285.6)

  8. Step 700

    700

    #5E3DD1

    oklch(49.2% 0.213 285.7)

  9. Step 800

    800

    #4C34A9

    oklch(42.7% 0.177 285.6)

  10. Step 900

    900

    #3E3086

    oklch(37.8% 0.138 285.2)

  11. Step 950

    950

    #241D4E

    oklch(27% 0.087 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#B2AFF8 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)#9BB8FB0.035
Deuteranopia (no green cones)#99B4F60.034
Tritanopia (no blue cones)#A1BCC90.089
Achromatopsia (no color)#B6B6B60.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2AFF8

    #B2AFF8

    oklch(78.3% 0.103 285.6)

  • #C1BD6C

    #C1BD6C

    oklch(78.4% 0.103 106.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2AFF8

    #B2AFF8

    oklch(78.3% 0.103 285.6)

  • #8CBBFA

    #8CBBFA

    oklch(78.3% 0.104 255.9)

  • #D2A4E6

    #D2A4E6

    oklch(78.3% 0.104 315.4)

Open the analogous palette in the generator

Split complementary

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

  • #B2AFF8

    #B2AFF8

    oklch(78.3% 0.103 285.6)

  • #DFAF6A

    #DFAF6A

    oklch(78.3% 0.103 75.3)

  • #9BC885

    #9BC885

    oklch(78.4% 0.103 135.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2AFF8

    #B2AFF8

    oklch(78.3% 0.103 285.6)

  • #F0A380

    #F0A380

    oklch(78.3% 0.104 45.2)

  • #73CEA9

    #73CEA9

    oklch(78.4% 0.103 165.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2AFF8

    #B2AFF8

    oklch(78.3% 0.103 285.6)

  • #F39DA2

    #F39DA2

    oklch(78.3% 0.103 15.9)

  • #C1BD6C

    #C1BD6C

    oklch(78.4% 0.103 106.1)

  • #5BCDCE

    #5BCDCE

    oklch(78.4% 0.103 196)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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