#AFB2F0

Closest named color: Pastel Blue (#A2BFFE). oklch(78.3% 0.088 282), rgb(175, 178, 240).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.088)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.44:1
White text2.00:1

Values

HEX#AFB2F0
RGBrgb(175, 178, 240)
HSLhsl(237, 68%, 81%)
OKLCHoklch(78.3% 0.088 282)

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 #AFB2F0 2.00:1 Fails Lc -43.4 Non-text elements, placeholder text
Black text on #AFB2F0 10.44:1 AAA Lc 65.0 Content text, not long reading
#AFB2F0 text on white 2.00:1 Fails Lc 39.0 Non-text elements, placeholder text
#AFB2F0 text on black 10.44:1 AAA Lc -63.4 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

    #F4F5FD

    oklch(97.2% 0.011 280.5)

  2. Step 100

    100

    #E7E8FB

    oklch(93.6% 0.026 283.5)

  3. Step 200

    200

    #D3D6F9

    oklch(88.5% 0.048 281.5)

  4. Step 300

    300 (this color)

    #AFB2F0

    oklch(78.3% 0.088 282)

  5. Step 400

    400

    #9394F5

    oklch(70.7% 0.14 281.7)

  6. Step 500

    500

    #7B76F1

    oklch(63.1% 0.179 281.8)

  7. Step 600

    600

    #675BE0

    oklch(55.7% 0.195 282.1)

  8. Step 700

    700

    #5649C3

    oklch(49.1% 0.183 282.1)

  9. Step 800

    800

    #463D9D

    oklch(42.7% 0.15 282.2)

  10. Step 900

    900

    #3A357D

    oklch(37.6% 0.118 282.2)

  11. Step 950

    950

    #222049

    oklch(27% 0.074 282.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFB2F0 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)#A1B9F30.023
Deuteranopia (no green cones)#9EB5EE0.023
Tritanopia (no blue cones)#9FBDC80.077
Achromatopsia (no color)#B7B7B70.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFB2F0

    #AFB2F0

    oklch(78.3% 0.088 282)

  • #C3BB78

    #C3BB78

    oklch(78.3% 0.088 102.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFB2F0

    #AFB2F0

    oklch(78.3% 0.088 282)

  • #8FBDF0

    #8FBDF0

    oklch(78.4% 0.088 251.5)

  • #CCA9E2

    #CCA9E2

    oklch(78.5% 0.088 312.1)

Open the analogous palette in the generator

Split complementary

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

  • #AFB2F0

    #AFB2F0

    oklch(78.3% 0.088 282)

  • #DCB079

    #DCB079

    oklch(78.4% 0.088 72.2)

  • #A4C58A

    #A4C58A

    oklch(78.4% 0.088 131.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFB2F0

    #AFB2F0

    oklch(78.3% 0.088 282)

  • #E9A68C

    #E9A68C

    oklch(78.3% 0.088 42.1)

  • #83CAA7

    #83CAA7

    oklch(78.2% 0.088 162.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFB2F0

    #AFB2F0

    oklch(78.3% 0.088 282)

  • #EBA1A9

    #EBA1A9

    oklch(78.3% 0.089 12.2)

  • #C3BB78

    #C3BB78

    oklch(78.3% 0.088 102.3)

  • #6FCBC7

    #6FCBC7

    oklch(78.4% 0.088 191.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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