#AFAEFB

Closest named color: Pale Violet (#CEAEFA). oklch(78% 0.109 284.2), rgb(175, 174, 251).

Aa

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

About this color

#AFAEFB is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.109 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.044 away. Black text reads best on it, at 10.27:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.109)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.27:1
White text2.04:1

Values

HEX#AFAEFB
RGBrgb(175, 174, 251)
HSLhsl(241, 91%, 83%)
OKLCHoklch(78% 0.109 284.2)

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 #AFAEFB 2.04:1 Fails Lc -44.3 Non-text elements, placeholder text
Black text on #AFAEFB 10.27:1 AAA Lc 64.2 Content text, not long reading
#AFAEFB text on white 2.04:1 Fails Lc 39.8 Non-text elements, placeholder text
#AFAEFB text on black 10.27:1 AAA Lc -62.5 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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E8FF

    oklch(93.7% 0.031 283.8)

  3. Step 200

    200

    #D4D5FF

    oklch(88.6% 0.058 284.1)

  4. Step 300

    300 (this color)

    #AFAEFB

    oklch(78% 0.109 284.2)

  5. Step 400

    400

    #9690FF

    oklch(70.7% 0.159 284)

  6. Step 500

    500

    #806FFF

    oklch(63.2% 0.206 284.2)

  7. Step 600

    600

    #6C4BF8

    oklch(55.6% 0.242 284)

  8. Step 700

    700

    #5B3AD8

    oklch(49.1% 0.225 284)

  9. Step 800

    800

    #4A32AE

    oklch(42.7% 0.186 284.2)

  10. Step 900

    900

    #3D2E8A

    oklch(37.7% 0.146 284.4)

  11. Step 950

    950

    #231C51

    oklch(26.9% 0.093 284.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFAEFB 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)#98B8FE0.036
Deuteranopia (no green cones)#95B3F90.035
Tritanopia (no blue cones)#9CBCCA0.094
Achromatopsia (no color)#B5B5B50.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAEFB

    #AFAEFB

    oklch(78% 0.109 284.2)

  • #C3BB65

    #C3BB65

    oklch(78% 0.109 103.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAEFB

    #AFAEFB

    oklch(78% 0.109 284.2)

  • #86BBFC

    #86BBFC

    oklch(78% 0.109 254)

  • #D1A2E8

    #D1A2E8

    oklch(77.9% 0.109 314.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFAEFB

    #AFAEFB

    oklch(78% 0.109 284.2)

  • #E1AD64

    #E1AD64

    oklch(78% 0.109 74.4)

  • #9AC77F

    #9AC77F

    oklch(78% 0.109 134.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAEFB

    #AFAEFB

    oklch(78% 0.109 284.2)

  • #F2A17D

    #F2A17D

    oklch(78.1% 0.109 44.7)

  • #6ECEA5

    #6ECEA5

    oklch(78.1% 0.11 164.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAEFB

    #AFAEFB

    oklch(78% 0.109 284.2)

  • #F59AA2

    #F59AA2

    oklch(78% 0.109 14.2)

  • #C3BB65

    #C3BB65

    oklch(78% 0.109 103.9)

  • #51CDCC

    #51CDCC

    oklch(78% 0.109 194.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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