#B1AFFE

Closest named color: Pale Violet (#CEAEFA). oklch(78.5% 0.112 284.7), rgb(177, 175, 254).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (79%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.43:1
White text2.01:1

Values

HEX#B1AFFE
RGBrgb(177, 175, 254)
HSLhsl(242, 98%, 84%)
OKLCHoklch(78.5% 0.112 284.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 #B1AFFE 2.01:1 Fails Lc -43.5 Non-text elements, placeholder text
Black text on #B1AFFE 10.43:1 AAA Lc 64.9 Content text, not long reading
#B1AFFE text on white 2.01:1 Fails Lc 39.0 Non-text elements, placeholder text
#B1AFFE text on black 10.43: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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E7FF

    oklch(93.5% 0.032 285.8)

  3. Step 200

    200

    #D4D5FF

    oklch(88.6% 0.058 284.1)

  4. Step 300

    300 (this color)

    #B1AFFE

    oklch(78.5% 0.112 284.7)

  5. Step 400

    400

    #9790FF

    oklch(70.8% 0.159 284.4)

  6. Step 500

    500

    #816EFF

    oklch(63.1% 0.207 284.7)

  7. Step 600

    600

    #6E48FA

    oklch(55.6% 0.247 284.8)

  8. Step 700

    700

    #5D37DA

    oklch(49.1% 0.23 284.8)

  9. Step 800

    800

    #4B30B0

    oklch(42.7% 0.19 284.7)

  10. Step 900

    900

    #3D2D8B

    oklch(37.6% 0.148 284.5)

  11. Step 950

    950

    #231C52

    oklch(27% 0.095 284)

Export this scale for Tailwind in the Tailwind colors tool

#B1AFFE 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)#98B9FF0.038
Deuteranopia (no green cones)#96B4FC0.036
Tritanopia (no blue cones)#9EBDCB0.097
Achromatopsia (no color)#B7B7B70.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #B1AFFE

    #B1AFFE

    oklch(78.5% 0.112 284.7)

  • #C4BD64

    #C4BD64

    oklch(78.5% 0.112 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B1AFFE

    #B1AFFE

    oklch(78.5% 0.112 284.7)

  • #87BCFF

    #87BCFF

    oklch(78.4% 0.111 254.7)

  • #D4A3EB

    #D4A3EB

    oklch(78.5% 0.113 314.7)

Open the analogous palette in the generator

Split complementary

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

  • #B1AFFE

    #B1AFFE

    oklch(78.5% 0.112 284.7)

  • #E3AE63

    #E3AE63

    oklch(78.4% 0.112 74.5)

  • #9AC97F

    #9AC97F

    oklch(78.5% 0.112 134.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B1AFFE

    #B1AFFE

    oklch(78.5% 0.112 284.7)

  • #F5A27D

    #F5A27D

    oklch(78.6% 0.111 44.7)

  • #6DD0A7

    #6DD0A7

    oklch(78.6% 0.112 164.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B1AFFE

    #B1AFFE

    oklch(78.5% 0.112 284.7)

  • #F89BA2

    #F89BA2

    oklch(78.6% 0.112 15.1)

  • #C4BD64

    #C4BD64

    oklch(78.5% 0.112 104.7)

  • #4ECFCF

    #4ECFCF

    oklch(78.5% 0.112 195.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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