#ABAFFF

Closest named color: Pastel Blue (#A2BFFE). oklch(78.1% 0.114 281.2), rgb(171, 175, 255).

Aa

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

About this color

#ABAFFF is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.114 and its hue 281°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.042 away. Black text reads best on it, at 10.30:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.30:1
White text2.03:1

Values

HEX#ABAFFF
RGBrgb(171, 175, 255)
HSLhsl(237, 100%, 84%)
OKLCHoklch(78.1% 0.114 281.2)

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 #ABAFFF 2.03:1 Fails Lc -44.1 Non-text elements, placeholder text
Black text on #ABAFFF 10.30:1 AAA Lc 64.3 Content text, not long reading
#ABAFFF text on white 2.03:1 Fails Lc 39.6 Non-text elements, placeholder text
#ABAFFF text on black 10.30:1 AAA Lc -62.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

    #F3F5FF

    oklch(97.2% 0.013 277.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D2D5FF

    oklch(88.4% 0.058 281.9)

  4. Step 300

    300 (this color)

    #ABAFFF

    oklch(78.1% 0.114 281.2)

  5. Step 400

    400

    #9192FF

    oklch(70.7% 0.157 281.2)

  6. Step 500

    500

    #7972FF

    oklch(63.2% 0.203 281.1)

  7. Step 600

    600

    #654AFF

    oklch(55.6% 0.252 281.1)

  8. Step 700

    700

    #5539DF

    oklch(49.2% 0.235 281.1)

  9. Step 800

    800

    #4531B4

    oklch(42.7% 0.195 281.2)

  10. Step 900

    900

    #392E8E

    oklch(37.7% 0.152 281.5)

  11. Step 950

    950

    #211C53

    oklch(26.9% 0.096 281.9)

Export this scale for Tailwind in the Tailwind colors tool

#ABAFFF 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)#97B9FF0.034
Deuteranopia (no green cones)#93B3FD0.032
Tritanopia (no blue cones)#95BECC0.099
Achromatopsia (no color)#B6B6B60.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #ABAFFF

    #ABAFFF

    oklch(78.1% 0.114 281.2)

  • #C7BA5F

    #C7BA5F

    oklch(78.1% 0.114 101.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ABAFFF

    #ABAFFF

    oklch(78.1% 0.114 281.2)

  • #80BDFE

    #80BDFE

    oklch(78.2% 0.113 250.9)

  • #CFA3ED

    #CFA3ED

    oklch(78.1% 0.113 311)

Open the analogous palette in the generator

Split complementary

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

  • #ABAFFF

    #ABAFFF

    oklch(78.1% 0.114 281.2)

  • #E5AB62

    #E5AB62

    oklch(78.1% 0.113 71.2)

  • #9EC779

    #9EC779

    oklch(78.1% 0.113 131.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ABAFFF

    #ABAFFF

    oklch(78.1% 0.114 281.2)

  • #F69F7E

    #F69F7E

    oklch(78.2% 0.114 41.5)

  • #6FCEA0

    #6FCEA0

    oklch(78% 0.113 161.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ABAFFF

    #ABAFFF

    oklch(78.1% 0.114 281.2)

  • #F799A5

    #F799A5

    oklch(78.2% 0.113 11.7)

  • #C7BA5F

    #C7BA5F

    oklch(78.1% 0.114 101.3)

  • #4BCFC9

    #4BCFC9

    oklch(78.2% 0.114 190.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #ABAFFF.

Similar named colors

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

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