#AFABEA

Closest named color: Pale Violet (#CEAEFA). oklch(76.7% 0.09 287), rgb(175, 171, 234).

Aa

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

About this color

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

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

Values

HEX#AFABEA
RGBrgb(175, 171, 234)
HSLhsl(244, 60%, 79%)
OKLCHoklch(76.7% 0.09 287)

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 #AFABEA 2.13:1 Fails Lc -46.5 Large or bold text, headings
Black text on #AFABEA 9.83:1 AAA Lc 62.1 Content text, not long reading
#AFABEA text on white 2.13:1 Fails Lc 41.9 Non-text elements, placeholder text
#AFABEA text on black 9.83:1 AAA Lc -60.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

    #F5F4FD

    oklch(97% 0.012 291.3)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D6D5F9

    oklch(88.5% 0.049 286.6)

  4. Step 300

    300 (this color)

    #AFABEA

    oklch(76.7% 0.09 287)

  5. Step 400

    400

    #9B91F5

    oklch(70.7% 0.144 286.7)

  6. Step 500

    500

    #8572F0

    oklch(63.1% 0.182 286.9)

  7. Step 600

    600

    #7156DF

    oklch(55.6% 0.199 287.1)

  8. Step 700

    700

    #5F45C2

    oklch(49.1% 0.186 287)

  9. Step 800

    800

    #4D3A9D

    oklch(42.8% 0.154 286.8)

  10. Step 900

    900

    #40337C

    oklch(37.7% 0.119 287.5)

  11. Step 950

    950

    #251F49

    oklch(27.1% 0.075 286.8)

Export this scale for Tailwind in the Tailwind colors tool

#AFABEA 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)#9AB3ED0.032
Deuteranopia (no green cones)#99B0E80.031
Tritanopia (no blue cones)#A2B6C10.077
Achromatopsia (no color)#B1B1B10.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFABEA

    #AFABEA

    oklch(76.7% 0.09 287)

  • #BAB873

    #BAB873

    oklch(76.8% 0.09 106.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFABEA

    #AFABEA

    oklch(76.7% 0.09 287)

  • #8FB6EC

    #8FB6EC

    oklch(76.8% 0.089 256.6)

  • #CBA2D9

    #CBA2D9

    oklch(76.8% 0.089 317.4)

Open the analogous palette in the generator

Split complementary

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

  • #AFABEA

    #AFABEA

    oklch(76.7% 0.09 287)

  • #D4AC71

    #D4AC71

    oklch(76.7% 0.09 76.5)

  • #99C188

    #99C188

    oklch(76.7% 0.09 136.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFABEA

    #AFABEA

    oklch(76.7% 0.09 287)

  • #E3A282

    #E3A282

    oklch(76.7% 0.089 47.2)

  • #78C6A7

    #78C6A7

    oklch(76.7% 0.09 166.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFABEA

    #AFABEA

    oklch(76.7% 0.09 287)

  • #E79C9F

    #E79C9F

    oklch(76.7% 0.09 16.7)

  • #BAB873

    #BAB873

    oklch(76.8% 0.09 106.9)

  • #67C5C7

    #67C5C7

    oklch(76.7% 0.089 197.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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