#AFAFFD

Closest named color: Pastel Blue (#A2BFFE). oklch(78.3% 0.11 283.6), rgb(175, 175, 253).

Aa

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

About this color

#AFAFFD is a light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.110 and its hue 284°. Its hue sits on the cool side of the wheel. The nearest named color is Pastel Blue (#A2BFFE), ΔE 0.043 away. Black text reads best on it, at 10.37:1.

Hue familyPurples
Lightnesslight (78%)
Chromamoderately saturated (0.110)
Temperaturecool
Nearest namePastel Blue (#A2BFFE)
Black text10.37:1
White text2.02:1

Values

HEX#AFAFFD
RGBrgb(175, 175, 253)
HSLhsl(240, 95%, 84%)
OKLCHoklch(78.3% 0.11 283.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 #AFAFFD 2.02:1 Fails Lc -43.8 Non-text elements, placeholder text
Black text on #AFAFFD 10.37:1 AAA Lc 64.6 Content text, not long reading
#AFAFFD text on white 2.02:1 Fails Lc 39.3 Non-text elements, placeholder text
#AFAFFD text on black 10.37:1 AAA Lc -63.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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E6E8FF

    oklch(93.6% 0.031 281.8)

  3. Step 200

    200

    #D3D5FF

    oklch(88.5% 0.058 283)

  4. Step 300

    300 (this color)

    #AFAFFD

    oklch(78.3% 0.11 283.6)

  5. Step 400

    400

    #9590FF

    oklch(70.6% 0.159 283.6)

  6. Step 500

    500

    #7E6FFF

    oklch(63% 0.206 283.5)

  7. Step 600

    600

    #6B4AFA

    oklch(55.6% 0.246 283.6)

  8. Step 700

    700

    #5A39DA

    oklch(49.1% 0.228 283.5)

  9. Step 800

    800

    #4931B0

    oklch(42.7% 0.189 283.6)

  10. Step 900

    900

    #3C2E8B

    oklch(37.7% 0.147 283.6)

  11. Step 950

    950

    #231C51

    oklch(26.9% 0.093 284.3)

Export this scale for Tailwind in the Tailwind colors tool

#AFAFFD 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)#98B9FF0.036
Deuteranopia (no green cones)#95B4FB0.035
Tritanopia (no blue cones)#9BBDCB0.096
Achromatopsia (no color)#B6B6B60.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFAFFD

    #AFAFFD

    oklch(78.3% 0.11 283.6)

  • #C5BC64

    #C5BC64

    oklch(78.4% 0.111 103.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFAFFD

    #AFAFFD

    oklch(78.3% 0.11 283.6)

  • #85BCFE

    #85BCFE

    oklch(78.3% 0.111 253.6)

  • #D2A3EA

    #D2A3EA

    oklch(78.3% 0.11 313.9)

Open the analogous palette in the generator

Split complementary

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

  • #AFAFFD

    #AFAFFD

    oklch(78.3% 0.11 283.6)

  • #E3AD64

    #E3AD64

    oklch(78.3% 0.111 73.3)

  • #9CC87E

    #9CC87E

    oklch(78.3% 0.11 133.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFAFFD

    #AFAFFD

    oklch(78.3% 0.11 283.6)

  • #F4A17E

    #F4A17E

    oklch(78.3% 0.11 43.6)

  • #6FCFA5

    #6FCFA5

    oklch(78.4% 0.111 163.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFAFFD

    #AFAFFD

    oklch(78.3% 0.11 283.6)

  • #F69AA4

    #F69AA4

    oklch(78.2% 0.111 12.9)

  • #C5BC64

    #C5BC64

    oklch(78.4% 0.111 103.4)

  • #50CFCC

    #50CFCC

    oklch(78.4% 0.111 192.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #AFAFFD.

Similar named colors

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

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