#F0AFFD

Closest named color: Light Violet (#D6B4FC). oklch(84% 0.126 320.7), rgb(240, 175, 253).

Aa

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

About this color

#F0AFFD is a light, moderately saturated purple. In OKLCH its lightness is 84%, its chroma 0.126 and its hue 321°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.040 away. Black text reads best on it, at 12.25:1.

Hue familyPurples
Lightnesslight (84%)
Chromamoderately saturated (0.126)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.25:1
White text1.71:1

Values

HEX#F0AFFD
RGBrgb(240, 175, 253)
HSLhsl(290, 95%, 84%)
OKLCHoklch(84% 0.126 320.7)

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 #F0AFFD 1.71:1 Fails Lc -34.5 Non-text elements, placeholder text
Black text on #F0AFFD 12.25:1 AAA Lc 73.1 Content text, not long reading
#F0AFFD text on white 1.71:1 Fails Lc 30.7 Non-text elements, placeholder text
#F0AFFD text on black 12.25:1 AAA Lc -72.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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E2F9

    oklch(93.5% 0.037 320.3)

  3. Step 200

    200

    #EFCBF6

    oklch(88.6% 0.07 320.8)

  4. Step 300

    300 (this color)

    #F0AFFD

    oklch(84% 0.126 320.7)

  5. Step 400

    400

    #D76EEC

    oklch(70.6% 0.203 320.7)

  6. Step 500

    500

    #CA3AE5

    oklch(63% 0.257 320.7)

  7. Step 600

    600

    #B300CE

    oklch(55.6% 0.266 320.9)

  8. Step 700

    700

    #9700AF

    oklch(49.1% 0.235 320.6)

  9. Step 800

    800

    #7D0090

    oklch(42.7% 0.204 321)

  10. Step 900

    900

    #660D76

    oklch(37.6% 0.168 320.6)

  11. Step 950

    950

    #3C0D45

    oklch(27% 0.106 320.7)

Export this scale for Tailwind in the Tailwind colors tool

#F0AFFD 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)#A6C1FF0.108
Deuteranopia (no green cones)#B6C8FA0.099
Tritanopia (no blue cones)#F2B7CB0.080
Achromatopsia (no color)#C6C6C60.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0AFFD

    #F0AFFD

    oklch(84% 0.126 320.7)

  • #9CDF90

    #9CDF90

    oklch(83.9% 0.127 140.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0AFFD

    #F0AFFD

    oklch(84% 0.126 320.7)

  • #CAC1FF

    #CAC1FF

    oklch(83.9% 0.086 291.1)

  • #FFAFD3

    #FFAFD3

    oklch(84.1% 0.103 351)

Open the analogous palette in the generator

Split complementary

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

  • #F0AFFD

    #F0AFFD

    oklch(84% 0.126 320.7)

  • #CED26C

    #CED26C

    oklch(83.9% 0.126 110.8)

  • #66E5BF

    #66E5BF

    oklch(84% 0.126 170.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0AFFD

    #F0AFFD

    oklch(84% 0.126 320.7)

  • #F5C163

    #F5C163

    oklch(83.9% 0.126 80.4)

  • #48E3EC

    #48E3EC

    oklch(84% 0.126 200.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0AFFD

    #F0AFFD

    oklch(84% 0.126 320.7)

  • #FFB890

    #FFB890

    oklch(84% 0.098 50.4)

  • #9CDF90

    #9CDF90

    oklch(83.9% 0.127 140.7)

  • #84D7FF

    #84D7FF

    oklch(84.1% 0.098 230.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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