#AFABEF

Closest named color: Pale Violet (#CEAEFA). oklch(76.9% 0.097 286.6), rgb(175, 171, 239).

Aa

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

About this color

#AFABEF is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.097 and its hue 287°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.049 away. Black text reads best on it, at 9.89:1.

Hue familyPurples
Lightnessmedium-light (77%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text9.89:1
White text2.12:1

Values

HEX#AFABEF
RGBrgb(175, 171, 239)
HSLhsl(244, 68%, 80%)
OKLCHoklch(76.9% 0.097 286.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 #AFABEF 2.12:1 Fails Lc -46.2 Large or bold text, headings
Black text on #AFABEF 9.89:1 AAA Lc 62.4 Content text, not long reading
#AFABEF text on white 2.12:1 Fails Lc 41.6 Non-text elements, placeholder text
#AFABEF text on black 9.89:1 AAA Lc -60.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

    #F4F4FE

    oklch(97% 0.013 286.1)

  2. Step 100

    100

    #E8E8FC

    oklch(93.7% 0.027 285.9)

  3. Step 200

    200

    #D6D5FC

    oklch(88.6% 0.053 286.4)

  4. Step 300

    300 (this color)

    #AFABEF

    oklch(76.9% 0.097 286.6)

  5. Step 400

    400

    #9B8FFB

    oklch(70.7% 0.155 286.8)

  6. Step 500

    500

    #856FF8

    oklch(63.1% 0.197 286.7)

  7. Step 600

    600

    #7152E7

    oklch(55.6% 0.214 286.8)

  8. Step 700

    700

    #5F41C9

    oklch(49.1% 0.199 286.7)

  9. Step 800

    800

    #4D37A3

    oklch(42.8% 0.165 286.5)

  10. Step 900

    900

    #3F3181

    oklch(37.6% 0.129 286.5)

  11. Step 950

    950

    #251E4C

    oklch(27.1% 0.082 286.6)

Export this scale for Tailwind in the Tailwind colors tool

#AFABEF 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)#99B4F20.034
Deuteranopia (no green cones)#97B0ED0.033
Tritanopia (no blue cones)#A0B7C30.084
Achromatopsia (no color)#B2B2B20.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFABEF

    #AFABEF

    oklch(76.9% 0.097 286.6)

  • #BBB86E

    #BBB86E

    oklch(76.8% 0.096 106.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFABEF

    #AFABEF

    oklch(76.9% 0.097 286.6)

  • #8CB6F1

    #8CB6F1

    oklch(76.8% 0.097 256.9)

  • #CDA1DD

    #CDA1DD

    oklch(76.9% 0.096 316.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFABEF

    #AFABEF

    oklch(76.9% 0.097 286.6)

  • #D7AC6B

    #D7AC6B

    oklch(76.9% 0.097 76.8)

  • #97C385

    #97C385

    oklch(77% 0.097 136.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFABEF

    #AFABEF

    oklch(76.9% 0.097 286.6)

  • #E8A17F

    #E8A17F

    oklch(77% 0.097 46.4)

  • #73C8A7

    #73C8A7

    oklch(77% 0.096 166.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFABEF

    #AFABEF

    oklch(76.9% 0.097 286.6)

  • #EB9B9E

    #EB9B9E

    oklch(77% 0.096 17.1)

  • #BBB86E

    #BBB86E

    oklch(76.8% 0.096 106.4)

  • #5FC7C9

    #5FC7C9

    oklch(76.9% 0.096 197)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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