#AFAAEB

Closest named color: Pale Violet (#CEAEFA). oklch(76.6% 0.092 287.5), rgb(175, 170, 235).

Aa

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

About this color

#AFAAEB is a medium-light, moderately saturated purple. In OKLCH its lightness is 77%, its chroma 0.092 and its hue 288°. 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.77:1.

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

Values

HEX#AFAAEB
RGBrgb(175, 170, 235)
HSLhsl(245, 62%, 79%)
OKLCHoklch(76.6% 0.092 287.5)

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 #AFAAEB 2.14:1 Fails Lc -46.9 Large or bold text, headings
Black text on #AFAAEB 9.77:1 AAA Lc 61.8 Content text, not long reading
#AFAAEB text on white 2.14:1 Fails Lc 42.2 Non-text elements, placeholder text
#AFAAEB text on black 9.77:1 AAA Lc -60.0 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #E8E8FB

    oklch(93.7% 0.026 285.9)

  3. Step 200

    200

    #D6D5FA

    oklch(88.6% 0.051 286.6)

  4. Step 300

    300 (this color)

    #AFAAEB

    oklch(76.6% 0.092 287.5)

  5. Step 400

    400

    #9C90F7

    oklch(70.7% 0.148 287.3)

  6. Step 500

    500

    #8670F3

    oklch(63% 0.189 287.4)

  7. Step 600

    600

    #7254E2

    oklch(55.6% 0.205 287.5)

  8. Step 700

    700

    #6043C4

    oklch(49.1% 0.191 287.5)

  9. Step 800

    800

    #4E389F

    oklch(42.7% 0.159 287.5)

  10. Step 900

    900

    #40327E

    oklch(37.7% 0.123 287.4)

  11. Step 950

    950

    #251E4A

    oklch(27% 0.079 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAEB 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)#99B2EE0.033
Deuteranopia (no green cones)#98AFE90.032
Tritanopia (no blue cones)#A2B5C10.079
Achromatopsia (no color)#B1B1B10.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAEB

    #AFAAEB

    oklch(76.6% 0.092 287.5)

  • #B9B771

    #B9B771

    oklch(76.5% 0.091 107)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAEB

    #AFAAEB

    oklch(76.6% 0.092 287.5)

  • #8EB5EE

    #8EB5EE

    oklch(76.6% 0.093 257.8)

  • #CBA1DA

    #CBA1DA

    oklch(76.6% 0.092 317)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAEB

    #AFAAEB

    oklch(76.6% 0.092 287.5)

  • #D4AC6E

    #D4AC6E

    oklch(76.7% 0.092 77.7)

  • #97C187

    #97C187

    oklch(76.6% 0.092 137.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAEB

    #AFAAEB

    oklch(76.6% 0.092 287.5)

  • #E4A17F

    #E4A17F

    oklch(76.6% 0.093 47.8)

  • #75C6A7

    #75C6A7

    oklch(76.6% 0.092 167.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAEB

    #AFAAEB

    oklch(76.6% 0.092 287.5)

  • #E89B9D

    #E89B9D

    oklch(76.6% 0.093 17.7)

  • #B9B771

    #B9B771

    oklch(76.5% 0.091 107)

  • #63C5C8

    #63C5C8

    oklch(76.6% 0.092 198.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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