#B2AFF7

Closest named color: Pale Violet (#CEAEFA). oklch(78.3% 0.102 285.7), rgb(178, 175, 247).

Aa

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

About this color

#B2AFF7 is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.102 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.36:1.

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

Values

HEX#B2AFF7
RGBrgb(178, 175, 247)
HSLhsl(242, 82%, 83%)
OKLCHoklch(78.3% 0.102 285.7)

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 #B2AFF7 2.02:1 Fails Lc -43.8 Non-text elements, placeholder text
Black text on #B2AFF7 10.36:1 AAA Lc 64.6 Content text, not long reading
#B2AFF7 text on white 2.02:1 Fails Lc 39.3 Non-text elements, placeholder text
#B2AFF7 text on black 10.36:1 AAA Lc -63.0 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

    #E7E8FD

    oklch(93.7% 0.028 283.7)

  3. Step 200

    200

    #D5D4FE

    oklch(88.4% 0.058 286.3)

  4. Step 300

    300 (this color)

    #B2AFF7

    oklch(78.3% 0.102 285.7)

  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

    #6F4FEE

    oklch(55.6% 0.226 285.7)

  8. Step 700

    700

    #5E3ECF

    oklch(49.1% 0.21 285.9)

  9. Step 800

    800

    #4C35A7

    oklch(42.7% 0.173 285.7)

  10. Step 900

    900

    #3E3085

    oklch(37.7% 0.136 285.4)

  11. Step 950

    950

    #241D4E

    oklch(27% 0.087 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#B2AFF7 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)#9BB8FA0.035
Deuteranopia (no green cones)#99B4F50.034
Tritanopia (no blue cones)#A2BCC90.088
Achromatopsia (no color)#B6B6B60.102

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2AFF7

    #B2AFF7

    oklch(78.3% 0.102 285.7)

  • #C1BC6D

    #C1BC6D

    oklch(78.2% 0.101 105.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2AFF7

    #B2AFF7

    oklch(78.3% 0.102 285.7)

  • #8DBBF9

    #8DBBF9

    oklch(78.3% 0.102 256.1)

  • #D2A4E5

    #D2A4E5

    oklch(78.3% 0.103 315.9)

Open the analogous palette in the generator

Split complementary

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

  • #B2AFF7

    #B2AFF7

    oklch(78.3% 0.102 285.7)

  • #DEAF6B

    #DEAF6B

    oklch(78.2% 0.102 75.6)

  • #9BC785

    #9BC785

    oklch(78.2% 0.102 135.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2AFF7

    #B2AFF7

    oklch(78.3% 0.102 285.7)

  • #EFA481

    #EFA481

    oklch(78.4% 0.101 45.8)

  • #74CDA9

    #74CDA9

    oklch(78.2% 0.101 165.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2AFF7

    #B2AFF7

    oklch(78.3% 0.102 285.7)

  • #F29DA2

    #F29DA2

    oklch(78.2% 0.102 15.8)

  • #C1BC6D

    #C1BC6D

    oklch(78.2% 0.101 105.3)

  • #5DCDCD

    #5DCDCD

    oklch(78.4% 0.102 195.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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