#AFAAEC

Closest named color: Pale Violet (#CEAEFA). oklch(76.6% 0.094 287.4), rgb(175, 170, 236).

Aa

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

About this color

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

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

Values

HEX#AFAAEC
RGBrgb(175, 170, 236)
HSLhsl(245, 63%, 80%)
OKLCHoklch(76.6% 0.094 287.4)

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 #AFAAEC 2.14:1 Fails Lc -46.8 Large or bold text, headings
Black text on #AFAAEC 9.78:1 AAA Lc 61.8 Content text, not long reading
#AFAAEC text on white 2.14:1 Fails Lc 42.1 Non-text elements, placeholder text
#AFAAEC text on black 9.78:1 AAA Lc -60.1 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

    #E8E7FC

    oklch(93.5% 0.028 288)

  3. Step 200

    200

    #D6D5FB

    oklch(88.6% 0.052 286.5)

  4. Step 300

    300 (this color)

    #AFAAEC

    oklch(76.6% 0.094 287.4)

  5. Step 400

    400

    #9C90F8

    oklch(70.8% 0.149 287.2)

  6. Step 500

    500

    #8670F5

    oklch(63.2% 0.191 287.2)

  7. Step 600

    600

    #7253E4

    oklch(55.6% 0.209 287.4)

  8. Step 700

    700

    #6042C6

    oklch(49.1% 0.194 287.4)

  9. Step 800

    800

    #4E38A0

    oklch(42.8% 0.16 287.3)

  10. Step 900

    900

    #40327F

    oklch(37.7% 0.125 287.2)

  11. Step 950

    950

    #251E4A

    oklch(27% 0.079 287.2)

Export this scale for Tailwind in the Tailwind colors tool

#AFAAEC 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)#99B3EF0.034
Deuteranopia (no green cones)#98AFEA0.032
Tritanopia (no blue cones)#A1B5C10.080
Achromatopsia (no color)#B1B1B10.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAAEC

    #AFAAEC

    oklch(76.6% 0.094 287.4)

  • #B9B870

    #B9B870

    oklch(76.7% 0.094 107.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAAEC

    #AFAAEC

    oklch(76.6% 0.094 287.4)

  • #8DB5EF

    #8DB5EF

    oklch(76.6% 0.094 257.6)

  • #CCA0DA

    #CCA0DA

    oklch(76.5% 0.094 317.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAAEC

    #AFAAEC

    oklch(76.6% 0.094 287.4)

  • #D4AC6D

    #D4AC6D

    oklch(76.7% 0.093 78)

  • #96C186

    #96C186

    oklch(76.5% 0.094 137.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAAEC

    #AFAAEC

    oklch(76.6% 0.094 287.4)

  • #E5A17F

    #E5A17F

    oklch(76.7% 0.094 47.4)

  • #74C6A7

    #74C6A7

    oklch(76.5% 0.093 167.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAAEC

    #AFAAEC

    oklch(76.6% 0.094 287.4)

  • #E99B9D

    #E99B9D

    oklch(76.7% 0.094 17.8)

  • #B9B870

    #B9B870

    oklch(76.7% 0.094 107.7)

  • #61C6C8

    #61C6C8

    oklch(76.7% 0.094 197.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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